Every file that MAMP needs and uses lives inside of the MAMP folder that you download, and yes this includes all php, mysql and apache configuration files. MAMP is nice because you can install it (and delete it) without altering anything “built-in” to your Mac OS X installation, no manually tweaking apache, mysql, php, etc, it’s all there in a bundle. These essentially execute the run process as the pecl-managed install in method 1.MAMP delivers on all of these fronts and it does it very efficiently. Go to the directory containing the extracted package, and execute the four command lines below. Untar the package, extracting it anywhere you like.Download the oci8 PECL package from /package/oci8. However, it has the advantage of allowing you to choose specific OCI8 versions depending on the package file you download. This is a slightly more manual variation of method 1. You should add "extension=oci8.so" to php.ini Install ok: channel:///oci8-2.0.8Ĭonfiguration option "php_ini" is not set to php.ini location Installing '/usr/lib/php/extensions/no-debug-non-zts-20121212/oci8.so' In my case, a few minor warning messages were displays about items in the source code - but these looked safe to ignore and didn’t interfere with the build process.Įventually, a success message should be displayed similar to that below: Just enter the following command:Ī series of automated checks will flash past in your terminal screen as PECL checks your environment and prerequisites - then performs the build. The install process using homebrew is very easy. This is another tool used by open source projects to generate makefiles and dynamic libraries. If PEAR and PECL are already installed, the following commands will update you to the latest version: PEAR and PECL are bundled together so that it’s single install as per these instructions. The latter is essential for compiling the Oracle OCI8 library (written in C). These are both extension libraries for PHP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |