Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.
    # rpm -qa | grep mysql*
    # 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.

    # 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
    Nottingham, England
    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

Posting Permissions

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