[eluser]Tejas D[/eluser]
Hello,
I had developed a website using codeigniter. On Localhost(ubuntu) it run perfectly.
While deploying on server(Redhat Linux) and configuring LAMP, I got stuck.
On server I have,
Apache is installed and run successfully.
Mysql is installed and run successfully(version : Mysql-server 5.5.27) downloaded from mysql website.
I am installing php using repository.
I used following repo
Code:
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
To install php I used
Code:
yum --enablerepo=remi,remi-test install php php-common
this installed the php and i checked with php -v. (version php 5.4.9)
while Installing PHP 5.4.9 Modules
I used command as
Code:
yum --enablerepo=remi,remi-test install php-mysql (rest modules).
It shows error for php-mysql as below
Code:
file /etc/my.cnf from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package MySQL-server-5.5.27-1.linux2.6.x86_64
I think repo is installing for 5.5.28 and i installed mysql 5.5.27.
I want to use mysql 5.5.27 only.
How to execute php-mysql ? so that php can access mysql.
Please suggest solution and link on this.So that I can deploy on my website.