on 2011 Jul 12 4:28 PM
For Zend Studio users... how can I configure Zend Studio to recognize the PHP Module API for SQL AnyWhere? so the IDE does not show the warning messages "Call to undefined function '...'".
Thanks for your help in advance.
Request clarification before answering.
I was getting this when using the SQL Anywhere php module for PHP 5.3.5 for Windows because it was compiled using VC9, while the WAMP installer I was using for testing was compiled with VC6.
I received this error in the Apache error log:
PHP Warning: PHP Startup: sqlanywhere: Unable to initialize module\\nModule compiled with build ID=API20090626,TS,VC9\\nPHP compiled with build ID=API20090626,TS,VC6\\nThese options need to match\\n in Unknown on line 0
I am not sure how to fix it other than somehow acquiring the correct php module compiled with VC6 instead of 9.
I ended up using the one from the Sybase website compiled with VC9 and IIS instead.
Note: I do not think it has anything to do with using Zend or not, It's just how the PHP was compiled vs how the SQLA module was compiled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI: There are multiple builds for Apache httpd on Windows generally available, hence the VC6/VC9 confusion.
I am assuming that you have installed the original VC6 Apache Windows build (from http://httpd.apache.org/), and the VC6 build of PHP.
If you want to use the pre-compiled PHP SQL Anywhere module that ships with SQL Anywhere (which was compiled with VC9), you must use a VC9 build of Apache (you can find one at: http://www.apachelounge.com/download/ ) and a VC9 build of PHP ( http://windows.php.net/download/ ).
Alternatively, you can download the source code and re-compile the SQL Anywhere PHP extension in VC6: http://www.sybase.com/detail?id=1019698
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
46 | |
9 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.