php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18614 configure --with-mysql=shared,<DIR>
Submitted: 2002-07-28 13:08 UTC Modified: 2002-07-28 17:01 UTC
From: nbal at hq dot otenet dot gr Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.2.2 OS: Redhat 7.2
Private report: No CVE-ID: None
 [2002-07-28 13:08 UTC] nbal at hq dot otenet dot gr
CFLAGS="-O4" configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --without-oci8 --without-oracle --without-pgsql --with-mysql=shared,/usr --without-unixODBC --enable-ftp --disable-debug --enable-libgcc --enable-mm --enable-inline-optimization --with-gnu-ld --enable-sysvshm

configdefs.h correctly asserts
#define HAVE_MYSQL=1
#define COMPILE_DL_MYSQL 1

But when on a php page I try a mysql connection I get 
"undefined call to function mysql_connect()
In addition no MySQL support is shown in phpinfo() page

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-28 17:01 UTC] sniper@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 03 21:01:24 2020 UTC