Linux-after phpize, the extensions are correctly compiled and cannot be loaded ..

Source: Internet
Author: User
Yesterday, I encountered a problem with the sourcecodecompilePHP extension in linux. It is not completely involved. Please also advise that apachemysqlphp has been compiled and installed, and the PHP program can also be executed ,, when you run a PHP file, the message "mbstring" is also used without this extension... "is displayed... yesterday, I encountered a problem with the source code compile PHP extension in linux. I have not been fully involved. Please give me some advice.

Apache mysql php has been compiled and installed, and the PHP program can also be executed. When a php file is run, the message "mbstring does not have this extension" is displayed.

Also, use phpize configure make install to compile and install the SDK. Go to the PHP installation directory and check it, mbstring. so is indeed compiled to the php install path \ extendsion directory, php. in ini, mbstring is also enabled. so, in gnome-terminal run PHP-m, that is, there is no mbstring. so this extension, restart apache, through PHP phpinfo (); also does not load mbstring. so this extension ....

Where does this problem occur? For more information, see debian linuxapache 2.4.6mysql 5.6php 5.5.4.

Reply content:

Yesterday, I encountered a problem with the source code compile PHP extension in linux. I have not been fully involved. Please give me some advice.

Apache mysql php has been compiled and installed, and the PHP program can also be executed. When a php file is run, the message "mbstring does not have this extension" is displayed.

Also, use phpize configure make install to compile and install the SDK. Go to the PHP installation directory and check it, mbstring. so is indeed compiled to the php install path \ extendsion directory, php. in ini, mbstring is also enabled. so, in gnome-terminal run PHP-m, that is, there is no mbstring. so this extension, restart apache, through PHP phpinfo (); also does not load mbstring. so this extension ....

Where does this problem occur? For more information, see debian linuxapache 2.4.6mysql 5.6php 5.5.4.

Lookphpinfo()InsideConfiguration File (php.ini) PathIs your modified php. ini,extension_dirWhether it is the location of mbstring. so.

Solved the problem. extendsion_dir = the problem directory is not fully written. The directory generated automatically by PHP is not included in the directory in the "eye" period. a lamp integrated environment is found, and all PHPINFO files are printed, the two checks show that the method is stupid.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.