Install php-soap

On CentOS: If you get this error: Checking the repos, I had to enable the atomic repo /etc/yum.repos.d/atomic.repo Then the installtion would work with the update: Verify: Now restart apache

php include path changes

Loading a phpinfo file for a domain on a cpanel server, you notice that the “include_path” variable changes. Resolution: With PHP PEAR enabled, PEAR is by default configured to include its PHP directory (/home/domina/php in this case). You can disable /home/domain/php from being in the PHP include_path by either removing that directory (/home/freedc/php) or uninstalling … Read more

PHP Pages White on PLesk Server

Getting a White Page in a Plesk server with php. Check the error log for the domain: Check php settings in plesk Change the value to “none” Click Okay. In this instance, I got an error: Ran bootstrapper:

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, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but … Read more

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 4. Configure: error: libpng.(a|so) not found. # yum install libpng-devel 5. Configure: error: freetype.h not … Read more

PHP Session write error

php Sessions write error suddenly on website http://kb.parallels.com/en/115704 Step 1 Change the permissions and ownership Step 2 Check the yum update log for php updates as this is usually the cause of the permissions change. This will give you the date and time of the last php update!

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 default. The symptoms are outlined here: http://forum.parallels.com/showthread.php?287767-SOLVED-Latest-php-5-3-26-yum-update-from-art-breaks-apache https://www.atomicorp.com/forum/viewtopic.php?f=12&t=6891&sid=a2317265ae0523eb9273d9d6001f10ed You should be able to add the … Read more

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 Ver 11.5+ WHM cPanel View the results Joomla This file often appears in /tmp/sysNNNNNNNN.php file 1. /tmp is 777 2. the sysNNNNNNNN.php is usually accompanied by a .zip file 3. .php and .zip are … Read more