• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Switch from Apache Module to fastcgi PEAR stopped working

tcnjdeluca

New Pleskian
I am upgrading my sites from the apache module to fastcgi on the advice of my hosting company. I can not get working the sites that relay on PEAR packages. When I switch to the fastcgi the PEAR install fails. The site does not seem to be read the vhost.conf for the domain.

Here is my ghost.conf file

<Directory "/var/www/vhosts/classchatterlive.com/httpdocs">
php_admin_value open_basedir "/var/www/vhosts/classchatterlive.com/httpdocs/:/tmp/:/usr/share/pear/"
php_admin_value include_path "/var/www/vhosts/classchatterlive.com/httpdocs/:/tmp/:/usr/share/pear/"
</Directory>

I have run httpdmng and stopped and restarted apache with no luck.

What should the permissions be on my vhost.conf? Should it be owned by apache or the ftp user? Any other things I can try I am about to pull out my hair.

Dan
 
This is Plesk 11.x?

If so, you should use the "include path" option in the php tab (Website scripting and security section) where you just enter the include path you want with the same syntax as you would in php.ini.

If you want to configure options that are not shown, use the "additional configuration directives" box at the bottom of the php tab, where you can add additional things to the site-specific php.ini. The syntax is the same as for php.ini, not the same as you'd use in a vhost.

However, I recommend you create a file with phpinfo() in it to check exactly what settings are being enabled, because it may not be the include path that's actually the problem.

I am also a bit puzzled, because the default include path is from the main php.ini so unless there's a default override for the include path in the default site-specific php.ini, I'm a bit puzzled. Again using the phpinfo() will be useful to debig this.

There's an order to things: main php.ini > php settings set in plesk GUI (if any) > site-specific php.ini

See http://kb.parallels.com/en/113861

and in particular see http://kb.parallels.com/en/111697
Read the big "notice" at the top of the page, and check out the link "applying custom...." in that section.
 
Thanks, I was under the impression that this was to be done with the ghost.conf file. However once I edited the local php.ini everything works as it should.
 
Be careful with the actual php.ini file, which I think can be overwritten (or rather recreated) under some circumstances. I'd stick to using the Plesk GUI if possible.
Alternatively, try making an unimportant change in the plesk GUI to the php default settings and then make sure the changes you made to php.ini remain untouched. If so, all is well.
 
Back
Top