Guidance OCI8 installation/configuration for PHP

Issues related to applications and software problems
Post Reply
baseerx
Posts: 1
Joined: 2017/11/02 03:36:55

Guidance OCI8 installation/configuration for PHP

Post by baseerx » 2017/11/02 03:42:21

i am trying to install oci8 following mentioned steps in centOS support but when all works fine but when i try this one command it shows--->(/configure --with-oci8=shared,instantclient,/opt/instantclient_11_1) --> it shows this one error-->(checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... no
checking for gcc... no
configure: error: in `/opt/deploy/oracle/oci8-2.1.8':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.)

i am trying to install it since one week but shows errors,please help me in fixing it thanks
installed php version is-->"7.0.*"
Centos->"6.9 version"
:?: :?:

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Guidance OCI8 installation/configuration for PHP

Post by TrevorH » 2017/11/02 07:21:20

This topic was split away from an ancient thread in the CentOS 5 forums here viewtopic.php?f=27&t=31815

Please don't hijack threads.
configure: error: no acceptable C compiler found in $PATH
Try yum install gcc though you probably need many more things than just that.

Given your apparent lack of expertise, I'd suggest you use a yum repo that already provides such packages and not build them yourself. The yum repo that Remi runs has both php 7.0 and that has php-oci8 in it.

Additional packages are often in 3rd party repos. Information on additional CentOS repos is available at http://wiki.centos.org/AdditionalResources/Repositories Pay attention to the reference on yum-priorities
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply