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 soon. 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.
Hello guys! I install sk-php-selector2.sh to fresh VestaCP (was installed to clean Centos 7)
I use command
Everything is good but ip/phpmyadmin/ page after server reboot - just blank page. With no code.
OK. SOLVED!
What to do:
Step 1. Install selector
Step 2. before reboot - backup all files from
/etc/httpd/conf.d
Step 3. reboot
Step 4. back all files from backup to
/etc/httpd/conf.d
Step 5. reboot and check that you have blank page
Step 6. go and install new phpmyadmin from here https://devanswers.co/manually-upgrade-phpmyadmin/
I just install version 4.9.5.
Step 7. change in file phpMyAdmin.conf from folder /etc/httpd/conf.d
from
/usr/share/phpMyAdmin
to
/usr/share/phpmyadmin
Step 8. reboot and check. I have
It's good.
Step 9. Go to folder
/etc/httpd/conf.modules.d
and backup files
10-php54-php.conf
10-php55-php.conf
Step 10. Reboot and check. All works for me!
I use command
Code: Select all
bash sk-php-selector2.sh all
OK. SOLVED!
What to do:
Step 1. Install selector
Code: Select all
bash sk-php-selector2.sh all
/etc/httpd/conf.d
Step 3. reboot
Step 4. back all files from backup to
/etc/httpd/conf.d
Step 5. reboot and check that you have blank page
Step 6. go and install new phpmyadmin from here https://devanswers.co/manually-upgrade-phpmyadmin/
I just install version 4.9.5.
Step 7. change in file phpMyAdmin.conf from folder /etc/httpd/conf.d
from
/usr/share/phpMyAdmin
to
/usr/share/phpmyadmin
Step 8. reboot and check. I have
Code: Select all
phpMyAdmin PHP 5.5+ is required. Currently installed version is: 5.4.45
Step 9. Go to folder
/etc/httpd/conf.modules.d
and backup files
10-php54-php.conf
10-php55-php.conf
Step 10. Reboot and check. All works for me!
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
@skamasle
please, check source code storage for your scripts.
i got html timeout error during installation and generation sk-php74.sh (and all other sk-php**.sh) on centos 7 today.
i cant show broken script, i just replaced it for work, but in "body" of sh script i was seen html code.
please, check source code storage for your scripts.
i got html timeout error during installation and generation sk-php74.sh (and all other sk-php**.sh) on centos 7 today.
i cant show broken script, i just replaced it for work, but in "body" of sh script i was seen html code.
SpoilerShow
-
- Posts: 2
- Joined: Sat Jul 25, 2020 11:01 pm
- Os: CentOS 6x
- Web: apache
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hello,
After using this, I have found that the PHP variables (max input time, memory limit, upload max file size, etc.) I have set in Vesta CP -> Server -> HTTPD -> PHP.ini are not applying to any of the websites using one of the newly installed templates. I've tried using overrides in my .htaccess files, but to no avail.
Any ideas on what I can do to set these variables using this PHP selector setup? I don't want to lose the functionality of it, but can't even upload an image in WordPress at the moment because of the issue.
Thanks for any and all input!
Update
After using the steps described here (/viewtopic.php?f=19&t=10854&p=43843#p43749) I was able to get my WordPress to accept uploads within the 2MB (default) max-size, though I have my options in the .htaccess, which has never failed me with Vesta, as well as in the configuration files that I can locate (plus Vesta's configuration page as mentioned) all set to 32MB.
After using this, I have found that the PHP variables (max input time, memory limit, upload max file size, etc.) I have set in Vesta CP -> Server -> HTTPD -> PHP.ini are not applying to any of the websites using one of the newly installed templates. I've tried using overrides in my .htaccess files, but to no avail.
Any ideas on what I can do to set these variables using this PHP selector setup? I don't want to lose the functionality of it, but can't even upload an image in WordPress at the moment because of the issue.
Thanks for any and all input!
Update
After using the steps described here (/viewtopic.php?f=19&t=10854&p=43843#p43749) I was able to get my WordPress to accept uploads within the 2MB (default) max-size, though I have my options in the .htaccess, which has never failed me with Vesta, as well as in the configuration files that I can locate (plus Vesta's configuration page as mentioned) all set to 32MB.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
hi i just made a php-fpm implementation you can see here
viewtopic.php?f=19&t=20128
viewtopic.php?f=19&t=20128
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Please, help me what do to for add php 7.4?
I already have installed selector - on image FTP folders and selector inside Vesta admin page.
I already have installed selector - on image FTP folders and selector inside Vesta admin page.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hello for all!
After new Centos 7 install I have:
CentOS Linux release 7.8.2003 (Core) / PHP Version 7.4.11 / Apache 2.0 Handler
I have install the selector
and next delete (copy to local) files
from the folder
Before delete files I have had php 56 by default, because file /etc/httpd/conf.modules.d/ has name 15-php.conf
After delete files I have again PHP Version 7.4.11 by default.
I'm not sure is it good way, but it works for me.
After new Centos 7 install I have:
CentOS Linux release 7.8.2003 (Core) / PHP Version 7.4.11 / Apache 2.0 Handler
I have install the selector
Code: Select all
bash /var/tmp/sk-php-selector3.sh php71 php56
Code: Select all
10-php56-php.conf
15-php71-php.conf
Code: Select all
/etc/httpd/conf.modules.d
After delete files I have again PHP Version 7.4.11 by default.
I'm not sure is it good way, but it works for me.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hi, you need manually modify all vesta configuration, because vestacp just modify default php.ini, so, this script isnt supported officially by vestacpCamdenJaxx wrote: ↑Sat Jul 25, 2020 11:04 pmHello,
After using this, I have found that the PHP variables (max input time, memory limit, upload max file size, etc.) I have set in Vesta CP -> Server -> HTTPD -> PHP.ini are not applying to any of the websites using one of the newly installed templates. I've tried using overrides in my .htaccess files, but to no avail.
Any ideas on what I can do to set these variables using this PHP selector setup? I don't want to lose the functionality of it, but can't even upload an image in WordPress at the moment because of the issue.
Thanks for any and all input!
Update
After using the steps described here (/viewtopic.php?f=19&t=10854&p=43843#p43749) I was able to get my WordPress to accept uploads within the 2MB (default) max-size, though I have my options in the .htaccess, which has never failed me with Vesta, as well as in the configuration files that I can locate (plus Vesta's configuration page as mentioned) all set to 32MB.
For each php version you need modify diferent php.ini
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
This script just add new php versions to use as aditional, if you want to have main php version as default, you just need to upgrade your php version,Bez wrote: ↑Fri Oct 02, 2020 2:02 pmHello for all!
After new Centos 7 install I have:
CentOS Linux release 7.8.2003 (Core) / PHP Version 7.4.11 / Apache 2.0 Handler
I have install the selectorand next delete (copy to local) filesCode: Select all
bash /var/tmp/sk-php-selector3.sh php71 php56
from the folderCode: Select all
10-php56-php.conf 15-php71-php.conf
Before delete files I have had php 56 by default, because file /etc/httpd/conf.modules.d/ has name 15-php.confCode: Select all
/etc/httpd/conf.modules.d
After delete files I have again PHP Version 7.4.11 by default.
I'm not sure is it good way, but it works for me.
But yes, your solution will work, but in any case you can have default php 5.6 and all orders as aditional is my recomendation, in orther way you can broke phpmyadmin or webmail
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
HILordbl4 wrote: ↑Tue Jun 09, 2020 2:11 pm@skamasle
please, check source code storage for your scripts.
i got html timeout error during installation and generation sk-php74.sh (and all other sk-php**.sh) on centos 7 today.
i cant show broken script, i just replaced it for work, but in "body" of sh script i was seen html code.
SpoilerShow
I will fix it, just need change links, to download from github, now this was downloaded from my own server, some times get down for maintance.
-
- Posts: 17
- Joined: Thu Dec 19, 2019 12:16 pm
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hello. Please tell a newbie how to write commands correctly.
А little confused in the subject
А little confused in the subject