How can i make php5 support mysql5 on centos5

Discussion in 'Installation/Configuration' started by nakacent, Dec 10, 2007.

  1. nakacent

    nakacent New Member

    :confused: I have read "Howtos" and used yum to install all rpm packages.I can see rpm packages with command rpm -aq | grep XX.

    [root@localhost ~]# rpm -aq | grep mysql
    mysql-devel-5.0.22-2.1.0.1
    mysql-server-5.0.22-2.1.0.1
    php-mysql-5.1.6-15.el5
    mysql-5.0.22-2.1.0.1

    [root@localhost ~]# rpm -aq | grep php
    php-gd-5.1.6-15.el5
    php-cli-5.1.6-15.el5
    php-odbc-5.1.6-15.el5
    php-xml-5.1.6-15.el5
    php-5.1.6-15.el5
    php-ldap-5.1.6-15.el5
    php-devel-5.1.6-15.el5
    php-common-5.1.6-15.el5
    php-imap-5.1.6-15.el5
    php-pear-1.4.9-4
    php-mysql-5.1.6-15.el5
    php-pdo-5.1.6-15.el5
    php-mbstring-5.1.6-15.el5
    php-xmlrpc-5.1.6-15.el5


    This is my phpinfo:
    [​IMG]

    How can i make hph5 work with mysql5

    thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    If php-mysql is installed, then you have MySQL support in PHP.
     

Share This Page