Getting error while trying to install oci8 using pecl on Ubuntu14.04
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I am getting an error when trying to install oci8
on Ubuntu using pecl
:
sudo: pecl: command not found
14.04 php oracle
add a comment |Â
up vote
1
down vote
favorite
I am getting an error when trying to install oci8
on Ubuntu using pecl
:
sudo: pecl: command not found
14.04 php oracle
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am getting an error when trying to install oci8
on Ubuntu using pecl
:
sudo: pecl: command not found
14.04 php oracle
I am getting an error when trying to install oci8
on Ubuntu using pecl
:
sudo: pecl: command not found
14.04 php oracle
14.04 php oracle
edited Apr 13 at 3:05
![](https://i.stack.imgur.com/WwSSv.jpg?s=32&g=1)
![](https://i.stack.imgur.com/WwSSv.jpg?s=32&g=1)
ubashu
2,24221736
2,24221736
asked Apr 2 at 7:28
![](https://lh6.googleusercontent.com/-psBATSC4MqY/AAAAAAAAAAI/AAAAAAAAAJg/zSebRmZrfo8/photo.jpg?sz=32)
![](https://lh6.googleusercontent.com/-psBATSC4MqY/AAAAAAAAAAI/AAAAAAAAAJg/zSebRmZrfo8/photo.jpg?sz=32)
Umesh
62
62
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions. The packaging and distribution system used by PECL is shared with its sister, PEAR. PEAR is the PHP Extension and Application Repository, found at https://pear.php.net.
In Ubuntu 14.04 open the terminal and type:
sudo apt-get install php-pear php5-dev # required in order to use pecl
sudo pecl install oci8-2.0.12
This is the easiest way to install oci8 on Ubuntu 14.04 using pecl, but because of XAMPP you have PHP 7.2 installed. You can switch between PHP versions by following the instructions in How to have two versions of PHP installed and switch easily between them?.
In Ubuntu 16.04 type:
sudo apt install php-pear php7.0-dev # required in order to use pecl
sudo pecl install oci8
To view pecl usage information type:
man pecl
I need to have setup with php7.2 please guide me proper way to solve this issue to get proper access on oci8
â Umesh
Apr 3 at 4:46
I know how to set up oci8 with php7.2, but first I need to know two things. 1. Do you already have php7.2 installed in 14.04? 2. Is the exact version important or can I substitute php7.0 for php7.2? Until you answer this comment I edited my answer by adding the basic requirements for installing oci8 with php7.* which arephp-pear
andphp7.0-dev
.
â karel
Apr 3 at 5:58
I had installed latest xampp on ubuntu. from that I got php 7.2
â Umesh
Apr 13 at 6:53
I edited my answer.
â karel
Apr 13 at 7:06
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions. The packaging and distribution system used by PECL is shared with its sister, PEAR. PEAR is the PHP Extension and Application Repository, found at https://pear.php.net.
In Ubuntu 14.04 open the terminal and type:
sudo apt-get install php-pear php5-dev # required in order to use pecl
sudo pecl install oci8-2.0.12
This is the easiest way to install oci8 on Ubuntu 14.04 using pecl, but because of XAMPP you have PHP 7.2 installed. You can switch between PHP versions by following the instructions in How to have two versions of PHP installed and switch easily between them?.
In Ubuntu 16.04 type:
sudo apt install php-pear php7.0-dev # required in order to use pecl
sudo pecl install oci8
To view pecl usage information type:
man pecl
I need to have setup with php7.2 please guide me proper way to solve this issue to get proper access on oci8
â Umesh
Apr 3 at 4:46
I know how to set up oci8 with php7.2, but first I need to know two things. 1. Do you already have php7.2 installed in 14.04? 2. Is the exact version important or can I substitute php7.0 for php7.2? Until you answer this comment I edited my answer by adding the basic requirements for installing oci8 with php7.* which arephp-pear
andphp7.0-dev
.
â karel
Apr 3 at 5:58
I had installed latest xampp on ubuntu. from that I got php 7.2
â Umesh
Apr 13 at 6:53
I edited my answer.
â karel
Apr 13 at 7:06
add a comment |Â
up vote
2
down vote
PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions. The packaging and distribution system used by PECL is shared with its sister, PEAR. PEAR is the PHP Extension and Application Repository, found at https://pear.php.net.
In Ubuntu 14.04 open the terminal and type:
sudo apt-get install php-pear php5-dev # required in order to use pecl
sudo pecl install oci8-2.0.12
This is the easiest way to install oci8 on Ubuntu 14.04 using pecl, but because of XAMPP you have PHP 7.2 installed. You can switch between PHP versions by following the instructions in How to have two versions of PHP installed and switch easily between them?.
In Ubuntu 16.04 type:
sudo apt install php-pear php7.0-dev # required in order to use pecl
sudo pecl install oci8
To view pecl usage information type:
man pecl
I need to have setup with php7.2 please guide me proper way to solve this issue to get proper access on oci8
â Umesh
Apr 3 at 4:46
I know how to set up oci8 with php7.2, but first I need to know two things. 1. Do you already have php7.2 installed in 14.04? 2. Is the exact version important or can I substitute php7.0 for php7.2? Until you answer this comment I edited my answer by adding the basic requirements for installing oci8 with php7.* which arephp-pear
andphp7.0-dev
.
â karel
Apr 3 at 5:58
I had installed latest xampp on ubuntu. from that I got php 7.2
â Umesh
Apr 13 at 6:53
I edited my answer.
â karel
Apr 13 at 7:06
add a comment |Â
up vote
2
down vote
up vote
2
down vote
PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions. The packaging and distribution system used by PECL is shared with its sister, PEAR. PEAR is the PHP Extension and Application Repository, found at https://pear.php.net.
In Ubuntu 14.04 open the terminal and type:
sudo apt-get install php-pear php5-dev # required in order to use pecl
sudo pecl install oci8-2.0.12
This is the easiest way to install oci8 on Ubuntu 14.04 using pecl, but because of XAMPP you have PHP 7.2 installed. You can switch between PHP versions by following the instructions in How to have two versions of PHP installed and switch easily between them?.
In Ubuntu 16.04 type:
sudo apt install php-pear php7.0-dev # required in order to use pecl
sudo pecl install oci8
To view pecl usage information type:
man pecl
PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions. The packaging and distribution system used by PECL is shared with its sister, PEAR. PEAR is the PHP Extension and Application Repository, found at https://pear.php.net.
In Ubuntu 14.04 open the terminal and type:
sudo apt-get install php-pear php5-dev # required in order to use pecl
sudo pecl install oci8-2.0.12
This is the easiest way to install oci8 on Ubuntu 14.04 using pecl, but because of XAMPP you have PHP 7.2 installed. You can switch between PHP versions by following the instructions in How to have two versions of PHP installed and switch easily between them?.
In Ubuntu 16.04 type:
sudo apt install php-pear php7.0-dev # required in order to use pecl
sudo pecl install oci8
To view pecl usage information type:
man pecl
edited Apr 13 at 7:05
answered Apr 2 at 7:53
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
50.6k11107127
50.6k11107127
I need to have setup with php7.2 please guide me proper way to solve this issue to get proper access on oci8
â Umesh
Apr 3 at 4:46
I know how to set up oci8 with php7.2, but first I need to know two things. 1. Do you already have php7.2 installed in 14.04? 2. Is the exact version important or can I substitute php7.0 for php7.2? Until you answer this comment I edited my answer by adding the basic requirements for installing oci8 with php7.* which arephp-pear
andphp7.0-dev
.
â karel
Apr 3 at 5:58
I had installed latest xampp on ubuntu. from that I got php 7.2
â Umesh
Apr 13 at 6:53
I edited my answer.
â karel
Apr 13 at 7:06
add a comment |Â
I need to have setup with php7.2 please guide me proper way to solve this issue to get proper access on oci8
â Umesh
Apr 3 at 4:46
I know how to set up oci8 with php7.2, but first I need to know two things. 1. Do you already have php7.2 installed in 14.04? 2. Is the exact version important or can I substitute php7.0 for php7.2? Until you answer this comment I edited my answer by adding the basic requirements for installing oci8 with php7.* which arephp-pear
andphp7.0-dev
.
â karel
Apr 3 at 5:58
I had installed latest xampp on ubuntu. from that I got php 7.2
â Umesh
Apr 13 at 6:53
I edited my answer.
â karel
Apr 13 at 7:06
I need to have setup with php7.2 please guide me proper way to solve this issue to get proper access on oci8
â Umesh
Apr 3 at 4:46
I need to have setup with php7.2 please guide me proper way to solve this issue to get proper access on oci8
â Umesh
Apr 3 at 4:46
I know how to set up oci8 with php7.2, but first I need to know two things. 1. Do you already have php7.2 installed in 14.04? 2. Is the exact version important or can I substitute php7.0 for php7.2? Until you answer this comment I edited my answer by adding the basic requirements for installing oci8 with php7.* which are
php-pear
and php7.0-dev
.â karel
Apr 3 at 5:58
I know how to set up oci8 with php7.2, but first I need to know two things. 1. Do you already have php7.2 installed in 14.04? 2. Is the exact version important or can I substitute php7.0 for php7.2? Until you answer this comment I edited my answer by adding the basic requirements for installing oci8 with php7.* which are
php-pear
and php7.0-dev
.â karel
Apr 3 at 5:58
I had installed latest xampp on ubuntu. from that I got php 7.2
â Umesh
Apr 13 at 6:53
I had installed latest xampp on ubuntu. from that I got php 7.2
â Umesh
Apr 13 at 6:53
I edited my answer.
â karel
Apr 13 at 7:06
I edited my answer.
â karel
Apr 13 at 7:06
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021246%2fgetting-error-while-trying-to-install-oci8-using-pecl-on-ubuntu14-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password