RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

From: Date: Tue, 03 Jul 2001 18:52:36 +0000
Subject: RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56038@lists.php.net to get a copy of this message
well, on second look at the microtime error messages, it looks like you might need to patch 'microtime.c'. i dont have any experience with sybase, so i'm the wrong person to ask for sybase-specific information, but try the sybase/php website and see if there's any mention of patches ... or perhaps try downgrading to a previous version of PHP if you absolutely need-it-now and cannot get it to work for PHP4. > -----Original Message----- > From: nelo manuel [mailto:havanero@hotmail.com] > Sent: Tuesday, July 03, 2001 2:48 PM > To: scott@graphictype.com; php-general@lists.php.net > Subject: RE: [PHP] Fatal Error: Call to undefined function: > sybase_connect() in > > > hi Scott, > > i've tried below by deleting the old config.cache then run > ./configure -with-apxs=/usr/sbin/apxs -with-sybase=/opt/sybase > i am still getting the micro time error on make and make install > and when i run my php-4.0.6 script to get data from sybase the error > > Fatal error: Call to unsupported or undefined function sybase_connect() in > /home/httpd/html/index1.php3 on line 2 > > appears again!! :/ > > help! > > > >From: "scott [gts]" <scott@graphictype.com> > >To: "php" <php-general@lists.php.net> > >Subject: RE: [PHP] Fatal Error: Call to undefined function: > >sybase_connect() in > >Date: Tue, 3 Jul 2001 12:05:10 -0400 > > > >it might help. > > > >it also helps to scour the configure output, looking > >for all the lines that contain "sybase", becuase sometimes > >even if you ask configure to use something, it might > >not be properly found... and configure might spew out > >a "sybase support ........... no" in the configure output. > > > >i ran into this problem with GD 1.8.4 and PHP 4.0.4-5, > >no matter how i used --with-gd, configure would always > >decide that GD was not present, and go on without it. > > > > > -----Original Message----- > > > From: nelo manuel [mailto:havanero@hotmail.com] > > > Subject: RE: [PHP] Fatal Error: Call to undefined function: > > > sybase_connect() in > > > > > > thanks you, > > > but will it solve the Fatal error am getting when trying to > > > retrieve records from sybase? > > > > > > Nelson > > > London > > > > > > > > > >From: rm <richand2002@yahoo.com> > > > >To: nelo manuel <havanero@hotmail.com>, ray@cybercroupier.com, > > > >php-general@lists.php.net > > > >Subject: RE: [PHP] Fatal Error: Call to undefined function: > > > >sybase_connect() in > > > >Date: Tue, 3 Jul 2001 05:13:05 -0700 (PDT) > > > > > > > >before running ./configure go to the directory and > > > >delete the old configure.cache file then run > > > >./configure again. > > > > > > > >kb > > > > > > > > > > > >--- nelo manuel <havanero@hotmail.com> wrote: > > > > > yes it is, > > > > > when compilinf php-4.0.6 > > > > > after ./configure then make it gives me some error > > > > > portion of installation: > > > > > > > > > > microtime.c: In function `php_if_getrusage': > > > > > microtime.c:94: storage size of `usg' isn't > > > > > known > > > > > microtime.c:97: `RUSAGE_SELF' undeclared (first > > > > > use in this function) > > > > > microtime.c:97: (Each undeclared identifier is > > > > > reported only once > > > > > microtime.c:97: for each function it appears > > > > > in.) > > > > > microtime.c:103: `RUSAGE_CHILDREN' undeclared > > > > > (first use in this > > > > > function) > > > > > make[3]: *** [microtime.lo] Error 1 > > > > > make[3]: Leaving directory > > > > > `/home/master/php-4.0.1/ext/standard' > > > > > make[2]: *** [all-recursive] Error 1 > > > > > make[2]: Leaving directory > > > > > `/home/master/php-4.0.1/ext/standard' > > > > > make[1]: *** [all-recursive] Error 1 > > > > > make[1]: Leaving directory > > > > > `/home/master/php-4.0.1/ext' > > > > > make: *** [all-recursive] Error 1 > > > > > > > > > > > > > > > any help? > > > > > no the only thing that works is <? phpinfo() ?> > > > > > > > > > > thanks > > > > > > > > > > >From: "Ray Hilton" <ray@cybercroupier.com> > > > > > >To: "'nelo manuel'" <havanero@hotmail.com>, > > > > > <php-general@lists.php.net> > > > > > >Subject: RE: [PHP] Fatal Error: Call to undefined > > > > > function: > > > > > >sybase_connect() in > > > > > >Date: Tue, 3 Jul 2001 11:37:37 +0200 > > > > > > > > > > > >Not sure other than that... If it compiles it means > > > > > it can find the > > > > > >headers it needs from the sybase package... Is > > > > > this sybase 11.9.2? I > > > > > >managed to build php with that some time ago, but I > > > > > cant for the life of > > > > > >me remember any more details... > > > > > > > > > > > >Do any sybase functions work? And do you get any > > > > > errors during > > > > > >configure/install? > > > > > > > > > > > >-----Original Message----- > > > > > >From: nelo manuel [mailto:havanero@hotmail.com] > > > > > >Sent: 03 July 2001 11:28 > > > > > >To: ray@cybercroupier.com; > > > > > php-general@lists.php.net > > > > > >Subject: RE: [PHP] Fatal Error: Call to undefined > > > > > function: > > > > > >sybase_connect() in > > > > > > > > > > > > > > > > > >i have compile it with sybase on ./configure > > > > > (according to mastering > > > > > >linux > > > > > >book, install and configuring php to access data > > > > > from sybase) > > > > > > > > > > > >can some else pls help me :( > > > > > > > > > > > > > > > > > > >From: "Ray Hilton" <ray@cybercroupier.com> > > > > > > >To: "'nelo manuel'" > > > > > > ><havanero@hotmail.com>, > > > > > <php-general@lists.php.net> > > > > > > >Subject: RE: [PHP] Fatal Error: Call to undefined > > > > > function: > > > > > > >sybase_connect() in > > > > > > >Date: Tue, 3 Jul 2001 09:37:56 +0200 > > > > > > > > > > > > > >Have you sompiled in sybase support? By defauly > > > > > php doesn't compile > > > > > > >with sybase functions, you must specifcally tell > > > > > it too... > > > > > > > > > > > > > >-----Original Message----- > > > > > > >From: nelo manuel [mailto:havanero@hotmail.com] > > > > > > >Sent: 03 July 2001 09:27 > > > > > > >To: php-general@lists.php.net > > > > > > >Subject: [PHP] Fatal Error: Call to undefined > > > > > function: > > > > > > >sybase_connect() in > > > > > > > > > > > > > > > > > > > > >Dear all, > > > > > > > > > > > > > >am quite new on php and Linux, after installing > > > > > php-4.0.6 and run the > > > > > > >test.php it worked OK but when i try to write the > > > > > function to initially > > > > > > > > > > > > >display records from sybase pubs2 i get the > > > > > following msg "Fatal > > > > > > >Error:Call to undefined function: > > > > > sybase_connect() in > > > > > > >/home/httpd/html/index.php3" > > > > > > > > > > > > > >i am using Linux Redhat 7 kernel 2.4.3 > > > > > > > > > > > > > >can any one help me please :( > > > > > > > > > > > > > >Kind regards, > > > > > > >Nelson > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________________________________ > > > > > > >_ > > > > > > >_ > > > > > > >Get Your Private, Free E-mail from MSN Hotmail at > > > > > > >http://www.hotmail.com. > > > > > > > > > > > > > > > > > > > > >-- > > > > > > >PHP General Mailing List (http://www.php.net/) > > > > > > >To unsubscribe, e-mail: > > > > > php-general-unsubscribe@lists.php.net > > > > > > >For additional commands, e-mail: > > > > > php-general-help@lists.php.net To > > > > > > >contact the list administrators, e-mail: > > > > > php-list-admin@lists.php.net > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >________________________________________________________________________ > > > > > >_ > > > > > >Get Your Private, Free E-mail from MSN Hotmail at > > > > > >http://www.hotmail.com. > > > > > > > > > > > > > > > > > >-- > > > > > >PHP General Mailing List (http://www.php.net/) > > > > > >To unsubscribe, e-mail: > > > > > php-general-unsubscribe@lists.php.net > > > > > >For additional commands, e-mail: > > > > > php-general-help@lists.php.net To > > > > > >contact the list administrators, e-mail: > > > > > php-list-admin@lists.php.net > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >_________________________________________________________________________ > > > > > Get Your Private, Free E-mail from MSN Hotmail at > > > > > http://www.hotmail.com. > > > > > > > > > > > > > > > -- > > > > > PHP General Mailing List (http://www.php.net/) > > > > > To unsubscribe, e-mail: > > > > > php-general-unsubscribe@lists.php.net > > > > > For additional commands, e-mail: > > > > > php-general-help@lists.php.net > > > > > To contact the list administrators, e-mail: > > > > > php-list-admin@lists.php.net > > > > > > > > > > > > > > > > >__________________________________________________ > > > >Do You Yahoo!? > > > >Get personalized email addresses from Yahoo! Mail > > > >http://personal.mail.yahoo.com/ > > > > > > > >_________________________________________________________________________ > > > Get Your Private, Free E-mail from MSN Hotmail at > >http://www.hotmail.com. > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > >For additional commands, e-mail: php-general-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. >

« previous php.general (#56038) next »