New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Apache, php-fpm, php.ini and public_html

Started by Andrew C, January 27, 2025, 02:10:04 PM

Previous topic - Next topic

Andrew C

Hello,

I'm using the latest copy of cwp pro, apache and PHP-FPM.

Question 1
When you create a new account by default the website  root path is public_html.

I wish to change the website root path for a given account / domain. I don't want to make a global change for all accounts / domains just for specific ones only.

I seem to recall that you can create a custom PHP-FPM  vhost file however I'm not sure which file to modify or its file path.  Can anyone help ?

Question 2
After changing the website root path will the cwp user logon portal php settings reflect the website root path change as well ?

Question 3
When using PHP-FPM where do you put the php.ini for a given account / domain so that the website inherits the php.ini setting ?  I don't wish to set php.ini globally for a particular php version.

Thanks.