We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
after 5 monts, i found a "solution" for the problem that phpmyadmin cant be used because the server loads php5.6 instead 7.x when the 5.6 version is installed too. I post the solution on github issue too https://github.com/Skamasle/sk-php-sele ... -587209893
i edit the file:
and comment the uncommented lines to avoid load the php5.6 modules and allow to apache load the 7.x modules. So your file should look like this:
then just restart the httpd service:
I dont try remove the "/etc/httpd/conf.modules.d/10-php56-php.conf" file, but should work too (make a backup if you want to try this).
i hope this be useful for you too
So now i want serve the files using php-fpm (server files for ex. phpmyadmin, not the file site's that i can control with the sk-selector), i installed the php74-fpm module, but i dont know how can i configure this on the apache/nginx. i edit the /etc/nginx/**/phpmyadmin.inc to use fastcgi_pass with the php74-fpm.sock and the /etc/httpd/conf.d/phpMyAdmin.conf file but i dont know how can i do this
i edit the file:
Code: Select all
/etc/httpd/conf.modules.d/10-php56-php.conf
Code: Select all
#<IfModule prefork.c>
# LoadModule php5_module modules/libphp56-php5.so
#</IfModule>
Code: Select all
systemctl restart httpd
i hope this be useful for you too
So now i want serve the files using php-fpm (server files for ex. phpmyadmin, not the file site's that i can control with the sk-selector), i installed the php74-fpm module, but i dont know how can i configure this on the apache/nginx. i edit the /etc/nginx/**/phpmyadmin.inc to use fastcgi_pass with the php74-fpm.sock and the /etc/httpd/conf.d/phpMyAdmin.conf file but i dont know how can i do this
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hi.
When using php7.2 how do i enable Intl Extension ?
When using php7.2 how do i enable Intl Extension ?
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hi, thanks for postingpandroso wrote: ↑Tue Feb 18, 2020 6:02 amafter 5 monts, i found a "solution" for the problem that phpmyadmin cant be used because the server loads php5.6 instead 7.x when the 5.6 version is installed too. I post the solution on github issue too https://github.com/Skamasle/sk-php-sele ... -587209893
i edit the file:and comment the uncommented lines to avoid load the php5.6 modules and allow to apache load the 7.x modules. So your file should look like this:Code: Select all
/etc/httpd/conf.modules.d/10-php56-php.conf
then just restart the httpd service:Code: Select all
#<IfModule prefork.c> # LoadModule php5_module modules/libphp56-php5.so #</IfModule>
I dont try remove the "/etc/httpd/conf.modules.d/10-php56-php.conf" file, but should work too (make a backup if you want to try this).Code: Select all
systemctl restart httpd
i hope this be useful for you too
So now i want serve the files using php-fpm (server files for ex. phpmyadmin, not the file site's that i can control with the sk-selector), i installed the php74-fpm module, but i dont know how can i configure this on the apache/nginx. i edit the /etc/nginx/**/phpmyadmin.inc to use fastcgi_pass with the php74-fpm.sock and the /etc/httpd/conf.d/phpMyAdmin.conf file but i dont know how can i do this
PHPMyAdmin issue alredy discused here en 2017 , you can find information in first post about it.
Php-fpm not supported by default by this script
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hello, after setting up the php-selector script. When I change some site web template from default to, for example, sk-php-56.
My free operative memory goes down. When I open list of processes, there are besides httpd processes appear lots of “php56-cgi” processes.
1. Is it normal?
2. Every type of Php version eats 300-400 Mbytes of operative memory?
I thought all the versions should work at httpd server.
My free operative memory goes down. When I open list of processes, there are besides httpd processes appear lots of “php56-cgi” processes.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10640 admin 20 0 426664 57648 1940 S 0.0 5.7 0:00.91 php56-cgi
2981 admin 20 0 407788 44528 960 S 0.0 4.4 0:01.47 php56-cgi
2977 admin 20 0 334816 44480 516 S 0.0 4.4 0:01.43 php56-cgi
1205 apache 20 0 618040 44292 6888 S 0.0 4.4 0:13.24 httpd
2107 apache 20 0 618292 43412 5872 S 0.0 4.3 0:10.95 httpd
2980 admin 20 0 406624 43368 956 S 0.0 4.3 0:01.26 php56-cgi
1658 apache 20 0 615168 40248 5624 S 0.0 4.0 0:12.88 httpd
2979 admin 20 0 329932 39944 500 S 0.0 3.9 0:01.05 php56-cgi
2982 admin 20 0 330028 39552 280 S 0.0 3.9 0:00.71 php56-cgi
2983 admin 20 0 329260 39488 708 S 0.0 3.9 0:00.78 php56-cgi
1209 apache 20 0 531592 39340 5204 S 0.0 3.9 0:11.51 httpd
2978 admin 20 0 329192 39048 504 S 0.0 3.8 0:01.36 php56-cgi
4676 apache 20 0 615632 39008 3528 S 0.0 3.8 0:09.41 httpd
2985 admin 20 0 329004 38796 276 S 0.0 3.8 0:00.66 php56-cgi
2984 admin 20 0 329004 38752 276 S 0.0 3.8 0:00.79 php56-cgi
2976 admin 20 0 328676 38732 460 S 0.0 3.8 0:01.30 php56-cgi
1642 mysql 20 0 861712 38180 4044 S 0.0 3.8 0:06.60 mysqld
1. Is it normal?
2. Every type of Php version eats 300-400 Mbytes of operative memory?
I thought all the versions should work at httpd server.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hi
This is just a new php version, you may need tuning fastcgi or check your php script
I supose you may have same problem with default php vesrtion with fastcgi if you not tuning fastcgi instalation.
In /etc/httpd/conf.d/fastcgi.conf
Check that file
Also try disable opcache if you have some problem
This is just a new php version, you may need tuning fastcgi or check your php script
I supose you may have same problem with default php vesrtion with fastcgi if you not tuning fastcgi instalation.
In /etc/httpd/conf.d/fastcgi.conf
Check that file
Also try disable opcache if you have some problem
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Congratulations on the work.
Some way to use select php with nginx +php-fpm ??
Some way to use select php with nginx +php-fpm ??
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Sorry guys, this function php selector is critical for my VPS. After 7 years with you, I get change Vesta to another panel.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
This is not vesta oficial software
This inst come with vesta
Like this script there are more scripts in forum than support nginx +php-fpm
Just search