For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > January 2006 > RE: PHP4 + Apache2 = wtf?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: PHP4 + Apache2 = wtf?
Mark Galbreath

2006-01-12, 7:00 pm

WOOHOO!

I'll be damned! I don't know what fixed it, but following your suggestions=
=3D
, it is working now....THANKS, ALLEN!!

Mark
[color=darkred]
Mark,

I don't know if this will help, but check this:

Where in the CONF file did you place the PHPIniDir?=3D20
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 =
=3D
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 =
=3D
say to move the files in /SAPI to D:/php

Your AddType and Action application look fine here are copies of my again =
=3D
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 =3D
files.

Lastly did you add d:\php to your windows path?

Hope this helps
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com