RE: PHP4 + Apache2 = wtf?
| From: | Mark Galbreath | Date: | Thu, 12 Jan 2006 20:35:03 +0000 |
| Subject: | RE: PHP4 + Apache2 = wtf? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16927@lists.php.net to get a copy of this message | ||
WOOHOO!
I'll be damned! I don't know what fixed it, but following your suggestions=
, it is working now....THANKS, ALLEN!!
Mark
>>> "Allen A. Deittrick" <allen@theeicnetwork.com> 12-Jan-06 02:55
>>> >>>
Mark,
I don't know if this will help, but check this:
Where in the CONF file did you place the PHPIniDir?=20
I placed mine as follows:
ServerRoot "C:/Program Files/Apache Group/Apache2"
# configure the path to php.ini
PHPIniDir "C:/php/"
and yes I had to put the trailing slash in the path in order to get PHP to =
work porperly.
I installed PHP5 and my loadmodule looks like this:
LoadModule php5_module "c:/php/php5apache2.dll"
PHP 5 does not have the /sapi/ directory and I believe that the PHP 4 docs =
say to move the files in /SAPI to D:/php
Your AddType and Action application look fine here are copies of my again =
from PHP 5:
ScriptAlias /php/ "c:/php/"
Action application/x-httpd-php "c:/php/php-cgi.exe"
There are no mod_php.so or libphp4.so files for windows those are unix =
files.
Lastly did you add d:\php to your windows path?
Hope this helps