#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    1
    Rep Power
    0
    I can run Mysql from a shell. Normal installation of php works to. But when i configure php for mysql it doesn't go very well.

    ./configure --with-apache=/usr/apache --with-mysql=/var/mysql

    the message appears. Can't find libmysqlclient.a or libmysqlclient.so. But these files aren't on my linux system. But i have installed mysql server and client. So what can i do about this. Please help me it's for an intranet at a hospital.

    Greetings

    Winfred
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Try this..
    ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql

    You should first find out where apxs is. You may also leave out the search path of mysql unless you see something not found, then you should specify the path more like /usr/local/mysql
    /var/mysql is likely not the correct path.
    If things still don't go well, you might need to install mysql-devel-3.20.32a-3.i386.rpm (for redhat) as well. I don't run redhat, so I don't know the answer.

Similar Threads

  1. Check MySQL Version thru PHP
    By wolftrap1 in forum PHP Development
    Replies: 2
    Last Post: February 11th, 2004, 09:51 PM
  2. Replies: 0
    Last Post: February 11th, 2004, 12:44 AM
  3. Replies: 0
    Last Post: January 30th, 2004, 02:22 PM
  4. PHP 5 (MYSQL vs. SQLite)
    By ignition in forum PHP Development
    Replies: 1
    Last Post: January 23rd, 2004, 01:13 PM
  5. Executing PHP script using crontab with PHP module
    By crazyIvan in forum PHP Development
    Replies: 0
    Last Post: January 23rd, 2004, 09:27 AM

IMN logo majestic logo threadwatch logo seochat tools logo