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 - middoweb

Pages: [1]
1
PHP / Re: How to install ioncube loader in PHP on CentOS linux
« on: January 17, 2019, 04:01:26 PM »
The following worked for me:
(http://forum.centos-webpanel.com/centos-webpanel-bugs/bug-on-php-builder/msg14787/#msg14787)
Code: [Select]
yum clean all
rm -rf /var/cache/yum
yum update all -y
That downloaded the missing ioncube loader files. I did not have to add anything to php.ini.

Good bless you  ::)

2
Apache / Re: Redirect www to non-www (https)
« on: December 23, 2018, 09:51:50 PM »
upp

3
Apache / Re: Force Apache to use PHP-FPM???
« on: December 16, 2018, 10:36:45 PM »
Hi,

if I ticked Force Apache to use PHP-FPM in WebServer Settings -> Select WebServer?, does this mean I can not make personal settings in the left menu -> WebServer Settings -> WebServer Domain Conf?

Thanks in advance!

BR
Venty

Yes , you can.

4
Apache / Redirect www to non-www (https)
« on: December 16, 2018, 10:31:14 PM »
Hi!

I am trying to redirect (all websites) from www. to  non-www. and doesn`t work .
I am using :
Quote
Nginx & Apache
Additional Options: php-cgi/suphp, nginx/php-fpm, apache/php-fpm, proxy
HTTP: Nginx (80) --> Apache (8181)
HTTPS: Nginx (443) --> Apache (8181)

htaccess code :

Quote
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]

Anyone can tell me what´s the corect way ? thanks.


5
I have that problem too , in my case was  :
WebServer Settings - select Nginx & Apache - Force Apache to use PHP-FPM - Save and rebuild

Pages: [1]