configure php4 --with-mysql=shared,/usr option dose not create mysql.so file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • doctorhardik
    New Member
    • Jun 2007
    • 5

    configure php4 --with-mysql=shared,/usr option dose not create mysql.so file

    hai all

    i am try configure php4.3.9 on my FC-3 machine.

    and my mysql database version 5.0.1, in phpinfo file it show mysql but

    when i run

    php -v command it show error like

    "unable to load dynamic library "/usr/lib/php4/mysql.so"

    /usr/lib/php4/mysql.so : can not open shared object file:

    i checked my /usr/lib/php4/ directory but in that i am not able to find mysql.so file.

    but other .so file is present in this directory.

    i configure php4.3.9 using following option :

    ./configure --with-mysql=shared,/usr and other necessary option but still no able to get mysql.so file

    so can any one tell my what is going wrong

    Thanks in advance
    Last edited by doctorhardik; Jun 19 '07, 06:43 AM. Reason: mistake in title
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, doctorhardik. Welcome to TSDN!

    I once had a similar problem on a [RedHat? I forget] Linux server. I remember that in the course of my investigation, I found a couple of hard links that Apache was following to find the MySQL modules. I relinked these files to the newly-installed modules, and everything was gravy.

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      I have moved this thread from the Articles section to the Forum. In the future, please make sure you post your questions to the Forum, as they are more likely to get responses there.

      Comment

      • doctorhardik
        New Member
        • Jun 2007
        • 5

        #4
        Originally posted by pbmods
        Heya, doctorhardik. Welcome to TSDN!

        I once had a similar problem on a [RedHat? I forget] Linux server. I remember that in the course of my investigation, I found a couple of hard links that Apache was following to find the MySQL modules. I relinked these files to the newly-installed modules, and everything was gravy.

        hai

        Apache 2.0 version in apache2handler i am not find mod_auth_mysql module. so i load that module externally.

        is there any more work is require?

        this will create problem for mysql.so file.

        i configured php 4.3.9 in that source i found mysql.so file. after installing that source. i am not able to find this .so file in /usr/lib/php4/ directory.

        thanks for your reply

        Comment

        Working...