• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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