Article ID: 2512, created on Oct 29, 2007, last review on Apr 18, 2012

  • Applies to:
  • Pro Control Panel Linux

AdditionalInformation

View Knowledge
Knowledge ID 1287
Product : WEBppliance for Linux
Version : 3.5.0
Topic : FAQ

Title
PHP prints out an extra Content-Type when the site is in high security & email

Summary
PHP prints out an extra Content-Type when the site is in high security & email is disabled.

Prevention


Details

In WEBppliance Pro if you set the security level for a site to high and also disable Email, every PHP script will print out an extra Content-type header. If you look in /home/virtual/[domain]/var/log/httpd/error_log you should see some errors like:

PHP Warning:  Unable to load dynamic library '/usr/lib/php4/ldap.so' - libldap.so.2: cannot open shared object file: No such file or directory in Unknown on line 0

To fix this do the following:

cd /home/virtual/[domain]/usr/lib
ln /home/virtual/FILESYSTEMTEMPLATE/sendmail/usr/lib/libldap.so.2.0.17 libldap.so.2.0.17
ln /home/virtual/FILESYSTEMTEMPLATE/sendmail/usr/lib/liblber.so.2.0.17 liblber.so.2.0.17
ln /home/virtual/FILESYSTEMTEMPLATE/sendmail/usr/lib/libsasl.so.7.1.8 libsasl.so.7.1.8
ln -s libldap.so.2.0.17 libldap.so.2
ln -s liblber.so.2.0.17 liblber.so.2
ln -s libsasl.so.7.1.8 libsasl.so.7

This will be fixed in a future release.


Attachments


Related Knowledge

Related Links
 
Last ModifiedUsageSatisfiedLast Used
8/20/2004 12:55:29 PM17 10/11/2007 6:34:00 AM

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF