Cracked it! For the benefit of anyone else who finds themselves in the same situation see below:
If you are (and you should be) taking the card details via a secure page, you also need to create a vhost_ssl.conf file (in addition to your vhost.conf). You can then declare the open_basedir again including the path to pear.
Code:
<Directory /var/www/vhosts/yourdomain.co.uk/httpdocs>
php_admin_value open_basedir "/var/www/vhosts/yourdomain.co.uk/httpdocs:/tmp:/usr/share/pear"
</Directory>
Note: I have used httpdocs rather than httpsdocs in both the directory and open_basedir as I have the Plesk domain setup option to "Use a single directory for housing SSL and non-SSL content" activated.
You will then need to either rebuild your apache configs:
Code:
# /usr/local/psa/admin/sbin/websrvmng -v –a
or manually include the vhost_ssl.conf in the httpd.include file at the end of the secure section:
Code:
<VirtualHost ***.***.***.***:443>
....
....
Include /var/www/vhosts/yourdomain.co.uk/conf/vhost_ssl.conf
</VirtualHost>
Hopefully of use to someone.
Oh and of course don't forget to restart apache afterwards:
Bookmarks