Php compilation error php-5.3.28/ext/mysql/php_mysql.c: 2266: undefined reference to '_ mysqlnd_fetch_lengths'
Mysql has been compiled. how can this problem be solved?
Reply to discussion (solution)
Post your compilation steps
Php compilation is successful. When apache is started, the following prompt is displayed: Cannot load modules/libphp5.so into server:/usr/local/apache/modules/libphp5.so: undefined symbol: unixd_config.
Lnmp.org
The problem is not very clear. paste the command you used when compiling php.
Apache does not support php.
Axps2 is not added to apache extension during php compilation.
Apache does not support php.
Axps2 is not added to apache extension during php compilation.
Added -- with-apxs2
The compilation is successful. When apache is restarted, the following error occurs: Unable to load dynamic library '/usr/local/php/include/php/ext/php_mysql.dll.
How can this problem be solved?
This php_mysql.dll exists!
The compilation is successful. When apache is restarted, the following error occurs: Unable to load dynamic library '/usr/local/php/include/php/ext/php_mysql.dll.
How can this problem be solved?
Check whether mysql extensions are not loaded in php. ini. extension = php _ mysql. dll and/usr/local/php/include/php/ext/php_mysql.dll.
The above problem is solved. restart apache and a new problem occurs. Cannot load modules/libphp5.so into server:/usr/local/apache/modules/libphp5.so: undefined symbol: php_escape_html_entities
It turns out that the installation package is incorrect. if the gz package does not work, you must use the bz2 package.