• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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