How to install PHP 5.4 on CentOS 6

First to get PHP 5.4 on CentOS 6 you need to install and enable the EPEL and Remi 3rd party Software Repositories with these commands as root from a shell:

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

Then run the yum install with the Remi repository enabled:

yum --enable-repo=remi install php

Accept the Remi Repository’s Key (or also use the option “-y” on the yum install command line above) and do note that this will upgrade the MySQL Server package too from the Remi Repo (up to mysql-server version 5.5.41-1.el6.remi).

When the yum install is finished, just restart your MySQL Server and Web (Apache by default) server with:

service mysqld restart
service httpd restart

If you need to or want to (check your /var/log/mysqld.log file), you can update some of MySQL’s Internal Tables and such with the command:

mysql_upgrade -uroot -pROOTMYSQLPASSWD

(use your root mysql user’s password there of course :))

FYI,
Richard.

Posted in Network Presence, Sales | Tagged , , , , | Comments Off on How to install PHP 5.4 on CentOS 6

Microsoft accepts Bitcoins now. https://t.co/dWmja…

Microsoft accepts Bitcoins now. commerce.microsoft.com/PaymentHub/Hel…

Posted in Tweets | Comments Off on Microsoft accepts Bitcoins now. https://t.co/dWmja…

Get 80 GB of SSD storage on your Web Cache Front-e…

Get 80 GB of SSD storage on your Web Cache Front-end Varnish Load Balancer Web Server at #NetPres networkpresence.com.au/hosting/applia…

Posted in Tweets | Comments Off on Get 80 GB of SSD storage on your Web Cache Front-e…

“The real threat is.. education systems aren’t tea…

“The real threat is.. education systems aren’t teaching students the skills..to work with these intelligent machineswired.com/2014/12/eric-s…qg

Posted in Tweets | Comments Off on “The real threat is.. education systems aren’t tea…

“OpenSensors is a service where anyone can publish…

“OpenSensors is a service where anyone can publish real-time sensor data” wired.com/2014/12/the-in… opensensors.io #IoT

Posted in Tweets | 2 Comments

OVH raises over $300million to take on AWS/Google/…

OVH raises over $300million to take on AWS/Google/Azure in the Cloud. ovh.com/us/news/cp1662…

Posted in Tweets | Comments Off on OVH raises over $300million to take on AWS/Google/…

Geoff Hinton’s Reddit AMA from Nov 2014 on Machine…

Geoff Hinton’s Reddit AMA from Nov 2014 on Machine Learning. reddit.com/r/MachineLearn… Long & detailed with lots of insight.

Posted in Tweets | Comments Off on Geoff Hinton’s Reddit AMA from Nov 2014 on Machine…

The epic Plan 9 Operating System is now available…

The epic Plan 9 Operating System is now available for download on Github. github.com/0intro/plan9 I was going to use it in the 80s for a BBS

Posted in Tweets | 1 Comment

RT @sage_au: Need to unlock an iDevice with Apple…

RT @sage_au: Need to unlock an iDevice with Apple ID that you no longer have access to? @AdamFowler_IT has a potential solution: adamfowlerit.com/2014/12/08/how…

Posted in Tweets | Comments Off on RT @sage_au: Need to unlock an iDevice with Apple…

Good write-up on the wonders of Valgrind. http://t…

Good write-up on the wonders of Valgrind. maintainablecode.logdown.com/posts/245425-v…

Posted in Tweets | Comments Off on Good write-up on the wonders of Valgrind. http://t…