RE: [PHP-DB] sybase with php4.1 and apache 13.20 problem
| From: | GIS) | Date: | Tue, 08 Jan 2002 09:46:38 +0000 |
| Subject: | RE: [PHP-DB] sybase with php4.1 and apache 13.20 problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15521@lists.php.net to get a copy of this message | ||
So if I understand you correct you can call Sybase from php on commandline but not via apache?
You should compile --with-sybase-ct but that is probably not causing your problem.
Sounds strange, never had that problem, if it worked on cli it worked in Apache.
What errormessage are you getting from Apache when trying to connect to Sybase?
Regards
Richard Hillström
-----Original Message-----
From: Denis GALINSH [mailto:d_galinsh@mail.ru]
Sent: Thursday, January 03, 2002 4:23 PM
To: php-db@lists.php.net
Subject: [PHP-DB] sybase with php4.1 and apache 13.20 problem
Hello,
I've got problem with working php 4.1.0 under apache 13.20 with Sybase
SQL.
I installed Sybase ASE 11.0.3 with Open Client Lib and developt part and
compiled php 4.1. with sybase support ( FreeBSD 4.4) as a apache module and
usual executable file.
# ./configure --with-sybase=/usr/home/sybase --with-apxs
php works with sybase greatfully if I execute ordinary php file with
sybase_connect(..)
& etc.
But then I execute test php page - I've got error - just the same if I lose
sybase interfaces file or use wrong line in php.ini. But really - it's OK.
I've got in my php.ini
sybase.interface="/usr/home/sybase"
and php works - then executs not from apache.
apache is located in /usr/local.
<?phpinfo()?ph>
shows sybase support in php module( libphp4.so).
So, I've got serious problem!!
If someone can help me, please, write me without
any hesitate.
Denis GALINSH
d_galinsh@mail.ru
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net