Homebrew-brewinstallphp56-intl installed, but php does not load

Source: Internet
Author: User
Tags apc intl
The system osx10.11 uses an nginx project under php56brew under brew. During the installation process, it prompts that intl and apc extensions are missing, and the following statements are used to download them, but php is still not loaded. How can this problem be solved? I also asked how to install the apc extension, using the system OS x 10.11
Use php56 in brew.
Nginx under brew

The following error occurs during the installation of a Project,Intl and apcThe extension is downloaded and installed with the following statement, but php is still not loaded. How can this problem be solved?
Also,apcHow to install extension, usebrew search php56NoapcExtension

➜  brew reinstall php56-intl  --build-from-source==> Reinstalling homebrew/php/php56-intl==> Downloading https://php.net/get/php-5.6.17.tar.bz2/from/this/mirrorAlready downloaded: /Library/Caches/Homebrew/php56-intl-5.6.17==> /usr/local/opt/php56/bin/phpize==> ./configure --prefix=/usr/local/Cellar/php56-intl/5.6.17 --with-php-config=/us==> make==> CaveatsTo finish installing intl for PHP 5.6:  * /usr/local/etc/php/5.6/conf.d/ext-intl.ini was created,    do not forget to remove it upon extension removal.  * Validate installation via one of the following methods:  *  * Using PHP from a webserver:  * - Restart your webserver.  * - Write a PHP page that calls "phpinfo();"  * - Load it in a browser and look for the info on the intl module.  * - If you see it, you have been successful!  *  * Using PHP from the command line:  * - Run "php -i" (command-line "phpinfo()")  * - Look for the info on the intl module.  * - If you see it, you have been successful!==> Summary?  /usr/local/Cellar/php56-intl/5.6.17: 3 files, 372.8K, built in 41 seconds

Reply content:

System OS x 10.11
Use php56 in brew.
Nginx under brew

The following error occurs during the installation of a Project,Intl and apcThe extension is downloaded and installed with the following statement, but php is still not loaded. How can this problem be solved?
Also,apcHow to install extension, usebrew search php56NoapcExtension

➜  brew reinstall php56-intl  --build-from-source==> Reinstalling homebrew/php/php56-intl==> Downloading https://php.net/get/php-5.6.17.tar.bz2/from/this/mirrorAlready downloaded: /Library/Caches/Homebrew/php56-intl-5.6.17==> /usr/local/opt/php56/bin/phpize==> ./configure --prefix=/usr/local/Cellar/php56-intl/5.6.17 --with-php-config=/us==> make==> CaveatsTo finish installing intl for PHP 5.6:  * /usr/local/etc/php/5.6/conf.d/ext-intl.ini was created,    do not forget to remove it upon extension removal.  * Validate installation via one of the following methods:  *  * Using PHP from a webserver:  * - Restart your webserver.  * - Write a PHP page that calls "phpinfo();"  * - Load it in a browser and look for the info on the intl module.  * - If you see it, you have been successful!  *  * Using PHP from the command line:  * - Run "php -i" (command-line "phpinfo()")  * - Look for the info on the intl module.  * - If you see it, you have been successful!==> Summary?  /usr/local/Cellar/php56-intl/5.6.17: 3 files, 372.8K, built in 41 seconds

It is not clear how your specific environment configuration is. Note the following:
Php has several isapis, including cli mode and apache mode. Each mode may correspond to a php. ini. Is extension =/path/intl added to the correct ini file. so?
If the apc does not provide brew, it can only be compiled and installed manually. The general steps are as follows:
Go to the apc source code root directory, phpize-"configure-" make-"make install, and add extension =/path/apc. so to the INI file.

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.