If you prefer to stick with standard CentOS the package is php53.
Bear in mind that some older code may need a bit of tweaking to work properly under PHP 5.3.x. CentOS has no standard 5.2.x package.Code:yum install php53
Printable View
If you prefer to stick with standard CentOS the package is php53.
Bear in mind that some older code may need a bit of tweaking to work properly under PHP 5.3.x. CentOS has no standard 5.2.x package.Code:yum install php53
Thanks. I get this error when I tried your suggestion:
Quote:
Retrieving http://repo.webtatic.com/yum/centos/5/latest.rpm
warning: /var/tmp/rpm-xfer.A0OQ2R: Header V3 DSA signature: NOKEY, key ID cf4c4ff9
error: can't create transaction lock on /var/lib/rpm/__db.000
I have solved that issue :). I've gotten php53 installed. Now I need to check if mysql is supported. My site is giving a 500 error involving mysql_connect. How can I Check for mysql support?
My goal is to learn how to manage most functions of the server myself. Please believe me when I say that I've thought about getting someone to manage the server a thousand times.
Thanks.
I'm right there with you man!!
Once again, I run a debian based server, so I'm not great with Centos, but I've tinkered with it. Usually, you can "apt-get install" a pre-made package of some sort and your server will be for the most part set up.
You're going to want to do a search for a LAMP setup on Centos, such as this one here, that has instructions for integrating MySQL functionality.
If you have full access to this server, or if you're testing it on an old computer at your house, it might be worth loading a fresh Centos install and looking into a free control panel, such as Ispconfig 3 or Koloxo, as I think all of it can be done from that.
We're all noobs at some point (I still am :blush:). Go easy man!!Quote:
I'm sorry but if you need to ask the meaning of that you really should get a competent admin to manage this server for you.
I was able to login as root. Then I had issues with php-common. So I did "yum erase php" to delete the currently installed package. Then I used "yum install php53".
Another issue I ran into was my sitewebsite was experiencing "500-Internal server error", because php53 doesn't come with php-mysql support. So to resolve that I ran "yum install php53-mysql".
Everything seems to be ok.
HTH
check ur php libraries
check db versions
and .htaccess files