Hello,
I've installed and configured php 4.2.0 and apache 1.3.24 (on debian 2.4r5). Latest freetds is installed, and works okay with dbd:sybase as well as SQSH.
Apparently, it works with PHP as well. I connect to the server, I can query it, etc. The problem lies with the severity. I.e. it's kind of annoying to see messages like;
Warning: Sybase message: Changed database context to 'master'. (severity 10) in /usr/local/apache/htdocs/test.php on line 2
So, I set server severity to 11, using sybase_min_server_severity(11); This however, fails;
Fatal error: Call to undefined function: sybase_min_server_severity() in /usr/local/apache/htdocs/test.php on line 4
The PHP manual states the sybase*severity functions as available in PHP 3, PHP 4 >= 4.0.0, so I assume this has something to do with my configuration options, and/or freetds installastion.
Of course, the workaround is to use @ before sybase commands in my db abstraction. This, however, is not really the solution I'm looking for.
Any hints?