I am new to PHP. Have followed directions to install on WinXP by using instructions in the "PHP and MySQL Web Development" book by Luke Welling and Laura Thomson. I have tried with utmost care at different times. Th only strange thing is that I have an external HD named G: where MySQL and Apache reside. I have installed PHP in both the C: and G: drives without any success. Can anybody help?
Thanks
I am new to PHP - not been able to get it to work in WinXP
Moderator: General Moderators
- Templeton Peck
- Forum Commoner
- Posts: 45
- Joined: Sun May 11, 2003 7:51 pm
Install Apache first
Install PHP(I used the zip version) extract to a directory like c:\php
rename the php-recommened.ini(can't remeber the exact name) to php.ini and copy to your windows directory.
add these lines to your apache httpd.conf file at the top:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
Install PHP(I used the zip version) extract to a directory like c:\php
rename the php-recommened.ini(can't remeber the exact name) to php.ini and copy to your windows directory.
add these lines to your apache httpd.conf file at the top:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
I am new to PHP - not been able to get it to work in WinXP
Thanks. I did all of that,in the order you mentioned. Then to test, after starting Apache I submit a hello.php script to the browser and it does not work. However, the Apache server is working.
This may be a stupid question, but one does nedd to "start" PHP in any way?
Thanks
This may be a stupid question, but one does nedd to "start" PHP in any way?
Thanks
- Templeton Peck
- Forum Commoner
- Posts: 45
- Joined: Sun May 11, 2003 7:51 pm
- Templeton Peck
- Forum Commoner
- Posts: 45
- Joined: Sun May 11, 2003 7:51 pm
- Templeton Peck
- Forum Commoner
- Posts: 45
- Joined: Sun May 11, 2003 7:51 pm