php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1142 can't use mysql, because of "unsupported or undefined function mysql_connect()"
Submitted: 1999-02-11 10:22 UTC Modified: 1999-02-20 06:56 UTC
From: parienti at brasnah dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.6 OS: Linux Redhat 5.2
Private report: No CVE-ID: None
 [1999-02-11 10:22 UTC] parienti at brasnah dot com
Php3 does'nt find mysql functions.
Here is how I compile Php3.0.6 and Apache 1.3.3 :
     /usr/local/apache_1.3.3/configure --prefix=/usr/local/apache
     /usr/local/php-3.0.6/configure --with-myql=/usr/local --with-apache=../apache_1.3.3/ --enable-track-vars 
     make
     make install
     /usr/local/apache_1.3.3/configure --prefix=/usr/local/apache
          --activate-module=src/modules/php3/libphp3.a
     make
     make install
(the make and make install are launched from the good directory)

I can't find neither .so files in my directory tree, who are suppose to be extension files and be loaded by php3.
When I execute the phpinfo() I discover that enable_dl option is set to 1, but I have the same
bug when I put this otion to 0 with the php3.ini file. (I though the error could come from there...)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-02-20 06:56 UTC] eschmid
If phpinfo()  don't show a line with the mySQL settings,  you will see the 
unsupported or undefined function message.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 20:01:29 2024 UTC