Page 23 of 28

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Tue Jun 04, 2019 3:58 pm
by skamasle
azzronulation wrote:
Wed May 08, 2019 5:14 pm
Hey! I installed this script and it seemed successful, however when switching template in Vesta nothing happens. 'php -v' shows "PHP 5.6.38" no matter which template I choose.

Any help would be appreciated.
This is just for web, so in SSH php -v will always show your default version, but your web will run aditional one, check it by uploading info.php file phpinfo();

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Wed Jun 19, 2019 12:48 pm
by sanishan
After installing PHP Selector, when i select any PHP version other than default 5.6, it shows "Apache Testing 123" page.

Anyone had a solution to fix this?

PS: using only APACHE (HTTPD), no Nginx

Thanks,

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Thu Jun 20, 2019 11:51 am
by skamasle
sanishan wrote:
Wed Jun 19, 2019 12:48 pm
After installing PHP Selector, when i select any PHP version other than default 5.6, it shows "Apache Testing 123" page.

Anyone had a solution to fix this?

PS: using only APACHE (HTTPD), no Nginx

Thanks,
But you have any contnet uploaded ?

So some index.php in your site, default apache site can be viewed if you not have any index.php

I asume you use centos 7

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Fri Jun 28, 2019 8:37 am
by hydrogentsar
I installed this php selector when php 7.1 and php 7.2 did not exist
How can I upgrade php selector so that these versions of php appear in the selection?

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Wed Jul 03, 2019 7:26 pm
by skamasle
hydrogentsar wrote:
Fri Jun 28, 2019 8:37 am
I installed this php selector when php 7.1 and php 7.2 did not exist
How can I upgrade php selector so that these versions of php appear in the selection?
You may can download new php installer and install just that php versions.

New PHP installer can install just selected versions

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Tue Jul 16, 2019 6:31 pm
by skamasle
I rebuild some code in script, update it and now support php 7.4, all php.inis point to /etc/php*.ini and /etc/php*.d

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Sun Aug 18, 2019 3:00 pm
by AmiGator
I have updated the default php to version 7.2. Everything works fine, but when I install with this script php 5.4 and restart httpd, I get the error "/bin/bash: line 1: 4832 Segmentation fault /usr/sbin/httpd". I delete php54* and again everything works :-(
P.S. CentOS 6

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Tue Aug 20, 2019 5:26 pm
by skamasle
AmiGator wrote:
Sun Aug 18, 2019 3:00 pm
I have updated the default php to version 7.2. Everything works fine, but when I install with this script php 5.4 and restart httpd, I get the error "/bin/bash: line 1: 4832 Segmentation fault /usr/sbin/httpd". I delete php54* and again everything works :-(
P.S. CentOS 6
Hi

Maybe some module cause segmentation fault,

Try install php54 manually without modules like opcache and check if issue persists

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Thu Aug 22, 2019 4:16 pm
by mati010
How to install the intl module for sk-php7? The main is php 5.6

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Fri Aug 23, 2019 8:32 am
by MainDude
Hi, How do I get MariaDB server to run php 7.3? I have installed both 5.6 and 7.3.

php *v shows 7.3.8 as default but the default php version in VestaCP is still 5.6? Why???

In any case. The big question is how to get MariaDB to run on 7.3.

Please help
Thanks

OS: CentOS 7