I want to install/compile php with mysql.

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat I want to install/compile php with mysql.
# 1  
Old 08-02-2011
I want to install/compile php with mysql.

I have removed php-5.1.6-27.el5 from our system. Because I installed it without mysql before.
How can I install php together with mysql.

Code:
# rpm -qa | grep mysql*
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-5.0.77-4.el5_4.2
mysql-server-5.0.77-4.el5_4.2
mysql-connector-odbc-3.51.26r1127-1.el5
#

Code:
# rpm -qa | grep php*
# rpm -qa | grep php
#

I have downloaded php-5.3.6-4.el5.remi.i386.rpm
Do I need php source rpm or not.

Code:
# ls -l php*
-rw-r--r-- 1 root root 1403586 Aug  2 13:46 php-5.3.6-4.el5.remi.i386.rpm
-rw-r--r-- 1 root root 2767854 Aug  2 13:51 php-cli-5.3.6-4.el5.remi.i386.rpm
-rw-r--r-- 1 root root  993678 Aug  2 13:51 php-common-5.3.6-4.el5.remi.i386.rpm
-rw-r--r-- 1 root root   53879 Aug  2 14:16 php-ldap-5.3.6-4.el5.remi.i386.rpm
#


Last edited by getrue; 08-03-2011 at 03:34 AM..
# 2  
Old 08-03-2011
Try
yum install php mysql
hope this will install both
# 3  
Old 08-04-2011
I can't use command of yum. I have no license and repository.

I have installed below packages and its done.

Code:
libedit0-3.0-1.20090722cvs.el5.i386.rpm
mysql55-libs-5.5.12-1.ius.el5.i386.rpm
php-5.3.6-4.el5.remi.i386.rpm
php-cli-5.3.6-4.el5.remi.i386.rpm
php-common-5.3.6-4.el5.remi.i386.rpm
php-devel-5.3.6-4.el5.remi.i386.rpm
php-ldap-5.3.6-4.el5.remi.i386.rpm
php-mysql-5.3.6-4.el5.remi.i386.rpm
php-pdo-5.3.6-4.el5.remi.i386.rpm


Code:
# rpm -qa | grep php
php-cli-5.3.6-4.el5.remi
php-pdo-5.3.6-4.el5.remi
php-common-5.3.6-4.el5.remi
php-ldap-5.3.6-4.el5.remi
php-mysql-5.3.6-4.el5.remi
php-5.3.6-4.el5.remi
#

# 4  
Old 08-05-2011
use below the repo
Index of /centos

and try
# 5  
Old 08-05-2011
Thanks for repository.
I installed successfully yesterday.
# 6  
Old 08-08-2011
welcome
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Can't Install MySQL with PHP

Hi, I'm on a Raspberry Pi with Raspbian Wheezy. I urgently need to get MySQL running with PHP, but I get an error. For example: $con=mysql_connect("127.0.0.1","root","******","ids"); gives PHP Fatal error: Call to undefined function mysql_connect() So, I found I needed to install some... (2 Replies)
Discussion started by: FreddoT
2 Replies

2. AIX

MySQL 5.5.28 compile on AIX 7.1

Hi, I have an AIX 7.1 lpar with cmake, gmp, libmpc, mpfr on it and a gcc 4.6.2 compiler that was made with the no-dependency flag. I am trying to complile MySql5.5.28 from Oracle. Cmake runs fine. Then when I run make, I get the following: <nyissz> Scanning dependencies of target strings ... (12 Replies)
Discussion started by: Ismeret Tenger
12 Replies

3. Linux

How To Install and configure Mysql for CRM with PHP

Hi , I have tired several times and tried a lot to install CRM in Centos Linux i686 but while im opening in browser for installing it shows database error as Unable to connect to database Server. Invalid mySQL Connection Parameters specified This may be due to the following reasons:... (0 Replies)
Discussion started by: babinlonston
0 Replies

4. Solaris

Compile PHP 5.3.6 with MySql on Sun Blade 1500 Solaris 10

Hello, I'm trying to compile PHP 5.3.6 with Apache2 and MySql 5.5.12. I hit a problem that I can't seem to resolve by myself and I could not find a solution on the web. It looks like Apache and MySql installed ok, I can start/stop them with no problem. When I try to compile PHP the... (4 Replies)
Discussion started by: pn8830
4 Replies

5. SuSE

Can't compile or install GCC

Hi all! I have posted in the Shell Programming Scripting Forum for a problem with the use of shc and so on... You can read it complete here: shell-programming-scripting/148510-problems-using-shc.html I think the problem is: that there aren't compiler installed on the SuSe 10.2 server,... (4 Replies)
Discussion started by: Magius
4 Replies

6. Solaris

DBI with MySQL client library compile on Solaris

how dow you complie perl module DBI with mysql from /usr/local/mysql/bin keeps going to mysql client for /usr/sfw/bin is it the LD_PATH ???...:confused: error is # perl login.cgi DBI connect('customers;mysql_socket=/tmp/mysql.sock:localhost','root',...) failed: Client does not... (1 Reply)
Discussion started by: photon
1 Replies

7. Solaris

Errors trying to compile PHP for use with MySQL on Solaris 10

have installed and am using the GNU based tools from the Sunfreeware site to compile PHP. I already have Apache, MySQL, and Oracle compiled and working properly. Below is my configure string for my PHP build: ./configure --prefix=/usr/local/php5 \... (2 Replies)
Discussion started by: sunsysadm2003
2 Replies

8. Linux

Getting Aubit4GL to compile and install on OpenSuSE 11

Hi there Have anybody been successful in getting the Aubit4GL compiler to successfully compile and install on OpenSuSE 11? Regards Libs (3 Replies)
Discussion started by: The_Librarian
3 Replies

9. Solaris

error: compile 64 bit mysql on Solaris 10

I'm trying to build 64 bit mysql-5.0.37 on Solaris 10. CFLAGS="-O3" CXX='gcc -m64 -mcpu=v9' CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure -disable-shared --prefix=/usr/local/mysql --datadir=/home1/mysql_data --with-mysqld-user=mysql ... (0 Replies)
Discussion started by: csross
0 Replies

10. UNIX for Dummies Questions & Answers

PHP & Apache & MySQL install how-to ?

how do i install php & mysql with apache on suse linux ??? apache was installed and configured when i installed linux. all its files are in different folders. e.g http files in usr/local/httpd/htdocs/ and its configs are in etc/httpd/ so how do i install php and get it to work with apache and... (4 Replies)
Discussion started by: perleo
4 Replies
Login or Register to Ask a Question