#45402 [Fbk->Csd]: Call to undefined function sybase_connect()

From: Date: Mon, 14 Jul 2008 18:59:42 +0000
Subject: #45402 [Fbk->Csd]: Call to undefined function sybase_connect()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126687@lists.php.net to get a copy of this message
ID: 45402 User updated by: fborot at hotmail dot com Reported By: fborot at hotmail dot com -Status: Feedback +Status: Closed Bug Type: Sybase (dblib) related Operating System: redhat PHP Version: 5.2.6 New Comment: there was another php installed on the machine, I tried on a different machine and it works Previous Comments: ------------------------------------------------------------------------ [2008-07-13 15:01:50] jani@php.net To install binaries you say: # make install And please don't change the status back to open or add any more irrelevant comments. We're only interested whether it worked or not. And if not why. ------------------------------------------------------------------------ [2008-07-02 13:17:13] fborot at hotmail dot com txs for the reply I will download again the php sources, and delete the current one. I always run the commands [configure, make , make install] in the source directory. What do you mean by "You also need to install the compiled binaries." what do you recomend as far as Apache: 1- remove it and install it again 1.1 compile apache with php 1.2 compile apache and load php later regards Fabian ------------------------------------------------------------------------ [2008-07-02 09:18:39] jani@php.net Please try with totally fresh sources. And run the commands in the source directory. You also need to install the compiled binaries. I bet you're just seeing the old installation. ------------------------------------------------------------------------ [2008-07-01 15:40:31] fborot at hotmail dot com I deleted everything related to easysoft odbc driver,deleted the php installation again, the config.cache on the build directory,ran make clean and make distclean, remove the old Makefile and compiled it again and phpinfo() shows support for odbc instead of sybase. what is happening here? what files do you need me to send/upload? this is very frustrating regards ------------------------------------------------------------------------ [2008-07-01 14:59:07] fborot at hotmail dot com how can upload the output of phpinfo() it is very weird, I just deleted config.cache, the old Makefile, from the building directory and re-compiled again with the same options, [./configure --prefix=/usr/local/php5 --with-mysql=/usr/bin/mysql --with-sybase=/opt/sybase-11.9.2/OCS-15_0/] but phpinfo() shows: Configure Command './configure' '--with-mysql=/usr/bin/mysql' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-unixODBC=shared,/usr/local/easysoft/unixODBC' magic_quotes_sybase Off Off SYBASE /opt/sybase-11.9.2 _ENV["SYBASE"] /opt/sybase-11.9.2 which should not be, I tried 2 days ago to use the odbc driver provided by easysoft because with-sybase-ct and with-sybase it would not compile. I guess I should delete the odbc driver and try again, I would like to attach some files/logs here but don't see how txs Fabian ------------------------------------------------------------------------ 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/45402 -- Edit this bug report at http://bugs.php.net/?id=45402&edit=1

« previous php.bugs (#126687) next »