[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Im closing this as an SRU. No one has verified it as of yet. chuck ** Changed in: php5 (Ubuntu Hardy) Status: Triaged = Won't Fix -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
removing verification-needed because there nothing to test anymore. ** Tags removed: verification-needed -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Removing from hardy-proposed due to lack of testing. Requested by zul on irc. ** Changed in: php5 (Ubuntu Hardy) Status: Fix Committed = Triaged -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Anyone who can test the proposed package? If not, the proposed update will be removed again. Thanks! -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Thanks for working on this. I don't have the time to do thorough testing right now. Sorry. -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
** Branch linked: lp:ubuntu/hardy-proposed/php5 -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Accepted php5 into hardy-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: php5 (Ubuntu Hardy) Status: Confirmed = Fix Committed ** Tags added: verification-needed -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
** Branch linked: lp:~zulcss/ubuntu/hardy/php5/php5-sybase-update -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
FYI: PHP4: sybase_min_client_severity sybase_min_server_severity PHP5: (similar) sybase_min_error_severity sybase_min_message_severity Maybe the functions are equivalent to each other, didn't compare them thoroughly. What I need is that I can prevent that Xdebug croaks on every tiny DB warning with this command sybase_min_message_severity(100); What I did: I searched for strings in the php5 mssql.so file using this command: strings /usr/src/php5-5.2.4/debian/php5-sybase/usr/lib/php5/20060613/mssql.so | grep ^sybase_ | sort -u sybphp5.txt and in the php4 sybase_ct.so file with strings /opt/install/php-4.3.7/ext/sybase_ct/php_sybase_ct.o | grep ^sybase_ | sort -u sybphp5.txt These functions seem to be new in php5 sybase_bind sybase_execute sybase_fetch_batch sybase_field_length sybase_field_name sybase_field_type sybase_free_statement sybase_guid_string sybase_init sybase_min_error_severity sybase_min_message_severity sybase_next_result sybase_rows_affected ~ Note that PHP4 Sybase Functions sybase_set_message_handler sybase_unbuffered_query seem indeed to be gone in php5 -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
** Branch linked: lp:ubuntu/karmic-proposed/php5 -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
** Branch linked: lp:ubuntu/karmic/php5 -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
This bug report is probably related with : https://bugs.launchpad.net/ubuntu/+source/php5/+bug/21995/ this comment : https://bugs.launchpad.net/ubuntu/+source/php5/+bug/21995/comments/15 has some informations that is valid to this bug -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
On Mon, Sep 29, 2008 at 12:30:01PM -, knb wrote: It has been true in the past that sybase and mssql server shared a common code base, a common api and a common transfer protocol. However this is no longer the case for at least 10 years. That's irrelevant given that there's only one library implementation in Ubuntu that talks to both of them (FreeTDS). Bugs in the individual PHP extensions notwithstanding, there's no reason to ship separate packages for each server type. -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
The common dependency of both sybase mad mssql Vendor Specific Database Extensions on FreetTDS libs might be advantageous for the package developer or maintainer, but it has disadvantages for the library users: - if I remove the Sybase DB Extension using synaptic, I also lose the MSSQL Server connectivity. - it is still confusing to be forced to connect to a sybase database using mssql_connect(), or to call a mssql server with sybase_connect() . - it took me some time to understand the whole issue. However it is next to impossible to communicate the situation to other web developers and new colleagues. And what will happen if the FreeTDS developer(s) decided someday to drop compatibility for one of the server types, or too fork development? Instead of using freetds, a linux user can still install the original C Client libraries from Sybase. As part of the ASE DB server developer trial-edition/expres-edition, these libraries are available for free but not as open-source from Sybase in 32bit and 64 bit versions. (The 32-bit header files are available also free of charge from Sybase, whereas the 64 bit versions of the header files aren't. Here it is indeed an advantage to have a basic 64bit FreetTDS-based sybase client that works) Seems that I have to do my php with-sybase-ct development on a different machine, than my unix box. -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Speaking with my debian php maintainer hat. If you are able to install non-free sybase libraries, you are also able to install php5-dev and run phpize make make install in sybase_ct directory. Ie. if you want to use non-free libraries, you cannot expect help from package distributors. O. 2008/9/29 knb [EMAIL PROTECTED]: The common dependency of both sybase mad mssql Vendor Specific Database Extensions on FreetTDS libs might be advantageous for the package developer or maintainer, but it has disadvantages for the library users: - if I remove the Sybase DB Extension using synaptic, I also lose the MSSQL Server connectivity. - it is still confusing to be forced to connect to a sybase database using mssql_connect(), or to call a mssql server with sybase_connect() . - it took me some time to understand the whole issue. However it is next to impossible to communicate the situation to other web developers and new colleagues. And what will happen if the FreeTDS developer(s) decided someday to drop compatibility for one of the server types, or too fork development? Instead of using freetds, a linux user can still install the original C Client libraries from Sybase. As part of the ASE DB server developer trial-edition/expres-edition, these libraries are available for free but not as open-source from Sybase in 32bit and 64 bit versions. (The 32-bit header files are available also free of charge from Sybase, whereas the 64 bit versions of the header files aren't. Here it is indeed an advantage to have a basic 64bit FreetTDS-based sybase client that works) Seems that I have to do my php with-sybase-ct development on a different machine, than my unix box. -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are subscribed to php5 in ubuntu. -- Ondřej Surý [EMAIL PROTECTED] -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
? I didn't expect any help. Thanks for mentioning the phpize trick- Maybe I should have posted this on the ubuntu brainstorm site in the first place. It might be too specialized, though. I'm just saying that the mssql / sybase PHP-DB-Extension-Module issue is more complicated than it needs to be. Aside from that I think that the FreetTDS based perl module DBD::Sybase that comes with Ubuntu is awesome and I'm glad that I can install it out-of-the-box. -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Attached is the updated patch file. ** Attachment added: 119-sybase-alias.patch http://launchpadlibrarian.net/16869920/119-sybase-alias.patch -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Chuck, can you please have a look? Thanks! ** Changed in: php5 (Ubuntu Hardy) Assignee: (unassigned) = Chuck Short (zulcss) Status: Fix Released = Confirmed ** Tags removed: verification-done -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
The reason sybase_affected_rows didn't get aliased is because this was renamed in the mssql extension to mssql_rows_affected, so the s/mssql/sybase/ aliases didn't catch that. To get old sybase_ct users happy, you need to add an alias like so: PHP_FALIAS(sybase_affected_rows, mssql_rows_affected, NULL) -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Copied to hardy-updates. ** Changed in: php5 (Ubuntu Hardy) Status: Fix Committed = Fix Released -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
** Tags added: verification-done ** Tags removed: verification-needed -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
I successfully upgraded my php5 packages to -proposed, and everything seems to be working fine. I'll post further updates when I have them, but the sybase_* functions are indeed there and functioning properly. Thanks again! -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Hardy introduced a regression that prevents sybase users from using php5-sybase on hardy. This is due to a change in the packaging between hardy and gutsy. Attached to this bug report is the patch that fixes the issue. TEST CASE: 1. Install php5-sybase with a sybase database. 2. Try to use php5-sybase with an actual sybase database. Please note it would be easier for people who have sybase already installed to test this SRU. I have attached the patch that fixes this issue. If you have any questions please let me know. -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
** Attachment added: Patch that fixes the problem. http://launchpadlibrarian.net/15479460/119-sybase-alias.patch -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Ill try to cook somehting up. Thanks chuck -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
http://us3.php.net/manual/en/aliases.php That doc clearly says that the mssql_* functions are the aliases. How can you leave in the alias functions and remove the masters? I don't even understand how that's possible, much less desirable. This document is wrong. Feel free to report bug at php. It's true for sybase_ct extension, but not for mssql based function. Anyway I thought that Steve aliased sybase_* to mssql_* when he made this transition in Debian. I wonder why he hasn't do it. I've counted on Ubuntu packages for years, but if the directive is to now treat complete feature removal with so little care or oversight, then I'll have to look elsewhere for my server platforms. Please don't be hysterical. Attached patch should do the trick. For now you can just download php sources, go to ext/mssql, apply patch, install php5-dev, run phpize configure make make install. Full recompile of php is not neccessary. BIG WARNING: I didn't test the patch. Use at own risk, I don't even now if it compiles (it should, but who knows). -- Ondřej Surý [EMAIL PROTECTED] ** Attachment added: unnamed http://launchpadlibrarian.net/15414448/unnamed ** Attachment added: php_mssql.c.patch http://launchpadlibrarian.net/15414449/php_mssql.c.patch -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Thanks for the help Ondřej. I didn't mean for that to sound hysterical. I'm just trying my best not to have to find and refactor TONS of code or install php5 from source. I know it wouldn't be that difficult to build from the php official sources, but I don't want to deal w/ the package maintenance dependency problems that would come from having to remove the php5 package. Thanks a lot for the patch. I'll let you know how it goes. -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Can you try the version from my ppa? http://launchapd.net/~zulcss/+archive Thanks chuck -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Solution: Ok... so I installed the php5 source package apt-get source php5 I decided to just give the extension in ext/sybase a try before applying any patches. cd ext/sybase phpize configure make sudo make install After that it was a simple matter of adding a sybase.ini file to /etc/php5/conf.d with the contents extension=sybase.so I then restarted apache2 and it works :) I'm still a bit confused as to why the php5-sybase package installs the mssql.so module, and the php5-mssql package is a virtual for php5-sybase. But it is working for me now, and hopefully the people who need this info can find it here. Thanks again for the help Ondřej and Chuck! Paul -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy
Thanks for the bug report. I will look into this and get back to you. Regards chuck ** Changed in: php5 (Ubuntu) Status: New = Triaged -- sybase_* functions missing in php5-sybase for hardy https://bugs.launchpad.net/bugs/240519 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs