Answer the question
In order to leave comments, you need to log in
How to add Oracle module to PHP in Linux Ubuntu Server?
There is Ubuntu Server 14.04 installed "by default", that is, PHP, which was out of the box, is installed
php -v
PHP 5.5.9-1ubuntu4.17 (cli) (built: May 19 2016 19:05:57)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
php > $conn = oci_connect('user', 'password', 'orcl');
PHP Fatal error: Call to undefined function oci_connect() in php shell code on line 1
sudo pecl install oci8
pecl/oci8 requires PHP (version >= 7.0.0), installed version is 5.5.9-1ubuntu4.17
No valid packages found
install failed
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question