Author Topic: Give Php snuffleupagus.so error  (Read 1226 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Give Php snuffleupagus.so error
« on: December 27, 2023, 08:44:06 AM »
Hii
My one website gives this error

A PHP Error was encountered
Severity: Core Warning

Message: PHP Startup: Unable to load dynamic library 'snuffleupagus.so' (tried: /opt/alt/php73/usr/lib/php/extensions/no-debug-non-zts-20180731/snuffleupagus.so (/opt/alt/php73/usr/lib/php/extensions/no-debug-non-zts-20180731/snuffleupagus.so: undefined symbol: __zend_strdup), /opt/alt/php73/usr/lib/php/extensions/no-debug-non-zts-20180731/snuffleupagus.so.so (/opt/alt/php73/usr/lib/php/extensions/no-debug-non-zts-20180731/snuffleupagus.so.so: cannot open shared object file: No such file or directory))

Filename: Unknown

Line Number: 0

what is solution of this.thanks

Offline
****
Re: Give Php snuffleupagus.so error
« Reply #1 on: December 27, 2023, 07:39:09 PM »
The module wasn't built/installed.  YOu can either install it
Code: [Select]
snuffleupagus.readthedocs.io/installation.html#manual-installation
, or comment it out in the php.ini file.
Code: [Select]
/opt/alt/php73/usr/php/
« Last Edit: December 27, 2023, 07:41:01 PM by rcschaff »
Google Hangouts:  rcschaff82@gmail.com

Offline
****
Re: Give Php snuffleupagus.so error
« Reply #2 on: December 28, 2023, 04:16:51 AM »
Here's a stop by step guide to install, as it's not straightforward:
Code: [Select]
cd /var/tmp
wget wget https://github.com/jvoisin/snuffleupagus/archive/refs/heads/master.zip
unzip master.zip
cd snuffleupagus-master/src/
/opt/alt/php73/usr/bin/phpize
./configure --enable-snuffleupagus  --with-php-config=/opt/alt/php73/usr/bin/php-config
make
make install
cp -R /var/tmp/snuffleupagus-master/config/ /opt/alt/php73/usr/etc/
mv /opt/alt/php73/usr/etc/config/snuffleupagus.ini /opt/alt/php73/usr/php/php.d/
nano /opt/alt/php73/usr/php/php.d/snuffleupagus.ini   <<< Change sp.configuration_file to /opt/alt/php73/usr/etc/config/default.rules


Google Hangouts:  rcschaff82@gmail.com