Find the answer to your Linux question:
Results 1 to 7 of 7
How do I enable the mysql extension in the php.ini file??? I can't find a mysql.so or .dll file on my system, there's not even a mysql directory in /etc...any ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    109

    Question PHP and Linux questions...


    How do I enable the mysql extension in the php.ini file??? I can't find a mysql.so or .dll file on my system, there's not even a mysql directory in /etc...any ideas?? Using FC 6

    [root@localhost html]# rpm -qa mysql
    mysql-5.0.22-2.1
    Also, how do I find out which user/group is running PHP??

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You need to install a package called php-mysql and you should be good to go.

  3. #3
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    109

    Question

    Any idea where I can find this???

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You use YUM e.g.
    Code:
    #yum install php-mysql

  5. #5
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    109

    Question

    Ok, I got that to work, but I'm also looking for the gd2 extension...I tried using yum, but it came back with no result...any ideas??

  6. #6
    Linux Newbie
    Join Date
    Dec 2006
    Posts
    105
    See here...
    Unix, Linux tips...

  7. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Quote Originally Posted by dsartain
    Ok, I got that to work, but I'm also looking for the gd2 extension...I tried using yum, but it came back with no result...any ideas??
    Code:
    #yum install php-gd

Posting Permissions

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