Download and install mysqli extension
Install mysqli:
Wget-c http://hubeidc.com/dl/wdcp/mysqli/mysqli_ins.sh & chmod 755 mysqli_ins.sh &./mysqli_ins.sh
In this case, there will be no installation errors, and some hosts of the official scripts will report errors.
Solution to General installation errors:
A:-If mysql config not found is prompted during installation
Solution:
In the mysqli_ins.sh script. /configure -- with-php-config =/www/wdlinux/php/bin/php-config script added after -- with-mysqli =/www/wdlinux/mysql/bin/mysql_config
Save mysqli_ins.sh, and then run and install.
B:-no error is reported, but the installation is not completed.
Mysqli
It seems that the installation is complete, but it is not successful yet.
Solution:
A-run
Ln-sf/www/wdlinux/apache_php/etc/php. ini/www/wdlinux/etc/php. ini
B: execute the script to install
Sh mysqli_ins.sh
Any software installation process will inevitably lead to problems, and you should be good at organizing and summarizing problems, so that you can easily deal with various problems in the future.
Discuz website: Discuz! System Error
Oops! System file lost: class/class_mysqli.php in this case, discuz is caused by the absence of mysqli installation. Please follow the above steps to install it.