![install ubuntu 17 php7 pdfinfo install ubuntu 17 php7 pdfinfo](https://www.linuxbabe.com/wp-content/uploads/2017/12/run-multiple-php-versions-ubuntu-server.png)
It fails for me, using kubuntu 20.04, OCI 21.6, and php7.2 (from ) The error occurs on sudo pecl install oci8-2.2.0. My problem was having multiple PHP versions installed, it was using the wrong php-dev version. libs/oci8.so /usr/bin/ld: skipping incompatible /opt/oracle/instantclient_21_7/libclntsh.so when searching for -lclntsh /usr/bin/ld: cannot find -lclntsh: No such file or directory /usr/bin/ld: skipping incompatible /opt/oracle/instantclient_21_7/libclntsh.so when searching for -lclntsh collect2: error: ld returned 1 exit status make: *** Error 1 ERROR: make' failed`
![install ubuntu 17 php7 pdfinfo install ubuntu 17 php7 pdfinfo](https://www.linuxbabe.com/wp-content/uploads/2017/12/Ubuntu-17.10-php7.2.png)
libs/oci8_failover.o -L/opt/oracle/instantclient_21_7 -lclntsh -g -O2 -Wl,-rpath -Wl,/opt/oracle/instantclient_21_7 -Wl,-soname -Wl,oci8.so -o. bin/bash /tmp/pear/temp/pear-build-rootJI40hE/oci8-3.2.1/libtool -mode=link cc -shared -I/tmp/pear/temp/pear-build-rootJI40hE/oci8-3.2.1/include -I/tmp/pear/temp/pear-build-rootJI40hE/oci8-3.2.1/main -I/tmp/pear/temp/oci8 -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/opt/oracle/instantclient_21_7/sdk/include -DHAVE_CONFIG_H -g -O2 -o oci8.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-rootJI40hE/oci8-3.2.1/modules oci8.lo oci8_lob.lo oci8_statement.lo oci8_collection.lo oci8_interface.lo oci8_failover.lo -Wl,-rpath,/opt/oracle/instantclient_21_7 -L/opt/oracle/instantclient_21_7 -lclntsh libtool: link: cc -shared -fPIC -DPIC. tmp/pear/temp/oci8/oci8_interface.c:1476:37: error: expected ‘ ’ before ‘_optional’ tmp/pear/temp/oci8/oci8_interface.c:1476:3: warning: implicit declaration of function ‘Z_PARAM_ZVAL_DEREF_EX’ did you mean ‘Z_PARAM_ZVAL_EX’? ġ476 | Z_PARAM_ZVAL_DEREF_EX(array, 0, 1) tmp/pear/temp/oci8/oci8_interface.c: In function ‘zif_oci_fetch_all’:
![install ubuntu 17 php7 pdfinfo install ubuntu 17 php7 pdfinfo](https://www.linuxbabe.com/wp-content/uploads/2017/10/wordpress-redirct-www-to-non-www-620x360.png)
The error occurs on sudo pecl install oci8-2.2.0.
![install ubuntu 17 php7 pdfinfo install ubuntu 17 php7 pdfinfo](https://i.ytimg.com/vi/OKICJgdHz-8/maxresdefault.jpg)
There you have it! You are now ready to use PHP in your applications.It fails for me, using kubuntu 20.04, OCI 21.6, and php7.2 (from ) $ sudo apt-get install php7.4-mysql php7.4-curl php7.4-json php7.4-bz2 You can now install the required PHP modules on your system as listed in the above command using the command in the format below. Php8.0-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) Php8.0-ds - PHP extension providing efficient data structures for PHP 7 Php8.0-dev - Files for PHP8.0 module development Php8.0-common - documentation, examples and common module for PHP Php8.0-cli - command-line interpreter for the PHP scripting language Php8.0-cgi - server-side, HTML-embedded scripting language (CGI binary) Php7.4-dev - Files for PHP7.4 module development Now you’re ready to install PHP 7.
#INSTALL UBUNTU 17 PHP7 PDFINFO UPDATE#
Finally, you update apt-get again so your package manager can see the newly listed packages: sudo apt-get update. Php7.4-common - documentation, examples and common module for PHP Next, install the repository ppa:ondrej/php, which will give you all your versions of PHP: sudo add-apt-repository ppa:ondrej/php. Php7.4-cli - command-line interpreter for the PHP scripting language Php7.4-cgi - server-side, HTML-embedded scripting language (CGI binary) The following is a partial output of what to expect.