Topic
1 reply Latest Post - ‏2011-03-30T04:54:02Z by sentu1983
sentu1983
sentu1983
2 Posts
ACCEPTED ANSWER

Pinned topic PHP-Mysql configuration in RHEL5.5

‏2011-03-28T09:31:22Z |
Hello,

I have a server with php, mysql and apache running. All of them are running properly but php is installed as --without-mysql.

As it is not registerd with RHN, I am not able to execute the command -

yum -y install php-mysql

Errors:

Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package php-mysql available.
Nothing to do

What I know that if I recompile php as --with-mysql it will work.

Can somebody help? I want to know what are the steps to recompile php --with-mysql

Thanks in advance.
Updated on 2011-03-30T04:54:02Z at 2011-03-30T04:54:02Z by sentu1983
  • sentu1983
    sentu1983
    2 Posts
    ACCEPTED ANSWER

    Re: PHP-Mysql configuration in RHEL5.5

    ‏2011-03-30T04:54:02Z  in response to sentu1983
    Hello,

    Figured out!

    Used php-mysql rpm of centos 5.5

    :)