Dec 09
Re: Is PHP SOAP installed? Which version of PHP SOAP do I have?
For dedicated servers, you can tell if PHP SOAP is installed by the running the following command on the console:
# php -i phpinfo | grep soap
The following outpout will confirm you have PHP SOAP installed:
soap
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400
If you have a shared hosting account and need PHP SOAP, simply contact the Helpdesk to arrange a transfer of your account to a suitable server.
Nov 17
Re: Set up a cron job in Plesk, Plesk crontab, Create a PHP cron job in Plesk
Setting up a cron task or scheduled job within Plesk is a piece of cake – once you know how.
First, find your way in to the Plesk Control Panel and hit the “Scheduled Tasks” button, then “Schedule New Task”. The example below will show a working task executing a PHP file named cronjob.php located in /httpdocs (your document root) at 01:00 every morning of every day:

The form looks pretty straight forward however there are some points to note.
- If you want to run every hour, put an asterisk “*” in the Hour field
- If you want to run every day, put an asterisk “*” in the Day of Month field
- If you want to run every month, put an asterisk “*” in the Month field
- If you want to run everyday, put an asterisk “*” in the Day of Week field
If you have problems, check your asterisks are in the right places and that you cron PHP file is in the right location. Compare the schedule task dialogue boxes carefully and you won’t have any problems.
Nov 08
Re: How to enable PHP Pear for a domain in Plesk
1) edit vhost.conf as such:
<Directory /var/www/vhosts/domain.com/httpdocs>
php_admin_value include_path "/var/www/vhosts/domain.com/httpdocs/:/usr/share/pear/"
php_admin_value open_basedir "none"
</Directory>
2) /usr/local/psa/admin/sbin/websrvmng – -reconfigure-vhost –vhost-name=domain.com
3) service httpd restart
To test pear, create a php file, eg check_pear.php
<?php
require_once 'System.php';
var_dump(class_exists('System', false));
?>
4) open check_pear.php in a browser, a ‘true’ result confirms pear is working:
bool(true)
That’s all there is to getting PEAR working on Plesk 9 Linux.
Oct 18
Ok, so you are running PHP 5.1x / 5.2x and need to upgrade to PHP 5.3x in order to support the lastest WordPress 3.x incarnations, but you have a problem – you also have Zend Optimizer (module php-zend-optimizer) installed, there is no support for the standard Zend Optimizer in PHP 5.3x (or later).
Never fear, you can resolve the problem like this in Plesk:
# yum remove php-zend-optimizer
Now you can upgrade php (using the atomic repository), as such:
#yum upgrade php
Now you should install the replacement for Zend Optimizer as follows:
yum install php-zend-guard-loader
Restart apache:
# service httpd graceful
Job done!