Trying to configure PHP and Apache
Posted: Wed Jan 19, 2005 12:06 pm
Hello As a PHP newbie I'm having problems getting PHP to link with Apache web server - using Apache 2 PHP version 4.3.3 and Windows XP
I've installed Apache ok - I can display the welcome page ok with http://localhost/
When I type in http://localhost/phpinfo.php to display opening PHP I get
Error 404 page cannot be found.
I have added a phpinfo.php file to the Apache Web Server in my
C:\Program Files\Apache Group\Apache2\htdocs folder
I have added to the httpd conf file the following
#LoadModule php4_module c:/php/php4apache2.dll
and
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
I would appreciate any help - thank you
I've installed Apache ok - I can display the welcome page ok with http://localhost/
When I type in http://localhost/phpinfo.php to display opening PHP I get
Error 404 page cannot be found.
I have added a phpinfo.php file to the Apache Web Server in my
C:\Program Files\Apache Group\Apache2\htdocs folder
I have added to the httpd conf file the following
#LoadModule php4_module c:/php/php4apache2.dll
and
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
I would appreciate any help - thank you