ID: 37427
User updated by: vktechnology at uk2 dot net
Reported By: vktechnology at uk2 dot net
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: fedora
PHP Version: 5.1.4
New Comment:
I try with
--with-libdir=lib64
got error
and replace in Makefile
user/local/lib/ to /lib64
it ok
make
make install
done..
********
problem still not solve
http://202.142.221.59/info.php
no mysql enable
***
http://202.142.221.59/config.php
Fatal error: Call to undefined function mysql_connect()
Previous Comments:
------------------------------------------------------------------------
[2006-05-15 17:15:49] tony2001@php.net
>Yes I use this lib64 option --libdir=/usr/lib64
Please now try with --with-libdir=lib64 instead.
They are two _totally_ different options.
------------------------------------------------------------------------
[2006-05-15 17:00:46] vktechnology at uk2 dot net
Hello tony2001
Yes I use this lib64 option
./configure --libdir=/usr/lib64 ...
everything can past make and make install..
but after this cannot use mySQL..
i donlt know what to do now..
here my phpinfo
http://202.142.221.59/info.php
*********
this one i test to connect with mysql
http://202.142.221.59/config.php
I have this error
"Fatal error: Call to undefined function mysql_connect() "
****
I just have got new server for 2-3 days
Spec
Intel Dual Xeon 3.2GHz, Cach 2MB
Ram 4GB
If you would like to login SSH to my server to check and testing...I
can give you root access...
------------------------------------------------------------------------
[2006-05-15 14:18:59] tony2001@php.net
Did you try to use --with-libdir=lib64 option?
------------------------------------------------------------------------
[2006-05-15 14:05:10] vktechnology at uk2 dot net
Sory missed type
if configure like this cannot fix problem
"--with-mysql-dir=/usr/local/mysql"
it can complie and make insall
but after install
and when use witj PHP it doesn't work
will see this error in php
"Fatal error: Call to undefined function mysql_connect() "
------------------------------------------------------------------------
[2006-05-15 14:02:01] vktechnology at uk2 dot net
another problem..after configure with
The problem is fixed when using
--with-mysql-dir=/usr/local/mysql
instead of
--with-mysql=/usr/local/mysql
********************************
cannot fix,
after install will cannot connect to my sql by using PHP
you will see this error
"Fatal error: Call to undefined function mysql_connect() "
and looking in info.php
cannot see mysql...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37427--
Edit this bug report at http://bugs.php.net/?id=37427&edit=1