I have successfuly installed Apache 2.0.52 on my Windows XP system. I have also tried to install PHP 5.0.3. I have placed the Php.ini file in C:/windows and the php5ts.dll file to C:/windows/system32. I have also added these lines to the httpd.conf file
LoadModule php5_module c:/php5/php5apache2.dll
AddType application/x-httpd-php .php .phtml .html

When I start apache service monitor, I get a green light and a message in the bottom says Apache/2.0.52(Win32) PHP/5.0.3. Does this mean that Apache is seeing PHP?
If I type in http://local host I get the Apache front page, but if I type http://localhost/phpinfo.php I get Error 404 Page cannot be found. I have placed a file phpinfo.php into the c:/program files/Apache group/apache2/htdocs cosisting of
<?php phpinfo();?>

There is also a line in the httpd.conf file which reads DocumentRoot "C:/ProgramFiles/Apache Group/Apache2/htdocs"

However if I place a file x.html into the htdocs file and type http:/localhost/x.html into the browser, this page is displayed.
I am very pezzled by all this and any help would be very welcome

Hi,

http://www.phpdeveloper.org/news/5552
or go directly to http://deepakssn.blogspot.com/2006/06/configuring-apache-php-mysql-on.html and follow the steps mentioned.

.:: HiFake ::.

I have successfuly installed Apache 2.0.52 on my Windows XP system. I have also tried to install PHP 5.0.3. I have placed the Php.ini file in C:/windows and the php5ts.dll file to C:/windows/system32. I have also added these lines to the httpd.conf file
LoadModule php5_module c:/php5/php5apache2.dll
AddType application/x-httpd-php .php .phtml .html

When I start apache service monitor, I get a green light and a message in the bottom says Apache/2.0.52(Win32) PHP/5.0.3. Does this mean that Apache is seeing PHP?
If I type in http://local host I get the Apache front page, but if I type http://localhost/phpinfo.php I get Error 404 Page cannot be found. I have placed a file phpinfo.php into the c:/program files/Apache group/apache2/htdocs cosisting of
<?php phpinfo();?>

There is also a line in the httpd.conf file which reads DocumentRoot "C:/ProgramFiles/Apache Group/Apache2/htdocs"

However if I place a file x.html into the htdocs file and type http:/localhost/x.html into the browser, this page is displayed.
I am very pezzled by all this and any help would be very welcome

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.