Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    6

    I want to install/compile php together 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
    #

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,916
    Unless you need a specific, newer version, then you should be getting this stuff out of your package manager. You don't need the source packages unless you're going to build it yourself. What happens if you do a 'yum install mysql'? Of course, you need an up-to-date RedHat subscription for your package manager to work in RHEL5.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •