Ask Your Question
0

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

asked 2015-08-04 17:04:21 -0500

chinosoliard gravatar image

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 17:53:45 -0500

aeperezt gravatar image

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 gravatar imageIRBiddlecombe ( 2015-09-08 23:59:38 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-08-04 17:04:21 -0500

Seen: 1,122 times

Last updated: Aug 04 '15