• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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