Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

OCI8 and instanclient (no replies)

$
0
0
I've installed WAMP 3.1.0 x64 on Windows7, and I have OCI-8 working fine with Apache when running phpinfo() and showing all info related to PHP and OCI8, and I can work with it, but there is something wrong when I execute php -i from command line, instantclient is not detected and it displays 0.0.0.0. I need this to work because I'm using Laravel with OCI8, and It always displays OCI8Exception using composer update, and I can't run any migration.


Previously, I was using XAMPP 32 bit and worked fine with Apache and with console command, so I don't know why here is not working. I need 64 bit because 32 bit seems to have a bug when using bigger integers on OCI8.


My instanclient is 11.2 version. I've downloaded php-oci8 from [pecl.php.net].

EDITED: It works now! I don't know why, but when adding php to my PATH I've removed instantclient path. Sorry!

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>