Fatal error: Call to unsupported or undefined function mysql_conn ect()
| From: | Bill Marlin | Date: | Wed, 15 Nov 2000 19:11:34 +0000 |
| Subject: | Fatal error: Call to unsupported or undefined function mysql_conn ect() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25495@lists.php.net to get a copy of this message | ||
System information:
RedHat 6.2
MySQL-3.22.32-1.i386.rpm
php-4.0.2.tar.gz
Apache/1.3.12
Perl 5.005
Mysql -Datadumper
I have viewed some of the past mail doc files and tried what was in there
before coming to the list. I still have not gone to loading php as an RPM
just yet as suggested in one email.
<http://rpms.arvin.dk/php/>
I have installed Mysql-devel-3.23.27 in hopes to get the headers that appear
to be missing for configure.
My php works when I did a configure and left --with-mysql \ <--left blank
This allows me to run scripts except for the ones with mysql_connect
I have tried several different directories but I really don't know what
headers it is looking for. When I got the devel instillation I thought this
would fix the problem.
I believe I have listed everything someone might need and am I now getting
frustrated because I have viewed all the resources I can think of. Any
assistance would be appreciated before I go and install another RPM sending
files everywhere.
Here is the first ./configure
./configure --enable-track-vars \
--with-gd \
--with-mysql \
--with-apxs=/usr/sbin/apxs
make
make install
./configure --enable-track-vars \
--with-gd \
--with-mysql=/usr/include \
--with-apxs=/usr/sbin/apxs
I have tried
/usr/local/mysql/
/usr/bin/mysql/
usr/include/mysql/
ANY IDEAS?????
Bill Marlin
Web Site Specialist / EMT / Fire Fighter
Accent Systems, Inc.
193 Computrex Drive
Nicholasville, KY 40356
[859] 887-1023 X104