问题
Referencing to my previous question below, where I am able to get PHP to talk to SYBASE ASE 15.7:
Why does the connection to ASE fail when password encryption is required?
As, I have mentioned, we ran into a little snag so I am posting another question here mean while making effort to resolve it ASAP, anyone has the expertise, please share. Of course, once we're able to figure it out, will share answer here as well.
What I am look to do is similar to these couple postings below:
http://tldp.org/HOWTO/Sybase-PHP-Apache/index.html
http://sybase-addict.com/2010/01/16/sybase-ase-v15-apache-and-php-compilation/
But with the latest apache version, PHP 5.3.6, and connecting to Sybase ASE 15.7. Also, we are running Debian squeeze stable. Probably folks out there from Sybase may be the best bet to answer to this question. So please help as appropriate.
-We have success with PHP 5.3.6 talking to Sybase ASE. -We have success with PHP talking to Apache
But not both.
Key components I guess to be successful is knowing which ./configure PHP options to use and Sybase's specific library linking. Those above links have similar to what we are looking for, but every time, I've try compile with any other options beside the default ./configure I would get error below:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/sybase/OCS-15_0/php/php536_64/lib/sybaseasephp.so' - /opt/sybase/OCS-15_0/php/php536_64/lib/sybaseasephp.so: undefined symbol: executor_globals in Unknown on line 0
Any PHP/SYBASE expert out there know the answer to this, please share.
Best,
Bao
来源:https://stackoverflow.com/questions/11457342/how-could-i-get-apache-to-support-php-5-3-6-connecting-to-sybase-ase-15-7