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…
Category: PHP
Plesk domain date.timezone error
Warning: phpinfo(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning,…
Known configure errors with php
1. Configure: error: Please reinstall the BZip2 distribution # yum install bzip2-devel 2. Configure: error: DBA: Could not find necessary header file(s). # yum install gdbm-devel # yum install db4-devel 3. Configure: error: libjpeg.(a|so) not found. # yum install libjpeg-devel…
How to install and use two versions of PHP on the same Plesk for Linux server
Source: http://kb.odin.com/en/118378 php version – php-5.4.31 CentOS 6.5 Plesk Panel 12.0 Current php version 5.3 1. SSH to your Plesk server (or Apache Service Node for Parallels Plesk Automation) as root, download the PHP source, unpack it, and configure it:…
PHP Session write error
php Sessions write error suddenly on website http://kb.parallels.com/en/115704 Step 1 cd /var/lib/php/ [root@austin php]# ls -la total 12 drwxr-xr-x 3 root root 4096 Apr 9 19:54 . drwxr-xr-x 37 root root 4096 Apr 24 23:41 .. drwx-wx-wt 2 apache apache…
Atomic repo php Upgrade error
Servers popping up that are having php failures or issues with php_admin_value or php_admin_flag when apache restarts. This is occurring on servers running PHP 5.3.26. It appears when this update was pushed out, mod_php is no longer being loaded by…
PHP Spam Scripts
PHP Spam Scripts I finally decided this topic deserves its own page. To find the script sending spam Plesk Ver -11.0 cat /var/www/vhosts/domain.com/statistics/logs/access_log | grep POST > /tmp/post.log Ver 11.5+ cat /var/www/vhosts/system/domain.com/statistics/logs/access_log | grep POST > /tmp/post.log WHM cPanel cat…
Mcrypt Installation
Note: If you have plesk panel – check the website for the version of php running. If it is a different version than the standard php installation, create a phpinfo page to check if mcrypt is installed for that php…