CentOS 5 comes by default with PHP version 5.1.6 and MySQL 5.0. Here's how you can upgrade to version 5.2.17 using a 3rd party repo. I have been using the Atomic repository for a while now and the RPMs are well built : echo "exclude=php*5.3*" >> /etc/yum.conf rpm -ivh http://www6.atomicorp.com/channels/atomic/centos/5/i386/RPMS/atomic-r$ yum update php* mysql* -y [...]
Archive for the ‘tips & tricks’ Category
Here is how you can get the HTTP status code of a URL : Sample output :
This is very useful if you have a server with multiple IPs configured on it and you want to make sure the an IP is working : You may also use the option -I 70.134.17.9 ( replace the IP address with your actual IP address ) and you will get the same output.