Re: how to enable mysql on php interpreter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

Did you install php through yum, or did you download sources and compiled them manually?
If it's the second case, try installing them from the yum repo's.

If you installed it through yum, there's something wrong with the dependency's.. (It seems weird to me that it can't find php-common, instead of asking to install it)

David Antonio Garcia Campos wrote:

hi Todd,

I tried to install it using yum install php-mysql, but i get an error which i've

never seen before:

Resolving Dependencies
--> Running transaction check
---> Package php-mysql.x86_64 0:5.2.6-5 set to be updated
--> Processing Dependency: php-common = 5.2.6-5 for package: php-mysql
---> Package php-pdo.x86_64 0:5.2.6-5 set to be updated
--> Processing Dependency: php-common = 5.2.6-5 for package: php-pdo
--> Finished Dependency Resolution
php-mysql-5.2.6-5.x86_64 from fedora has depsolving problems
--> Missing Dependency: php-common = 5.2.6-5 is needed by package php-mysql-5.2.6-5.x86_64 (fedora)
php-pdo-5.2.6-5.x86_64 from fedora has depsolving problems
--> Missing Dependency: php-common = 5.2.6-5 is needed by package php-pdo-5.2.6-5.x86_64 (fedora) Error: Missing Dependency: php-common = 5.2.6-5 is needed by package php-pdo-5.2.6-5.x86_64 (fedora) Error: Missing Dependency: php-common = 5.2.6-5 is needed by package php-mysql-5.2.6-5.x86_64 (fedora)


On Sat, Feb 21, 2009 at 12:38 AM, Todd Zullinger <tmz@xxxxxxxxx <mailto:tmz@xxxxxxxxx>> wrote:

    David Antonio Garcia Campos wrote:
    > can anyone let me know how i can enable mysql on php?

    Install the php-mysql package.

    $ yum info php-mysql
    [...]
    Name       : php-mysql
    Arch       : i386
    Version    : 5.2.6
    Release    : 5
    Size       : 81 k
    Repo       : fedora
    Summary    : A module for PHP applications that use MySQL databases
    URL        : http://www.php.net/
    License    : PHP

    Description: The php-mysql package contains a dynamic shared
    object that will add
              : MySQL database support to PHP. MySQL is an
    object-relational database
              : management system. PHP is an HTML-embeddable scripting
    language. If
              : you need MySQL support for PHP applications, you will
    need to install
              : this package and the php package.


    --
    Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
    www.pobox.com/~tmz/pgp <http://www.pobox.com/%7Etmz/pgp>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Man was made at the end of the week's work when God was tired.
       -- Mark Twain


    --
    fedora-list mailing list
    fedora-list@xxxxxxxxxx <mailto:fedora-list@xxxxxxxxxx>
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    Guidelines:
    http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux