Hi, I've been a long time user of SQL Anywhere, and I've just downloaded the latest for OSx. Everything is great, but after some searching around, I realized there was no pre-compiled version of the PHP module for OSx, although it is mentioned on the website for version 12. I've tried to compile & install it myself, but was not successful.
Is it possible a downloadable PHP module could be made available for OSx ?
Mac OSx 10.6.7 PHP 5.3.4
asked 20 Jun '11, 08:57
You can compile the SQL Anywhere module as an extension:
$ cd <sqlanywhere module source directory> $ phpize $ make $ make install
Once that's done, the module will be installed in your PHP extensions directory. You must also add an entry to your php.ini to load the module.
Now you need to ensure that the Apache process can find the SQL Anywhere client libraries.
What you need is the
If you are using the "Web Sharing" option from your System Settings, you should be able to set this in
Add a tag something like:
<key>EnvironmentVariables</key> <dict> <key>DYLD_LIBRARY_PATH</key> <string>/Applications/SQLAnywhere12/System/lib64</string> </dict>
This should go at the same depth as the other
If you are using another Apache installation, you will have to find the equivalent configuration file for your installation.
Note, too, that it is vital that the path you include (lib64 or lib32) refers to the same pointer size as the Apache process that's running.
There are currently no plans to maintain a downloadable binary version of the PHP driver for Mac OS X. Maintaining these binary downloads would require engineering and QA effort that we would like to be able to justify with significant demand from customers.
If you have trouble compiling the module, please post details about your specific problem and we'll do our best to help you.