I updated php to version 5.4 but now I can not install the package php5-ffmpeg because it gives me this error:
php5-ffmpeg: Depends: phpapi-20090626
also if I try to write php-v gives me this warning:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20100525/ffmpeg.so' - / usr/lib/php5/20100525/ffmpeg.so:
can not open shared object file: No such file or directory in Unknown on line 0
5.4.17RC1 PHP (cli) (built: Jun 22 2013 19:27:26)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Some solution?
Related
Just updated PHP to 5.6.30 and every PHP request produces a WARNING
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/amqp.so' - /usr/lib64/php/modules/amqp.so: undefined symbol: amqp_ssl_socket_set_verify_peer in Unknown on line 0
Package php-pecl-amqp-1.8.0-1.el6.remi.5.6.x86_64 is installed and the latest version.
I use CentOS release 6.7 (Final)
I can only reproduce with librabbitmq-last version 0.7.1
# yum --enablerepo=remi-php56 install php-pecl-amqp
...
Installed:
php-pecl-amqp.x86_64 0:1.8.0-1.el6.remi.5.6
Dependency Installed:
librabbitmq-last.x86_64 0:0.8.0-1.el6.remi
# php -v
PHP 5.6.30 (cli) (built: Jan 19 2017 08:09:42)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
# php -m | grep amqp
amqp
So ensure you have latest librabbitmq-last version 0.8.0 (in "remi-safe" repository, which is required and enabled by default)
P.S. indeed, this symbol was not in 0.7.x, but was introduced in 0.8.0
I failed install PDO on Centos 6.5 using
# pecl install PDO
WARNING: "pecl/PDO" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo//ext/PDO"
downloading PDO-1.0.3.tar ...
<redacted>
/tmp/pear/temp/PDO/pdo.c: In function ‘php_pdo_get_exception_base’:
/tmp/pear/temp/PDO/pdo.c:78: error: too few arguments to function ‘zend_exception_get_default’
make: *** [pdo.lo] Error 1
ERROR: `make' failed
My PHP version
# php -v
PHP 5.4.25 (cli) (built: Mar 7 2014 21:04:52)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
Any idea how can I enabled PDO?
php --version
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' -
/usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
I check all file in : /etc/php.d/
It was mcrypt.ini with this line
extension=module.so
but module.so not exist in /usr/lib64/php/modules/
I reinstalled mcrypt with yum install mcrypt and the result I have mcryp.so in /usr/lib64/php/modules/
so now just correct the line in mcrypt.ini and make
extension=mcrypt.so
Now all is ok
I'm trying to install Magento but getting the error above. I've scoured the web for how to create the mcrypt extension (http://www.oldapps.com/php_programming_language.php?old_php=12364), but without luck because I can't find my version of PHP to install it (php 5.3.26).
I added mcrypt to the extensions list but now I just get this error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so, 9): image not found in Unknown on line 0
PHP 5.3.26 (cli) (built: Jul 7 2013 19:05:08)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
Scour the web for the source, try here: http://www.oldapps.com/php_programming_language.php?old_php=12364
Getting below errors while running php -v on my server, it was running fine since many days and suddenly showing up this:
PHP Warning: PHP Startup: Unable to load dynamic library
'.//usr/local/sphinx/sphinx.so' - .//usr/local/sphinx/sphinx.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
'.//usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so'
- .//usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so:
cannot open shared object file: No such file or directory in Unknown
on line 0
PHP 5.2.17 (cli) (built: Apr 2 2012 18:43:50) Copyright (c) 1997-2010
The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend
Technologies with the ionCube PHP Loader v4.0.14, Copyright (c)
2002-2011, by ionCube Ltd.