[Pmwiki-users] Re: New Install Problems (Apache + PHP + Win32)
Steven Leite
steven_leite
Sun Apr 18 07:04:35 CDT 2004
Well, after a few more hours of searching the net, checking PHP.net, Apache.Org, support forums, and the documentation, I still couln't resolve the problem.
I finally gave in an installed PHP as an an apache Module (instead of a CGI binary), the problem is now fixed.
Instead of using this in my config file (as directed if you want php to be run as a cgi binary)
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
I used this instead (to run php as an Apache Module)
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
I also had to copy the phpts.dll file from the c:\php\ folder to the c:\windows\system32 folder on my XP box.
I'd still like to know why the first method wouldn't work for me, but at least there's a work around for it if you don't mind running it as a module instead of a binary. I noticed other people on the PHP website were having similar problems, but no fixes were posted.
-S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://contra.vosn.net/pipermail/pmwiki-users_pmichaud.com/attachments/20040418/ae4ce513/attachment.htm
More information about the pmwiki-users
mailing list