Applicable to:
- Plesk for Linux
Symptoms
-
A website or particular website's pages show one of the following errors:
CONFIG_TEXT: 500 Internal Server Error
OR
CONFIG_TEXT: This page isn’t working
HTTP ERROR 500 -
Some website functionality is not working, e.g. a contact form.
-
Website is slow.
-
The following row appears in the
/var/www/vhosts/system/example.com/logs/error_log
or/var/log/plesk-phpXX-fpm/error.log
file:Note: change the "XX" in the path above to the correct PHP version used by a website (can be found at the Plesk > Domains > example.com > PHP Settings page)
CONFIG_TEXT: [fcgid:warn] [pid 100430] [client 203.0.113.2:35696] mod_fcgid: stderr: PHP Warning: is_file(): open_basedir restriction in effect. File(/usr/bin/test.php) is not within the allowed path(s): (/var/www/vhosts/example.com/:/tmp/) in /var/www/vhosts/example.com/httpdocs/index.php on line 564, referer: http://www.example.com
-
The file mentioned in the error message above does not exist on the server:
# ls -al /usr/bin/test.php
ls: cannot access '/usr/bin/test.php': No such file or directory
Cause
There are referrals in the website code to non-existing files.
Resolution
Contact the website developers to review the website code.
Comments
0 comments
Please sign in to leave a comment.