Author Topic: Apache, php-fpm, php.ini and public_html  (Read 45 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache, php-fpm, php.ini and public_html
« on: January 27, 2025, 02:10:04 PM »
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.