Hello,
I'm not currently experiencing this: http://jrgp.us:89/540/test.php
root@adore:~# /usr/sbin/apache2 -v
Server version: Apache/2.2.22 (Debian)
Server built: Feb 1 2012 21:36:49
root@adore:~#
root@adore:~# /usr/lib/suphp/suphp
suPHP version 0.7.1
root@adore:~# /opt/php540/bin/php -v
PHP 5.4.0 (cli) (built: Mar 10 2012 09:51:19)
In suphp.conf:
application/x-httpd-suphp-540="php:/opt/php540/bin/php-cgi"
Running it for that folder with the following in my vhost config:
<Directory /home/joe/public_html/540>
suPHP_AddHandler application/x-httpd-suphp-540
AddType application/x-httpd-suphp-540 .php .php3 .php4
.php5 .phtml
</Directory>
suPHP/Apache as per the latest distribution of Debian Sid with
On 10.03.2012 09:36, Elodie de FranceServ Hébergement wrote:
Greetings,
I use suPHP since more 2 years and i have never got any problem with
it.
I had Apache last version (currently 2.2.22) and PHP 5.3.x last
version (currently 5.3.9) with suPHP 0.7.1, any problem with this
branch of PHP.
I have updated my PHP to 5.4.0 and now it's don't work, i have this
error :
[Sat Mar 10 02:03:48 2012] [error] [client 127.0.0.1] malformed
header from script. Bad header=<font color=ff0000><br />: index.php
[Sat Mar 10 02:04:17 2012] [error] [client 127.0.0.1] malformed
header from script. Bad header=<font color=ff0000><br />: index.php
[Sat Mar 10 02:04:22 2012] [error] [client 127.0.0.1] malformed
header from script. Bad header=<font color=ff0000><br />: index.php
[Sat Mar 10 02:07:13 2012] [error] [client 127.0.0.1] malformed
header from script. Bad header=<font color=ff0000><br />: index.php
[Sat Mar 10 02:07:23 2012] [error] [client 127.0.0.1] malformed
header from script. Bad header=<font color=ff0000><br />: index.php
[Sat Mar 10 02:08:35 2012] [error] [client 127.0.0.1] malformed
header from script. Bad header=<font color=ff0000><br />: index.php
I have never changed my suphp.conf :
[global]
logfile=/var/log/httpd/suphp.log
loglevel=warn
webserver_user=httpd
docroot=/home/httpd:${HOME}
allow_file_group_writeable=true
allow_file_others_writeable=false
allow_directory_group_writeable=true
allow_directory_others_writeable=false
check_vhost_docroot=false
errors_to_browser=true
env_path=/bin:/usr/bin
umask=0011
min_uid=5000
min_gid=2000
[handlers]
x-httpd-php="php:/usr/local/php/bin/php-cgi.sh"
x-suphp-cgi="execute:!self"
My log /var/log/httpd/suphp.log have nothing about this error.
When i take off my wrapper "/usr/local/php/bin/php-cgi.sh" to
/usr/local/php/bin/php-cgi" or "/usr/local/php/bin/php", i have
always
the same error.
When i take off the protocol "php:" i have a new error.
I compile always with the same way my Apache/PHP/suPHP with the
official source.
Do you have an idea please ?
Are you using suPHP with PHP 5.4.0 with any problem ?
Thanks so much,
Elodie
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp