and in your web server use phpinfo() to detect the current version, if it is not php7.3 you will need to enable it by the following command: a2enmod php7.3Īnd if the error you are getting is in installing packages, you can install your package directly using the right bin php7. In your terminal check the version by using php -v, make sure that you are using the right version php7.3 in this case. In your case, all that you need to fix this issue is to make sure that you are using the right SAPI in the right place. however, your web server is not capable to manage the two versions at the same time. How To Install PHP GD Library On Cpanel To add custom configurations and modules to your Apache config, log into your cPanel interface as root at 1. Perl, Python, SSL Programming Modules: Curl, CPAN, GD Library, ImageMagick. Usually, when you install multiple versions, the OS does not override the old versions, for example, if you have PHP7.4, then when you install PHP7.3 you will have the two versions installed. CGI Access, Perl, PHP, Python, Ruby on Rails. It depends on how you check your PHP version, while there are different SAPIs in PHP, checking the version in Apache2 SAPI using phpinfo() is totally different from checking it from your terminal using php -v.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |