Hi,
We've recently moved a customer between two DA-servers, and there's a problem with a file that requires Zend Optimizer to run, as the file is encoded.
When you open this site in a browser, the encoded content is simply displayed to the browser, which obviously isn't supposed to happen.
The old and the new servers are set up equally except the new one has the suhosin php-patch (in addition to the extension), but phpinfo() shows a few differences in how Zend is loaded as well:
Old server:
There is also a section further down in the phpinfo()-listing that shows:
New server:
The other part about things like "Zend Loader enabled" does not appear on the new server.
Can anyone shed some light on this? I've read a few posts here and there that suhosin and Zend isn't a good team, but it seems to have been fixed in later versions (i.e. the ones I'm using), so from what I can see, I shouldn't be having this problem at all!
The server is built with custombuild, with the following options.conf:
Any help appreciated.
We've recently moved a customer between two DA-servers, and there's a problem with a file that requires Zend Optimizer to run, as the file is encoded.
When you open this site in a browser, the encoded content is simply displayed to the browser, which obviously isn't supposed to happen.
The old and the new servers are set up equally except the new one has the suhosin php-patch (in addition to the extension), but phpinfo() shows a few differences in how Zend is loaded as well:
Old server:
Code:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
There is also a section further down in the phpinfo()-listing that shows:
Code:
Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 4 enabled
Optimization Pass 9 enabled
Zend Loader enabled
License Path no value
Obfuscation level 3
New server:
Code:
This server is protected with the Suhosin Patch 0.9.6.2
Copyright (c) 2006 Hardened-PHP Project
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
The other part about things like "Zend Loader enabled" does not appear on the new server.
Can anyone shed some light on this? I've read a few posts here and there that suhosin and Zend isn't a good team, but it seems to have been fixed in later versions (i.e. the ones I'm using), so from what I can see, I shouldn't be having this problem at all!
The server is built with custombuild, with the following options.conf:
Code:
#PHP settings. default_php possible values - 4 or 5
default_php=5
php5_cli=no
php5_cgi=yes
php4_cli=no
php4_cgi=no
php_ini=yes
#Possible values - recommended or dist
php_ini_type=dist
zend=yes
#Possible values - 5.0 or 5.1 (4.1 is possible too, but it's EOL)
mysql=5.0
mysql_inst=yes
mysql_backup=yes
#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2
#Web applications
phpmyadmin=yes
atmail=yes
squirrelmail=yes
roundcube=yes
uebimiau=yes
#Mail options
mail-header-patch=yes
dovecot=yes
eximconf=yes
#FTP options
proftpd=yes
#Jailed shell
jail=no
#Custombuild options
autover=yes
bold=yes
clean=yes
fileserver=2
custombuild=1.1
awstats=yes
webalizer=yes
clean_old_webapps=no
cron=no
[email protected]
notifications=yes
updates=no
Any help appreciated.