PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib/php/modules/opcache.so (/usr/lib/php/modules/opcache.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/modules/opcache.so.so (/usr/lib/php/modules/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: bcmath: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: ctype: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: exif: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: ftp: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pcntl.so' (tried: /usr/lib/php/modules/pcntl.so (/usr/lib/php/modules/pcntl.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/modules/pcntl.so.so (/usr/lib/php/modules/pcntl.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 'pgsql.so' (tried: /usr/lib/php/modules/pgsql.so (/usr/lib/php/modules/pgsql.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/modules/pgsql.so.so (/usr/lib/php/modules/pgsql.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 'phar.so' (tried: /usr/lib/php/modules/phar.so (/usr/lib/php/modules/phar.so: undefined symbol: spl_ce_Countable), /usr/lib/php/modules/phar.so.so (/usr/lib/php/modules/phar.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 'php_terra_master.so' (tried: /usr/lib/php/modules/php_terra_master.so (/usr/lib/php/modules/php_terra_master.so: undefined symbol: _tsrm_ls_cache), /usr/lib/php/modules/php_terra_master.so.so (/usr/lib/php/modules/php_terra_master.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: posix: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: redis: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: shmop: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'simplexml.so' (tried: /usr/lib/php/modules/simplexml.so (/usr/lib/php/modules/simplexml.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/modules/simplexml.so.so (/usr/lib/php/modules/simplexml.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 'soap.so' (tried: /usr/lib/php/modules/soap.so (/usr/lib/php/modules/soap.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/modules/soap.so.so (/usr/lib/php/modules/soap.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: sockets: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: sysvshm: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: tokenizer: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: xml: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: xmlreader: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: xmlwriter: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: zip: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20180731
These options need to match
in Unknown on line 0
PHP 7.3.2 (cgi-fcgi) (built: Jun 1 2021 12:09:45)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.2, Copyright (c) 1998-2018 Zend Technologies
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Thank you, I have done this, but I do not see a specific response to this question. The question is specific to the Beta 7.3 application available under TOS Applications.
Once installed, where are the libraries? And more importantly, why do they not replace the standard 7.1 php that is shipped with the current version of TOS?
No, just because many services in TOS call the default php, it can't replace the system default php version like that way.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Bump. Having the same issue. How to call PHP 7.4 from command line to run occ command for NextCloud?
Having the same error as OP:
/mnt/md1/application/bin/php74-cgi: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
/usr/local/bin/php74-cgi: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Version 7.3 is also missing some libs. Where to find them?
I found how to use occ with Nextcloud. It works if you have installed Nextcloud with Docker. You simply have to execute occ inside your docker container.
First go to application bin:
cd /mnt/md1/application/bin
Then enter your container command prompt:
docker exec --user 911 -it nextcloud /bin/bash
Then navigate to the correct directory and you can execute occ: