B
B
Bisekenov2019-09-15 14:34:40
PHP
Bisekenov, 2019-09-15 14:34:40

How to run a module in PHP?

Good afternoon! I have a module for PHP, during the test it displays an error:

РHP Warning:  PHP Startup: Unable to load dynamic library 'kalkancrypt.so' (tried: /usr/lib64/php/modules/kalkancrypt.so (/usr/lib64/php/modules/kalkancrypt.so: undefined symbol: SetProxy), /usr/lib64/php/modules/kalkancrypt.so.so (/usr/lib64/php/modules/<b>kalkancrypt.so.so</b>: cannot open shared object file: No such file or directory)) in Unknown on line 0

For some reason, the .so extension was displayed twice in the error
. The imagemagik module also worked fine before that. After installing PHP 7,3,9 and he started to swear:
PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib64/php/modules/imagick.so (/usr/lib64/php/modules/imagick.so: undefined symbol: spl_ce_Countable), /usr/lib64/php/modules/<b>imagick.so.so</b> (/usr/lib64/php/modules/<b>imagick.so.so</b>: cannot open shared object file: No such file or directory)) in Unknown on line 0
Could not open input file: test.php

Accordingly, the error in the script:
Fatal error: Uncaught Error: Call to undefined function KalkanCrypt_Init() in

Server:
CentoOS 7
PHP 7.3.9
Nginx as proxy for Apache and IIS

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question