• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

PHP and PEAR Installation Paths

V

ViolaG

Guest
Hi

Please can you help?

I recently got a dedicated server with Plesk 9.2 installed (with GoDaddy). The installation includes PHP and PEAR. However, the PEAR on my website are not working. The problem is not with the website because it was working before I got the new server.

Please can you advise me about how I may be able to get the PEAR aspects of my website to work?

Thanks.

Viola
 
Yes, it did help. Thanks.

The problem was that there was an already existing vhost.conf file that contained an open_dir path. The problem was that open_dir and safe_mode don't work well together.

I added the line
Code:
php_admin_value safe_mode_include_dir /usr/share/pear
to the vhost.conf file and it now works.

Here's more reading (in case it helps someone else):

http://php.net/manual/en/ini.sect.safe-mode.php
http://kevin.vanzonneveld.net/techblog/article/use_pear_with_open_basedir_and_safe_mode_restricti/
 
Back
Top