Results 1 to 10 of 10
May 2, 2002, 12:35 #1
- Join Date
- Apr 2002
- 0 Post(s)
- 0 Thread(s)
php4 apache2 on w2k - please help
I'm new here. I have php4 & mysql running fine on IIS on my local machine but wanted to try my scripts against Apache.
When I saw that Apache2 was out I grabbed both the small CGI only windows zip and the full (aprox. 5 meg) windows with php & mysql zip from Zend.
No luck getting Apache to run with PHP as a loadable module. So I reinstalled PHP and chose Apache as the server. Install tells me thats not written yet and have to do it manually. OK, so then I get the missing php4apache.dll message. The huge file had the php4apache.dll needed, so I put that in place.
Kevin's book only shows 3 lines being needed in apache's hpptp.conf:
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
LoadModule php4_module C:/php/php4apache.dll
If I put the last line in hpptp.conf, Apache will not start either as a service or manually and doesn't put an error in error.log.
If I comment that out, Apache is happy and I can see index.html as http://localhost but of course not use php. Both php4apache.dll and php4ts.dll are in c:\winnt and c:\php.
Anybody know what I'm missing here? Thanks!