PHP

PHP Pages White on PLesk Server

Getting a White Page in a Plesk server with php. Check the error log for the domain:

[root@server logs]# tail -f /var/www/vhosts/system/domain.com/logs/error_log

Fri Sep 26 15:27:25 2014] [error] [client 72.644.444.xxx] PHP Warning: Unknown: open_basedir restriction in effect. File(/usr/local/bin/env.php) is not within the allowed path(s): (/var/www/vhosts/domain.com/httpdocs:.:/php:/tmp) in Unknown on line 0
[Fri Sep 26 15:27:25 2014] [error] [client 72.644.444.xxx] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Check php settings in plesk

Capture1

Change the value to “none”

Click Okay. In this instance, I got an error:

Error: No secure shell available

Ran bootstrapper:


[root@server logs]# /usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh