1 like 0 dislike
2.7k views
php -v is showing error & if I run any PHP file same error is showing

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
in Education & Reference by | 2.7k views

2 Answers

0 like 0 dislike
I have fixed this to change the syntax of : nano /etc/php.d/mcrypt.ini

and marked out/comment the module.so line

; Enable mcrypt extension module ;extension=module.so

after this php -v is working…

php -v 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
by
0 like 0 dislike
I think, and I also found other pages saying the same, that this should be changed to:

; Enable mcrypt extension module
extension=mcrypt.so

Disabling the line is probably not good. Just compare it with the other ini-Files in /etc/php.d
by

Related questions

0 like 0 dislike
3 answers
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Jun 26, 2019 in Education & Reference by Simmi (630 points) | 83 views
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
asked Jan 4, 2018 in Education & Reference by Sam (1.4k points) | 426 views
0 like 0 dislike
1 answer
asked Aug 1, 2017 in Education & Reference by Krish (820 points) | 180 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,227 questions
1,373 answers
559 comments
2,099 users