Ra-Ra
Ra-Ra

Reputation: 21

Activate the OCI8/Oracle extension for PHP - ERROR (not found)

I've just installed XAMPP on Mac OS X Yosemite 10.10.2

I wrote a PHP page in Netbeans and when I try to run it I get Object not found!

When checking the status in XAMPP it says PHP extension is deactivated, so I followed the steps to activate it and when I opened the terminal and ran:

sudo /Applications/XAMPP/xamppfiles/lampp oci8

I got

sudo: /Applications/XAMPP/xamppfiles/lampp: command not found

I don't know how to fix this or activate it. Please can you help, as specifically as possible, because I am new to this.

Upvotes: 2

Views: 958

Answers (2)

XOXE
XOXE

Reputation: 31

Try:

sudo /Applications/XAMPP/xamppfiles/share/xampp/oci8install

Upvotes: 1

조영조
조영조

Reputation: 11

Try:

sudo /Applications/XAMPP/xamppfiles/xampp oci8

lampp -> xampp 

Upvotes: 1

Related Questions