• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Debian / oci8 extension for PHP 7.4

The points-out that on systems running systemd, environment variables, such as LD_LIBRARY_PATH, are not necessarily propagated to processes that are started via a systemd Unit.
The only solution that works for me:

# cd /usr/lib/systemd/system/plesk-php74-fpm.service.d/
# vi environment.conf
with:
[Service]
Environment=LD_LIBRARY_PATH=/opt/oracle/instantclient_19_14
# systemctl daemon-reload
# systemctl restart plesk-php74-fpm
 
  • Like
Reactions: mow
hi guys i have problem with that

/opt/plesk/php/7.4/bin/php --ri oci8
PHP Warning: PHP Startup: Unable to load dynamic library 'oci8_12c' (tried: /opt/plesk/php/7.4/lib/php/modules/oci8_12c (/opt/plesk/php/7.4/lib/php/modules/oci8_12c: cannot open shared object file: No such file or directory), /opt/plesk/php/7.4/lib/php/modules/oci8_12c.so (/opt/plesk/php/7.4/lib/php/modules/oci8_12c.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_oci' (tried: /opt/plesk/php/7.4/lib/php/modules/pdo_oci (/opt/plesk/php/7.4/lib/php/modules/pdo_oci: cannot open shared object file: No such file or directory), /opt/plesk/php/7.4/lib/php/modules/pdo_oci.so (/opt/plesk/php/7.4/lib/php/modules/pdo_oci.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /opt/plesk/php/7.4/lib/php/modules/oci8.so (/opt/plesk/php/7.4/lib/php/modules/oci8.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.4/lib/php/modules/oci8.so.so (/opt/plesk/php/7.4/lib/php/modules/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /opt/plesk/php/7.4/lib/php/modules/oci8.so (/opt/plesk/php/7.4/lib/php/modules/oci8.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.4/lib/php/modules/oci8.so.so (/opt/plesk/php/7.4/lib/php/modules/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_oci.so' (tried: /opt/plesk/php/7.4/lib/php/modules/pdo_oci.so (/opt/plesk/php/7.4/lib/php/modules/pdo_oci.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.4/lib/php/modules/pdo_oci.so.so (/opt/plesk/php/7.4/lib/php/modules/pdo_oci.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Extension 'oci8' not present.
 
i have intall but still show error

php -m
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
imap
ionCube Loader
json
libxml
mbstring
mysqli
mysqlnd
oci8
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
the ionCube PHP Loader + ionCube24
 
PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /opt/plesk/php/7.4/lib/php/modules/oci8.so (/opt/plesk/php/7.4/lib/php/modules/oci8.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.4/lib/php/modules/oci8.so.so (/opt/plesk/php/7.4/lib/php/modules/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_oci.so' (tried: /opt/plesk/php/7.4/lib/php/modules/pdo_oci.so (/opt/plesk/php/7.4/lib/php/modules/pdo_oci.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.4/lib/php/modules/pdo_oci.so.so (/opt/plesk/php/7.4/lib/php/modules/pdo_oci.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Extension 'oci8' not present.
 
You may have entered it into the configuration and it might have been present before, but the error messages say that the files are missing.
 
Back
Top