• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Suexec, Fastcgi, and php.ini

P

parkerj

Guest
I am new to Plesk and I am trying to understand suexec after using suphp with another control panel. I enabled FCGI mode in plesk for a domain but the Server API states: Apache 2.0 Handler. I would also like to use custom php.ini files for each domain. I have searched the forums over and over for the answer and have not found what I am looking for. Are there posted somewhere step by step instruction to make FCGI work for each domain and add a custom php.ini for each domain? Thanks.
 
You can enable FCGI for a domain through the Plesk web interface. If you want to set custom PHP options for a domain, the solution is to create a file called vhost.conf (or vhost_ssl.conf for https) in the domain's conf directory. Make sure you run 'websrvmng -a -v' after creating these vhost(_ssl).conf files to have those vhost files included in the domain's httpd.include.
 
Thank you. But when I try to run the command "websrvmng -a -v", I get back "-bash: websrvmng: command not found"
 
websrvmng is probably not in your path. It's probably /usr/local/psa/admin/bin/websrvmng, otherwise use 'locate websrvmng' to find its location.
 
That's mighty strange. What OS are you on that doesn't have locate?

What does 'grep PRODUCT_ROOT_D /etc/psa/psa.conf' return?
 
I am using Ubuntu 6.06 and the command comes back "PRODUCT_ROOT_D /opt/psa"
 
That'll work. Thank you so much for your time and patience.
 
Back
Top