Control Web Panel
WebPanel => CentOS-WebPanel GUI => Topic started by: andrereyes_mzt on January 08, 2019, 07:47:48 PM
-
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?
-
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.
-
Hi,
I found the file but I have different settings,
<IfModule mod_suphp.c>
suPHP_UserGroup andresre andresre
suPHP_ConfigPath /home/andresre
</IfModule>
-
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/