RE: [PHP-DB] database connectivity problem
| From: | Adams, Jonathan K. [C] | Date: | Wed, 02 Feb 2005 12:42:06 +0000 |
| Subject: | RE: [PHP-DB] database connectivity problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-38424@lists.php.net to get a copy of this message | ||
Thanks Martin...
You were right... I had to make Apache run as sybase (gasp!)
for it to work....
really funky but it works...
-----Original Message-----
From: Martin Norland [mailto:martin.norland@stjude.org]
Sent: Tuesday, February 01, 2005 3:53 PM
To: 'php-db@lists.php.net'
Cc: 'php-db@lists.php.net'
Subject: Re: [PHP-DB] database connectivity problem
Adams, Jonathan K. [C] wrote:
> Here is the error: "Warning: sybase_connect() [function.sybase-connect]:
> Sybase: Unable to allocate connection record
>
> My configuration - The database is Sybase ASE 12.0 running on Solaris 8
> The webserver is Apache 1.3.33 with PHP 5 running Solaris 9
>
> The sybase libraries are shared via NFS, which is how I built the
apache....
Well, that error certainly doesn't look like it can't see the libraries
- it looks more like it can't write somewhere. Are you sure there is
sufficient memory for the script [perhaps increase memory_limit in
php.ini], and that wherever php might need to store the connection
record externally (if applicable) is writable?
Unfortunately - you may not be alone:
http://bugs.php.net/bug.php?id=30721
http://bugs.php.net/bug.php?id=17489
Cheers,
--
- Martin Norland, Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php