How to add PHP versions 7.3, 7.4, 8.0 in my server from WHM/cPanel
How to add PHP versions 7.3, 7.4, 8.0 to my Linux centos 7.9 VPS server from WHM/cPanel... USING WEB GUI?
currently having Only PHP 7.1, 7.2
see screenshots
-
Hey there! You'd just need to click the blue "Customize" button near the top of the page and that will take you to an area where you can see all the available options for EasyApache. -1 -
You mean the blue customize button, or,...? Because blue customize is for php7.1,7.2 Or the cPanel default Customize button php 7.3, 7.4, 8.0, on the bottom of first shot...? What differ the last three customize buttons of the first shot? 0 -
The one near the top of the page. 0 -
Yes, but that will upgrade php...? I want Not risk it, and add 7.3, 7.4, 8.0 php... Not upgrade What differs the Customize button near the top, vs thd other customize buttons...? 0 -
No, that will not upgrade PHP on the system. It would let you install other versions and make them available, but it would not change any of your default settings. That still has to be done through the MultiPHP pages of WHM. The lower customize buttons let you customize that specific profile, where the top one adjusts the currently-configured profile. 0 -
bcmath, ctype, and openssl, are default PHP modules. The rest are available in EasyApache so you'll find those when you do the customizing. 0 -
Thanks for your guidance By installing/modify PHP,... need done off peak time eg 04:00 in the morning...? After changes done, i have to RESTART APACHE WEB SERVER.... TO Take effect? 0 -
No and no :D 0 -
Phpinfo() When run the ^^^ in a file.php Gives the php version set for the current site, so i will can see 7.4 if this version php set in my Laravel site...? 0 -
In addition My WHM of VPS needed update, do this after fix php issue,... or before,...? 0 -
Yes, if you change the PHP version, the PHP info page will reflect those changes. It doesn't matter when you perform the server update as that is independent of the PHP work. 0 -
I did the process - applied PHP 7.4 inherited but the Laravel 8.x App shows an error: // see screenshot Illuminate\Database\QueryException could not find driver (SQL: select * from `sessions` where `id` = 6HaOSc83TqMMfpkI3SXOiJ1pDNhamNXQAXQcX4gu limit 1) Also, a Presta shop app in the same server shows a 500 server error --- not working After applying the previous 7.2 PHP --- all fixed --- is it a MySQL error???? WHM: Home " SQL Services " MySQL/MariaDB Upgrade here is --- see the second screenshot IF change MySQL version should work???? Can change MySQL version per domain, like PHP version ... ? 0 -
If needed MySQL upgrade from 5.7 to 8.0... In this case, can just add version 8.0 and will be able to revert back if I wanted to... to 5.7? 0 -
Can change MySQL version per domain, like PHP version ... ?
No.If needed MySQL upgrade from 5.7 to 8.0... In this case, can just add version 8.0 and will be able to revert back if I wanted to... to 5.7?
No.0 -
Normally MySQL 5.7 [current version] should upgraded to MySQL 8.0, to work with PHP 7.4+ and Laravel App 8.x...? Probably all Web-Sites where work with MySQL 5.7 should work with 8.0... too? 0 -
live VPS LAMP [root@ip-**************** ~]# mysql --version mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper [root@ip-**************** ~]# php --version PHP 7.2.34 (cli) (built: May 5 2021 12:49:08) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies [root@ip-**************** ~]# Local Server --- vagrant testing and working Last login: Thu May 20 12:12:05 2021 from 10.0.2.2 vagrant@homestead:~$ mysql --version mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using EditLine wrapper vagrant@homestead:~$ php --version PHP 7.4.5 (cli) (built: Apr 19 2020 07:36:30) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.5, Copyright (c), by Zend Technologies vagrant@homestead:~$ WHY LIVE SERVER when apply PHP 7.4.x with MySQL 5.7.34 --- getting errors??? 0 -
I'd suggest you look for differences in PHP extensions. 0 -
It could be a PHP extension issue like @quietFinn mentioned, or it could be that code isn't compatible with that version of PHP. It would be best to reach out to the developers of the software for more details on that. 0
Please sign in to leave a comment.
Comments
21 comments