English
Ask Your Question
0

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd.so'

asked 2015-08-04 22:04:21 +0000

I really like DevAssistant's idea, but, since F21, when I'm going to start with something, I try to use DevAssistant and it brokes somewhere. I think the idea is to make developers spend little times in configuring a devel environment, but I allways lose time trying to make DevAssistant works..

That's today's problem, once a time, when I tryed to use it, It throws an sql configuration problem, I think it was 'cause I didn't specify a pass...

Copying AMP source tree to /home/**/public_html/phpproject
pkexec /usr/libexec/da_auth << DA_AS_USER_ROOT
bash /usr/share/devassistant/files/crt/php/lamp/apache_config.sh phpproject /home/**
DA_AS_USER_ROOT
Checking SELinux...
SELinux is: Enforcing
Enabling httpd.service
Enabling and starting mysqld.service
Creating configuration file for Apache httpd
Checking whether UserDir is enabled
Restarting httpd.service
Restarting httpd.service done
php /usr/share/devassistant/files/crt/php/lamp/create_database.php passwordhere
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd.so' - /usr/lib64/php/modules/mysqlnd.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/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.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/lib64/php/modules/mysqli.so' - /usr/lib64/php/modules/mysqli.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/lib64/php/modules/pdo_mysql.so' - /usr/lib64/php/modules/pdo_mysql.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/lib64/php/modules/mysqlnd.so' - /usr/lib64/php/modules/mysqlnd.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/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.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/lib64/php/modules/mysqli.so' - /usr/lib64/php/modules/mysqli.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/lib64/php/modules/pdo_mysql.so'
    - /usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

I don't know if the problem is from DevAssistant or what, but, can someone helpme with this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-04 22:53:45 +0000

Lokks like you have not installed php-pecl-mysqlnd-ms or php-pear-MDB@-Driver-mysqli but basical so

sudo dnf install php-pear-MDB2 php-pear-MDB2-Driver-mysql php-pear-MDB2-Driver-mysqli php-pecl-mysqlnd-ms

Will solve your issue not sure if dev assitant had to install them for your project or not but that is missin

edit flag offensive delete link more

Comments

Thank you, this worked for me on 4.1.6-200.fc22.x86_64

IRBiddlecombe ( 2015-09-09 04:59:38 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2015-08-04 22:04:21 +0000

Seen: 1,029 times

Last updated: Aug 04 '15