Last update at :2024-06-25,Edit by888u
Yesterday, Snail met a netizen who needed to solve the problem of starting the mysqli extension in the WDCP panel he installed, because it was not started in the default installation of the WDCP panel. Because the recently popular WeChat platform program requires the mysqli extension to be installed. Snail search for relevant tutorials can solve this problem, so I recorded the process so that I can solve it with other friends when I need to find this problem in the future.
This friend uses the CENTOS system, so the successful demonstration of this article is on CENTOS, if there are other systems for comparison.
Download the mysqli extension and install it mysqli: wget -c http://down.wdlinux.cn/in/mysqli_ins.shsh mysqli_ins.sh
Generally, if everything goes well, the installation will be successful. But many times errors can occur.
A – If it prompts mysql config not found during installation
Solution:
In the mysqli_ins.sh script./configure –with-php-config=/www/wdlinux/php/bin/php-config add –with-mysqli=/www/wdlinux/mysql/bin/mysql_config< /p>
After saving mysqli_ins.sh, run the installation again.
B – No error reported but not installed yet
It seems that the installation is OK, but it has not been successful yet.
Solution:
a – run
ln -sf /www/wdlinux/apache_php/etc/php.ini /www/wdlinux/etc/php.inib – Perform scripted installation
sh mysqli_ins.shProblems are inevitable during any software installation process. If problems arise, you must be good at organizing and summarizing them, so that you can handle various problems with ease in the future.
Recommended site search: domain name price, agency service IP, overseas virtual host space, cloud virtual host, registered domain name, virtual space purchase, registered international domain name, domain name batch query, monthly payment space, me domain name Register
发表评论