I was running a custombuild directadmin configuration with PHP 5.4 and Nginx.
First I was trying to upgrade PHP to 5.6 via yum, but I had no luck.
Later on someone told me I have to upgrade via custombuild.
So I rebuild everything.
PHP -v will give me version 5.6, but php-fpm -v still stuck at version 5.4.
I'm running selfhosted CRM system (build in codeigniter) that uses some php-fpm forwarders inside nginx.conf and the software keeps complaining I'm in php version 5.4.
When I place a phpinfo() in the directory of that software, it shows me also that php is in version 5.6.
So it looks to me that it has to do with php-fpm version.
How can I upgrade it to 5.6?
Related
I have a web server running on virtual machine Debian 10 (Buster)
I need to upgrade the PHP 7.0.33 to PHP 7.1 or higher, and as you know, debian buster already has PHP 7.3 ready to be installed.
the problem is when i try to sudo apt-get install php7.3-cli or any other php extension it asks me to remove local custome packages which are essential for the web server becase they depends on the old php version.
I tried to do sudo apt-mark hold <custom_package>, but it is still asking me to remove them and preventing me from upgrading/installing the new php version.
How to fix this issue?
Am i doing something wrong?
the reason for upgrading the php is that the upgraded version of web server content requires php version to be 7.1 or higher, i even tried to neglect this platform check, the web server worked but with issues which make the server unfuntional.
Sorry, i'm new to this and just trying to resolve the problem.
Regards,
The company hosting my website (which was developed with Laravel 5.4 and PHP 5.6) mandate a change to PHP 7.3, this has been done but I got an error; and I have to switch back to PHP 5.6 to maintain the site up and running.
I want to know if scripts developed in Laravel 5.4 are compatible with PHP 7.3
You can check PHP 7.3 compatibility of Laravel here: https://github.com/laravel/framework/issues/27052
Your dependencies must be causing the problem, you need to downgrade them running the composer update command on a terminal that has PHP version 5.6 in it, you can check the version with: php -v. Once they are updated, you may upload your project again to the server that's running PHP 7.3
I have a WAMP installation and selected PHP 5.6.32 as the version to run.
When I run php artisan serve, the phpinfo() call returns PHP 7.1.5 Development Server
My host has PHP version 5.6.32 installed and I'd like to get Laravel working locally with something other than PHP 7.
What can I do here as the deployment to my host isn't working.
I'm running Laravel version 5.5.32
Yes you need to go down in Laravel Version 5.4 or lower,
https://laravel.com/docs/5.4
** Or you need to upgrade your WAMP PHP to 7 which is required for Laravel 5.5
If you read the docs it will tell you what is required in order to run version of Laravel. It is indicated in to very top of the page under requirements
Good luck with the development
I'm having trouble when installing an older version of PHP (5.1) on a Ubuntu machine. I've tried to downgrade it without success using apt-get, so I tried to install from source. After the installation, typing php -v in the terminal results in the correct version (i.e. 5.1), but the version that apache uses keep the same (the older one: 5.4) if I view it through
How do I add the installation I just did to apache in place of the older one? I need to remove the older version and make apache recognize the version I just installed.
I am using Apache 2.2.21 with PHP 5.3.8 in my web development project in windows7 environment but the hosting management of the project can upgrade only to PHP ver. 5.2.
Is there a way to change php version inside XAMPP?
I just want to test if there are bugs appear if I use 5.2 php version.
Install WampServer. WampServer lets you install multiple versions of PHP, Apache and/or MySQL, and switch between them all via a menu option. ;)