![]() ![]() ![]() Sudo cp instantclient_10_2/*.dylib /usr/lib Sudo cp instantclient_10_2/sqlplus /usr/bin Sudo cp instantclient_10_2/sdk/include /*.h /usr/include Open a terminal window and go to the directory above the one you created containing all the files you unzipped. ![]() The next step is to copy the necessary files into your OS X dynamic library and bin directories ( as described here). Now, create a separate directory (which I called instantclient_10_2) and copy the contents of all the files included in these subfolders into it, which will look something like this: Once downloaded, unzip all three files, which will look like this on your file system Registration is required for all downloads. For most intents and purposes download the 64-bit version of the following files under the title " Version 10.2.0.4 (64-bit)": OCI8 relies on OS X having several client libraries and tools from Oracle installed on OS X. I also assume that you enabled PHP in your Apache configuration ( /etc/apache2/nf) and have a /etc/php.ini by copying it from /etc/. Oracle Express was installed on a separate Windows machine as it cannot run or be installed on Snow Leopard. I was using Oracle Express, a limited capability, free-ish version of Oracle's database. It took me some time and research to get it up and running. #Sql server for mac os x snow leopard 32 bit driverAs a Mac user I was looking to use OS X's built-in Apache and PHP setup, which like many PHP installations does not have the Oracle OCI8 driver installed or enabled. Oracle apparently embraces PHP warmly and as such supports an open source database driver for the environment called OCI8. My current project involves using PHP with an Oracle database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |