Antonio F. Tornisiello
2009-02-25 14:43:54 UTC
Hi,
I have both PHP4 and PHP5 running with apache 1.3 on my cPanel box. PHP4
is running as module and PHP5 as CGI. PHP4 is running fine with no
problems but with PHP5 I'm having trouble with POST data. No form POST
data is being passed to PHP.
You can see the problem with this form:
http://www.locador.com.br/env.html
If using GET, the $_GET var is being populated, but using POST the
$_POST var is blank.
Here's my apache PHP configuration:
--------------
# LibPHP4 configuration
LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php4 .php .php3 .php2 .phtml
# CGI configuration for PHP5
Action application/x-httpd-php5 /cgi-sys/php5
AddType application/x-httpd-php5 .php5
--------------
Does anybody know what could be wrong ?
Thanks.
Antonio.
I have both PHP4 and PHP5 running with apache 1.3 on my cPanel box. PHP4
is running as module and PHP5 as CGI. PHP4 is running fine with no
problems but with PHP5 I'm having trouble with POST data. No form POST
data is being passed to PHP.
You can see the problem with this form:
http://www.locador.com.br/env.html
If using GET, the $_GET var is being populated, but using POST the
$_POST var is blank.
Here's my apache PHP configuration:
--------------
# LibPHP4 configuration
LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php4 .php .php3 .php2 .phtml
# CGI configuration for PHP5
Action application/x-httpd-php5 /cgi-sys/php5
AddType application/x-httpd-php5 .php5
--------------
Does anybody know what could be wrong ?
Thanks.
Antonio.