Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - GTMAN

Pages: 1 2 [3] 4 5
31
SSL / Re: ssl not working
« on: January 23, 2019, 08:09:05 PM »
Left side menu in CW Panel. Click and run above steps for the domain after you have installed SSL.

32
SSL / Re: ssl not working
« on: January 21, 2019, 07:05:34 PM »
Run Webservers Settings>Webservers Domain Conf after the ssl cert is installed.

33
Varnish / Re: select Wordpress template on WebServer Domain Conf
« on: January 19, 2019, 04:56:58 PM »
Yes I believe so. The page would have to store a cookie or keep track of your choice in a database otherwise. It's just a utility to create the various conf files from the templates you choose.

You can check the conf file here:

Code: [Select]
/etc/varnish/conf.d/vhosts 

34
What does PHP Setttings> PHP info show?

Whats's in /usr/local/php/php.ini

35
How to / Re: Deleting a domain but keep the folder attached
« on: January 09, 2019, 03:12:24 PM »
I'd copy the folder to another location and let the scripts delete the original.

36
CentOS-WebPanel GUI / Re: CWP.USER PHP.INI not stored on the right folder
« on: January 09, 2019, 03:09:57 PM »
Hi,

I found the file but I have different settings,

Code: [Select]
<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/

37
CentOS-WebPanel GUI / Re: CWP.USER PHP.INI not stored on the right folder
« on: January 08, 2019, 08:47:48 PM »
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:

Code: [Select]
<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.

38
Varnish / Re: select Wordpress template on WebServer Domain Conf
« on: January 07, 2019, 09:27:09 PM »
I know what you mean. I just tested it ... it builds the VCL from the WP template but doesn't show it when returning to the page after leaving it and returning.

Check here for the file ..should be 3KB

/etc/varnish/conf.d/vhosts   

39
Apache / Re: Error 500 Internal Server Error on virtual host
« on: January 07, 2019, 07:44:02 PM »
What PHP handler are you using?

40
Apache / Re: How to enable http/2
« on: January 02, 2019, 08:18:46 PM »
Webserver Settings> WebServers domain conf>  Select the domain and pick a config like:  nginx>apache>php-fpm.

Under the nginx section select the vhost template "force-https-http2" or just "http2" if  no SSL.

41
FTP / Re: Can't upload zip file on user account
« on: January 01, 2019, 10:01:21 PM »
How are you trying to upload the file? Where did you change the max_upload directive?

42
PHP / Re: php.ini configuration per user
« on: December 31, 2018, 03:45:02 PM »
On further research its was an Apache config error which apparently is quite common. Specifically it was a trailing slash error in the domain.ca.conf file.

/usr/local/apache/conf.d/vhosts

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


The trailing slash after localhost breaks the recursive search at least for ClassicPress / WordPress.



https://stackoverflow.com/questions/27226055/does-the-user-ini-file-work-for-subdirectories

43
PHP / Re: Can't use personal php.ini
« on: December 31, 2018, 03:40:33 PM »
On further research its was an Apache config error which apparently is quite common. Specifically it was a trailing slash error in the domain.ca.conf file.

/usr/local/apache/conf.d/vhosts

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


The trailing slash after localhost breaks the recursive search at least for ClassicPress / WordPress.



https://stackoverflow.com/questions/27226055/does-the-user-ini-file-work-for-subdirectories

44
PHP / Re: PHP-FPM does not work ? Strange
« on: December 26, 2018, 05:02:18 PM »
Where did you check phpinfo? If in the CW panel it's showing what version the CW Panel is using. Create a phpinfo.php and copy to the domains public_html and then call it yourdomain.com/phpinfo.php

Code: [Select]
To create a phpinfo file, open a plain text file, add the following lines, and save:
Filename: phpinfo.php


<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>



To change the CWP default version use PHP>Version Switcher

45
Installation / Re: Setup Varnish
« on: December 19, 2018, 08:35:25 PM »
WebServer Settings>Select Webservers and choose the one you want.

Pages: 1 2 [3] 4 5