Thanks.
The error log was very terse, however we could evetually trace the problem’s source :
Plesk places strict restriction on the path that PHP can see/use, and disable some viariables such as [PathInfo].
Furthermore, it overrides the apache config using a proprietary system, so you have to follow its convoluted config scheme :
- create a vhost.conf file in the virtual server’s conf folder
- use usr/local/psa/admin/sbin/websrvmng -a to regenerate the apache config used (and reload apache to apply it)
In order for egw to work well, the following settings were required :
- add the path to /usr/share/pear in the php include_path variable
- add the path to the file repository in the php open_basedir variable
- add the apache directive “AcceptPathInfo On” to allow the file manager to find the filename to download
- move the php variables from the .htaccess to the vhost.conf file
Eventually our vhost.conf file looks like this, and fixes the problem, for those this may ever help :
<Directory /var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/httpdocs>
AllowOverride All
AcceptPathInfo On
php_flag file_uploads on
php_flag log_errors on
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
php_flag register_globals off
php_flag short_open_tag on
php_flag track_vars on
php_flag display_errors off
php_value error_reporting 'E_ALL & ~E_NOTICE’
php_value max_execution_time 90
php_value memory_limit 64M
php_value session.gc_maxlifetime 14400
php_value upload_max_filesize 64M
php_value post_max_size 65M
# session handling: now the check for expired sessions is done on every 10th session creation
php_flag session.use_trans_sid Off
php_value session.gc_probability 1
php_value session.gc_divisor 10
# multibyte extension: needed for utf-8
php_value mbstring.func_overload 7
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/httpdocs:/tmp:/usr/share/pear:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/files:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/backup:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/tmp:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/jpgraph"
php_admin_value include_path "/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/httpdocs:/tmp:/usr/share/pear:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/files:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/backup:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/tmp:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/jpgraph"
AllowOverride All
AcceptPathInfo On
php_flag file_uploads on
php_flag log_errors on
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
php_flag register_globals off
php_flag short_open_tag on
php_flag track_vars on
php_flag display_errors off
php_value error_reporting 'E_ALL & ~E_NOTICE’
php_value max_execution_time 90
php_value memory_limit 64M
php_value session.gc_maxlifetime 14400
php_value upload_max_filesize 64M
php_value post_max_size 65M
# session handling: now the check for expired sessions is done on every 10th session creation
php_flag session.use_trans_sid Off
php_value session.gc_probability 1
php_value session.gc_divisor 10
# multibyte extension: needed for utf-8
php_value mbstring.func_overload 7
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/httpdocs:/tmp:/usr/share/pear:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/files:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/backup:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/tmp:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/jpgraph"
php_admin_value include_path "/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/httpdocs:/tmp:/usr/share/pear:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/files:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/backup:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/tmp:/var/www/vhosts/YOURSERVER/subdomains/YOURFOLDER/jpgraph"
Options +Includes -ExecCGI
Hi Eric,
white screen means mostly that your php run into an fatal error, this will be marked in the errorlog
Please have a look there
Birgit