;Handler for CGI-scripts x-suphp-cgi="execute:!self" ###--- 整合apache 注销所有原先php和apache的配置选项,包括模块 # vi /etc/httpd/conf.d/suphp.conf ###--- LoadModule suphp_module modules/mod_suphp.so NameVirtualHost *:80 <VirtualHost *:80> ServerName 127.0.0.1 DocumentRoot /var/www/...
Confirmed to affect i386 (32-bit) FreeBSD 6.x, 7.x, and 8.x with any PHP 5.x.x version, built from ports. CGI vs. CLI doesn’t matter. Issue does not affect 64-bit FreeBSD (6.x, 7.x, or 8.x) using PHP 5.x.x. You can attempt to reproduce the issue via CLI by doin...
If you are using php per cgi and have additionally mod_gzip enabled you have to disable mod_gzip for the php cgi binary to use --enable-cgi-redirect. mod_gzip sets the REDIRECT_STATUS always to 200 which makes it impossible for the php binary to know when it was called directly or wh...