Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Apr-Oct Enderby, BC Canada Oct-Mar Somewhere warm
Distribution: Debian 6 and 7
Posts: 46
Rep:
PHP error after update
I updated my Centos system and it must have updated PHP because I am now getting an error when I run a script.
The command in the script is
php youtube-get-embed-code.php
It has been running OK for months but today after the update I get this error:
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
I looked in /usr/lib64/php/modules/ and the file is not there. I also did a "find / -name module.so" on the system and module.so was not found ??
Can someone help a newbie with this problem.
The following is what is produced when I run php -v
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: Feb 22 2013 02:51:11)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
You have new mail in /var/spool/mail/root
Probably you have a line in your php.ini (or php-cli.ini) loading this non-existing module. Look for extension=module.so in you ini file and remove it (or comment it).
Location: Apr-Oct Enderby, BC Canada Oct-Mar Somewhere warm
Distribution: Debian 6 and 7
Posts: 46
Original Poster
Rep:
Quote:
Originally Posted by Diantre
Probably you have a line in your php.ini (or php-cli.ini) loading this non-existing module. Look for extension=module.so in you ini file and remove it (or comment it).
Thanks for the reply but I had a look in php.ini but the text "module.so" is not in the file ??
Thanks again for the reply. I found it in a file called mcrypt.ini which seems to be used by php-ZendFramework. I use ZendGdata to send videos to youtube api at 00:15 each day. It is a video of the photos from my web cam that are taken every minute. http://dingo-den.com
Not very interesting videos but keeps an old fart like me busy thinking up new things to do and I am trying to keep my mind active.
Thanks for the reply it fixed the problem, I am hoping that the video upload works tonight.
It seems module.so is a default/dummy setting for new modules, as I couldn't find module.so anywhere. Though I did find mcrypt.so, so I edited mcrypt.ini as below, which fixed my error.
It seems module.so is a default/dummy setting for new modules, as I couldn't find module.so anywhere. Though I did find mcrypt.so, so I edited mcrypt.ini as below, which fixed my error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.