System OS X 10.11
With the php56 under the brew.
The Nginx under Brew
Under a project, during the installation process prompted missing, intl 和 apc
extension, the following statements are downloaded, also loaded, but PHP is still not loaded, how to do?
In addition ask, apc
extension how to install, with brew search php56
and does not apc
extend
➜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-i Ntl.ini was created, does 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 are there been successful! * * Using PHP from the command line: *-Run ' php-i ' (Command-Line "phpinfo ()") *-Look for the info on the intl Modu Le. *-If you see it, do you have been successful!==> Summary? /Usr/local/cellar/php56-intl/5.6.17:3 files, 372.8K, built in seconds
Reply content:
System OS X 10.11
With the php56 under the brew.
The Nginx under Brew
Under a project, during the installation process prompted missing, intl 和 apc
extension, the following statements are downloaded, also loaded, but PHP is still not loaded, how to do?
In addition ask, apc
extension how to install, with brew search php56
and does not apc
extend
➜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-i Ntl.ini was created, does 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 are there been successful! * * Using PHP from the command line: *-Run ' php-i ' (Command-Line "phpinfo ()") *-Look for the info on the intl Modu Le. *-If you see it, do you have been successful!==> Summary? /Usr/local/cellar/php56-intl/5.6.17:3 files, 372.8K, built in seconds
It's not clear how your specific environment is configured. However, it is important to note the following:
PHP ISAPI has several, CLI mode, Apache mode and so on, maybe each mode corresponds to a php.ini, is not in the correct INI file to add extension=/path/path/intl.so?
APC If brew is not provided, it can only be manually compiled and installed, the general steps are this:
To the APC source root directory, phpize-"configure-" make-"make install, add extension=/path/apc.so to the INI file