logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Apache/PHP problem
Author
mejnoona



Joined: 11 Feb 2008
Posts: 2
Location: Boston

PostPosted: Mon 11 Feb '08 2:27    Post subject: Apache/PHP problem Reply with quote

I have installed the Apache 2.2.8 msi file as well as the PHP 5.2.5 msi file.
I am running Apache locally as it is for testing purposes before a live site is uploaded to an actual server. My server/domain are localhost. I am on Windows XP Pro.
Apache loads fine in the background meaning I get no errors and httpd.exe is in task manager. However, I cannot load http://localhost or http://127.0.0.1 as it says cannot find server.
Also when I try to run a simple test script of phpinfo.php, it gives me a blank white page.
Thanks
Back to top
mejnoona



Joined: 11 Feb 2008
Posts: 2
Location: Boston

PostPosted: Mon 11 Feb '08 2:33    Post subject: Reply with quote

fixed the apache problem! I need to put http://localhost:8080

Still no luck on php though:(
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 11 Feb '08 10:19    Post subject: Reply with quote

Change the

Listen 8080

to

Listen 80

than you can use http://localhost Wink

How did you set up PHP? in Your httpd.conf?
Sure that:
- You use the right file extension? (by default Winows hides known extension)
So the file name may be test.php.txt

- Did you enable short_open_tag = On
Back to top


Reply to topic   Topic: Apache/PHP problem View previous topic :: View next topic
Post new topic   Forum Index -> Other Software