Click to See Complete Forum and Search --> : problems with adding php to apache on Win NT


vishal shelke
12-16-2004, 03:16 AM
hello
i have installed apache 2.0.52 for windows, PHP 4.3.9 for windows
on my NT box.

i have also edited the httpd.conf file and added these followin three lines
# For PHP 4 do something like this:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php"



still my phpinfo.php file is not parsed bt apache server

the thing is tht
the apache monitor is showing the php module installed

plz help
i have a project lined up.

tsinka
12-17-2004, 03:13 AM
Hi,

check the apache error_log for any errors.
If you used notepad to create the script then check if e.g. the file has been saved as filename.php.txt. How does the script look like ?

Besides that, have a look at xampp (http://www.xampp.org/en).

That package comes with almost everything you might need and it takes just some minutes to install a working WAMP(S) environment. The package comes with both PHP4 and PHP5 and you can switch between the two with just one click.

Thomas