![php 5.2 php 5.2](http://www.myshared.ru/thumbs/4/322288/big_thumb.jpg)
![php 5.2 php 5.2](https://images-na.ssl-images-amazon.com/images/I/416kugRlKIL._SX354_BO1,204,203,200_.jpg)
I booted up my system and found that my PHP version was not upgraded: $ php -v Also make sure that you notify any people that may be upset about the reboot before you do it.
#PHP 5.2 HOW TO#
Make sure that you know how to contact your hosting company’s tech support in case there are any problems with connecting to the server after the reboot. Since this should have installed a new kernel for your system, you will want to reboot so that this new kernel can be loaded. So pop open a root beer and wait for everything to finish up. This will take between 5-30 minutes on average depending on the number of packages to be upgraded, the speed of your system, and your servers connection speed. Just hitting enter will cancel the upgrade. Before it does anything, you must answer its question with a “y”. > Package asciidoc.noarch 0:8.6. set to be updated Loading mirror speeds from cached hostfile Loaded plugins: fastestmirror, priorities
#PHP 5.2 UPDATE#
I simply ran the following command to spawn a huge amount of work for the server: $ sudo yum update I thought that all I needed to do was to upgrade my distro, and I would be done (I would later find that I was naïve).įortunately, upgrading CentOS is very easy. I found that CentOS 5.6, released earlier this year, had package support for PHP 5.3. I assume that if you run a different server, you will know what to change in my steps. You may be using a different web server, but if you don’t know what I’m talking about, you are running Apache. You won’t be able to follow these steps without root access, so that is definitely a requirement. Now it is running CentOS 5.6 and PHP 5.3.3. When I started, my system ran CentOS 5.5 and PHP 5.2.16. I’ll share how I upgraded one of my servers, but I do need to let you know about some specifics about my setup as your setup may be different and require different steps to upgrade. Since many server-based and long-term support distros are still on PHP 5.2, this can make things difficult quickly. I’m finding that more and more software developers are being quite inconsiderate and are making code that requires PHP 5.3.