• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • 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.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

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