Install OCI8 in PHP for XAMPP in OSX Yosemite

0

Good morning, everyone.

I am trying to install OCI8 for connection to an Oracle database on my XAMMP 5.6.

I have followed the guide that they mark in PHP, installing the Instant Client of Oracle and downloading from PECL the OCI8 for my version.

The result remains the same: ** Call to undefined function oci_connect ().

Has someone installed it in an equal or similar system?

I would appreciate some comments if someone has done it and how he did it.

Thanks in advance, greetings.

    
asked by RafaelM 21.11.2016 в 16:49
source

2 answers

0

Good morning, a few weeks ago I was with something similar, the solution is to create the system variables and add the respective path. Since without them the XAMPP does not see the Oracle client.

    
answered by 29.12.2016 / 14:04
source
0

A few years ago I had to install OCI8 in PHP for XAMPP, but in Debian Squeeze. I had so many problems that I decided to do it manually and not use XAMPP. I leave you a post that I did then, but it's for Debian. Never use OSX Yosemite, but I could help you in giving some one solution.

My recommendation is to stop using XAMPP and do it manually, or install a virtual GNU / Linux machine and program from there.

    
answered by 30.12.2016 в 00:47