Can't Install PHP in Windows XP
Posted: Mon Sep 28, 2009 3:23 pm
Hi,
I haven't used PHP in a while and the last time I did it was running on Solaris servers that someone else had set up. This time I am trying to install PHP, Apache, and MySQL on my Laptop running Windows XP SP2.
I used the following tutorial: http://www.sebastiansulinski.co.uk/tuto ... windows_xp.
The tutorial suggests installing Apache, then PHP, then MySQL....It advises you on how to configure each conf file etc as you proceed. I kept my directpry names etc the same to avoid confusion.
I got Apache installed and tested by typing http://localhost:8080 which returned the Apache success page.
I then ran through the PHP install where I set the environment variables and when I typed php -v into command line it showed PHP was installed OK.
Next step was to configure Apache to run PHP as a module....This is where I am struggling.
I have edited the httpd.conf file as suggested but afterwards I test the configuration by typing http://localhost/phpinfo.php into the browser. It should return the PHP info expected but instead I get an error in Firefox saying "Problem Loading Page, Unable to Connect".
I have scanned google many times and am starting to get very confused and annoyed. I am new to this forum so not sure what information you guys need from me in order for you to be able to help so if I have missed anything please let me know.
Any help would be very much appreciated guys as I am absolutely exhausted.
Thanks again.
John.
I haven't used PHP in a while and the last time I did it was running on Solaris servers that someone else had set up. This time I am trying to install PHP, Apache, and MySQL on my Laptop running Windows XP SP2.
I used the following tutorial: http://www.sebastiansulinski.co.uk/tuto ... windows_xp.
The tutorial suggests installing Apache, then PHP, then MySQL....It advises you on how to configure each conf file etc as you proceed. I kept my directpry names etc the same to avoid confusion.
I got Apache installed and tested by typing http://localhost:8080 which returned the Apache success page.
I then ran through the PHP install where I set the environment variables and when I typed php -v into command line it showed PHP was installed OK.
Next step was to configure Apache to run PHP as a module....This is where I am struggling.
I have edited the httpd.conf file as suggested but afterwards I test the configuration by typing http://localhost/phpinfo.php into the browser. It should return the PHP info expected but instead I get an error in Firefox saying "Problem Loading Page, Unable to Connect".
I have scanned google many times and am starting to get very confused and annoyed. I am new to this forum so not sure what information you guys need from me in order for you to be able to help so if I have missed anything please let me know.
Any help would be very much appreciated guys as I am absolutely exhausted.
Thanks again.
John.