Configuring mysql server using mysqladmin is actually out of the scope of this but there are plenty of tutorials online for that. It will install all of the necessary dependencies including mysql. $ yum –enablerepo=remi install mysql-server Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend TechnologiesĪt this point I assume you already have mysql and mysql-server installed and configured. To verify that you have php 5.2.8 installed issue a So in order to update to php 5.2.* you just say: By default it is disabled so you’ll have to use the –enablerepo option with yum when you are using it to install or update anything. This will set up the Remi repository for yum. $ rpm -Uvh .rpm epel-release-5.3.noarch.rpm You can set this up by doing the following: He maintains a repository that has the most up to date version oh php and all of its extensions. The first step here is to set up the Remi repository. So here’s how I did it: Apparently the repositories that Centos 5.2 uses by default still have php 5.1.* so you can just do a yum update or yum install php. I finally gave up on it and went to bed, woke up this morning and went back to it… At which point I actually figured everything out and now have PHP 5.2.8 installed working with phpmyadmin 3.1.2 (which to day, all the most recent stuff) using mysql-server 5.1.31. Now, I’m no dummy when it comes to linux, package management etc… But this was a task which apparently many other people have had trouble with.
Apache ubuntu install php 5.2 how to#
So I spent the better part of last night (12-3:30am) trying to figure out just exactly how to get phpmyadmin installed on my Centos 5.2 Server.