Anon
09-26-2001, 04:38 PM
I have a problem with Apache1.3.19/Win2k/ and PHP/4.0.4pl1 running a mail script.
I have narrowed it down. If use CGI based php with httpd.conf:
#for the cgi binary (you can use that one compiled with force cgi redirect too)
ScriptAlias /php4/ "D:/Program Files/Apache Group/Apache/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
Everything's fine except in running scripts, all scripts "work" except for trying to access mail, i get the "Failed to connect".
So, per newsgroups I do the preferred "Load Module" and # out the CGI extentsions from above and instead include this in httpd.conf:
LoadModule php4_module "d:/program files/apache group/apache/php/sapi/php4apache.dll"
AddType application/x-httpd-php .php4
I do this, and the parser doesnt even work, i get html form elements surrounded by unparsed characters......ARRRRRRRRRRRGGGGG
WTF!!! dude, HELP! I know I should be using the LoadModule version, not only cuz folks say it makes the mail() work, but also due to security.
DO i have a currupted php4apache.dll?
Is there another httpd.conf line I am missing? (not per the install.txt for php)
Help!
I have narrowed it down. If use CGI based php with httpd.conf:
#for the cgi binary (you can use that one compiled with force cgi redirect too)
ScriptAlias /php4/ "D:/Program Files/Apache Group/Apache/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
Everything's fine except in running scripts, all scripts "work" except for trying to access mail, i get the "Failed to connect".
So, per newsgroups I do the preferred "Load Module" and # out the CGI extentsions from above and instead include this in httpd.conf:
LoadModule php4_module "d:/program files/apache group/apache/php/sapi/php4apache.dll"
AddType application/x-httpd-php .php4
I do this, and the parser doesnt even work, i get html form elements surrounded by unparsed characters......ARRRRRRRRRRRGGGGG
WTF!!! dude, HELP! I know I should be using the LoadModule version, not only cuz folks say it makes the mail() work, but also due to security.
DO i have a currupted php4apache.dll?
Is there another httpd.conf line I am missing? (not per the install.txt for php)
Help!