[PHP] 0 is not a Sybase link index in /home/httpd/html/sy.php4 on

2001-07-22 Thread nelo manuel

Hello PHP people,

London is quite dark and bit cold :(
a quick question,

a)-what does this means?
Warning: 0 is not a Sybase link index in /home/httpd/html/sy.php4 on line 3

- ia m writing the following code
$link=sybase_connect(SYBASE,sa, );
$dbase=sybase_select_db_(pubs2,$link);

please help
Nelson




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] php-4.0.6 ./configure - -with - sybase

2001-07-09 Thread nelo manuel

Hi all,
since long time ago i've been trying to configure php-4.0.6 with sybase
when i try ./configure --with-sybase=/sybase/directory
it compiles OK!
but when i write the initial function to  sybase_connect() i get an error 
messagefatal error, undeclared function :(

is there any other troubleshoot technique that am not aware of?
pls help!!!

Nelson
London



_
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP 4.0.6 and Apache 1.3.6 ?

2001-07-06 Thread nelo manuel

hi Micha,

are you using the apache version 1.3.6-7? or just
1.3.6, can you tell me if you can see your
php4 load and add module in etc/httpd/conf/httpd.conf?

is that am having problems with this my php4.0.6 does not work
only when i change my php ext to php3 or php but not php4!!!

pls advise


From: Micha Ober [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Subject: [PHP] PHP 4.0.6 and Apache 1.3.6 ?
Date: Fri, 6 Jul 2001 00:15:02 -0700 (PDT)

I've installed Apache 1.3.6 and PHP 4.0.6 and it
works. But if I load an extension in the php.ini
Apache says abnormal program termination.

=
Linux...
Because it works.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


_
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-07-03 Thread nelo manuel

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-07-03 Thread nelo manuel

Hi Ray,

Yes i have compiled it with sybase under ./configure - sybase


From: Ray Hilton [EMAIL PROTECTED]
To: 'nelo manuel' [EMAIL PROTECTED], [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
Sent: 03 July 2001 09:27
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


_
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-07-03 Thread nelo manuel

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 [EMAIL PROTECTED]
To: 'nelo manuel' [EMAIL PROTECTED], [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
Sent: 03 July 2001 11:28
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
 To: 'nelo manuel' [EMAIL PROTECTED], [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]]
 Sent: 03 July 2001 09:27
 To: [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED] To
 contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 
 


_
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]




_
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-07-03 Thread nelo manuel

i've tested my glibc
with the following code
$ cat test.c X
#include sys/resource.h
X

$ gcc -E test.c /dev/null

but did not give me an error, now i don't know if the problem is my glibc
or sybase? am lost  :( or missing to include the correct path!!?


From: Ray Hilton [EMAIL PROTECTED]
To: 'nelo manuel' [EMAIL PROTECTED], [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
Sent: 03 July 2001 11:28
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
 To: 'nelo manuel' [EMAIL PROTECTED], [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]]
 Sent: 03 July 2001 09:27
 To: [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED] To
 contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 
 


_
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]




_
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-07-03 Thread nelo manuel

thanks you,
but will it solve the Fatal error am getting when trying to
retrieve records from sybase?

Nelson
London


From: rm [EMAIL PROTECTED]
To: nelo manuel [EMAIL PROTECTED], [EMAIL PROTECTED],  
[EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
  To: 'nelo manuel' [EMAIL PROTECTED],
  [EMAIL PROTECTED]
  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:[EMAIL PROTECTED]]
  Sent: 03 July 2001 11:28
  To: [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  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 [EMAIL PROTECTED]
   To: 'nelo manuel' [EMAIL PROTECTED],
  [EMAIL PROTECTED]
   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:[EMAIL PROTECTED]]
   Sent: 03 July 2001 09:27
   To: [EMAIL PROTECTED]
   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:
  [EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED] To
   contact the list administrators, e-mail:
  [EMAIL PROTECTED]
   
   
   
  
 
 
  _
  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:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED] To
  contact the list administrators, e-mail:
  [EMAIL PROTECTED]
  
  
  
 
 
_
  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:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  To contact the list administrators, e-mail:
  [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

_
Get Your Private, Free E-mail from MSN

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

2001-07-03 Thread nelo manuel

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] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
  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 [EMAIL PROTECTED]
  To: nelo manuel [EMAIL PROTECTED], [EMAIL PROTECTED],
  [EMAIL PROTECTED]
  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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
To: 'nelo manuel' [EMAIL PROTECTED],
[EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
Sent: 03 July 2001 11:28
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
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 [EMAIL PROTECTED]
 To: 'nelo manuel' [EMAIL PROTECTED],
[EMAIL PROTECTED]
 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:[EMAIL PROTECTED]]
 Sent: 03 July 2001 09:27
 To: [EMAIL PROTECTED]
 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

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

2001-07-03 Thread nelo manuel

nice 1 scott,

appreciate your help,

i'll keep working on it :)

Many Thanks,

Nelson
London


From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined function: 
sybase_connect() in
Date: Tue, 3 Jul 2001 14:52:36 -0400

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:[EMAIL PROTECTED]]
  Sent: Tuesday, July 03, 2001 2:48 PM
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  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] [EMAIL PROTECTED]
  To: php [EMAIL PROTECTED]
  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:[EMAIL PROTECTED]]
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 [EMAIL PROTECTED]
To: nelo manuel [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
  To: 'nelo manuel' [EMAIL PROTECTED],
  [EMAIL PROTECTED]
  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:[EMAIL PROTECTED]]
  Sent: 03 July 2001 11:28
  To: [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  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

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

2001-07-03 Thread nelo manuel

Dear all,

after lots of attempts to make my sybase work i still getting an error
with my sybase_connect function,
Fatal error call to undefined function sybase_connect()in my document root 
directory index.php3
...
i am now trying to compile ./configure -with -msql does any1 know the 
correct command for it?

cheers!!

Nelson
London
_
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]