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 ›

CWP.USER PHP.INI not stored on the right folder

Started by andrereyes_mzt, January 08, 2019, 07:47:48 PM

Previous topic - Next topic

andrereyes_mzt

When I login to my domain using CWP User, I can edit my php.ini file (CWP settings -> Edit Php.ini) for my website, but this changes only apply to one folder of my website (/home/andresre/public_html), and doesn't apply to the sub-folders. 

After placing the php.ini in the main folder /home/andresre then changes will apply to all sub-folders on my website.

Shouldn't the php.ini file be stored on "/home/username" folder instead directly by CWP so changes apply to all website instead of having to copy php.ini to every sub-folder? 

GTMAN

There is a trailing slash error in the template. I have reported the bug and it's supposed to be fixed. Look in
/usr/local/apache/conf.d/vhosts.

Check the domain.conf and domain.ssl.conf file for:

<IfModule proxy_fcgi_module>
<FilesMatch \.php$>
SetHandler "proxy:unix:/opt/alt/php-fpm73/usr/var/sockets/gtmanage.sock|fcgi://localhost"
</FilesMatch>
</IfModule>


Make sure there is no trailing slash after localhost.

andrereyes_mzt

Hi,

I found the file but I have different settings,


<IfModule mod_suphp.c>
suPHP_UserGroup andresre andresre
suPHP_ConfigPath /home/andresre
</IfModule>

GTMAN

Quote from: andrereyes_mzt on January 08, 2019, 09:53:45 PM
Hi,

I found the file but I have different settings,


<IfModule mod_suphp.c>
suPHP_UserGroup andresre andresre
suPHP_ConfigPath /home/andresre
</IfModule>


Ok I see ... try putting a trailing slash after:  suPHP_ConfigPath /home/andresre/