![]() # LoadModule php5_module /usr/lib/httpd/modules/libphp5.3.21.so enable-ftp -apxs2=/opt/local/apache2/bin/apxs $ phpbrew use 5.4.22 $ phpbrew switch 5.4.18 $ phpbrew off $ sudo vim /etc/httpd/conf/nf $ phpbrew install 5.3.10 +pdo +mysql +pgsql +apxs2=/usr/bin/apxs2 $ phpbrew install 5.4.1 +pgsql+pdo $ phpbrew install 5.4.1 +pdo+pgsql=/opt/local/lib/postgresql91/bin $ phpbrew install 5.4.1 +neutral $ phpbrew install 5.3.10 +mysql +sqlite - \ $ phpbrew install 5.3.10 +mysql+debug+pgsql +apxs2 $ phpbrew install 5.4.5 +default+dbs $ phpbrew install 5.3.10 +mysql+sqlite+cgi Phpbrew install 5.3.10 +mysql +pdo +apxs2=/usr/bin/apxs2 +mysql Phpbrew install 5.3.10 +mysql +pdo +apxs2 ![]() Pcntl, bz2, zip, cli, json, mbstring, mbregex, calendar, sockets, readline, Soap, sockets, sqlite, tidy, tokenizer, xml_all, xmlrpc, zip, zlib, gmpĭefault: filter, dom, bcmath, ctype, mhash, fileinfo, pdo, posix, ipc, Mysql, openssl, pcntl, pcre, pdo, pgsql, phar, posix, readline, session, Imap, intl, ipc, ipv6, json, kerberos, mbregex, mbstring, mcrypt, mhash, $ phpbrew known -more $ phpbrew update $ phpbrew update -old $ phpbrew known -old $ phpbrew install 5.4.0 +default $ phpbrew install -j $(nproc) 5.4.0 +default $ phpbrew install -test 5.4.0 $ phpbrew -d install -test 5.4.0 $ phpbrew install -old 5.2.13 $ phpbrew install next as php-7.1.0 $ phpbrew install github:php/ as php-7.0.0 $ phpbrew clean php-5.4.0 $ phpbrew variantsĪll, apxs2, bcmath, bz2, calendar, cgi, cli, ctype, dba, debug, dom, embed,Įxif, fileinfo, filter, fpm, ftp, gcov, gd, gettext, hash, iconv, icu, $ brew update$ brew install icu4c $ sudo pecl update-channels$ sudo pecl install intl /usr/local/Cellar/php55/5.5.19/lib/php/extensions/no-debug-non-zts-20121212/intl.so dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.54.dylibReferenced from: /usr/local/bin/phpReason: image not found $ brew upgrade php55 $ php -ini extension=your-intl.so-extension-path extension=/usr/local/Cellar/php55/5.5.19/lib/php/extensions/no-debug-non-zts-20121212/intl.so $ sudo apachectl restart $ php -m | grep intl Homebrew FormulaeĬhmod +x phpbrew.phar sudo mv phpbrew.phar /usr/local/bin/phpbrew $ phpbrew init ] & source ~/.phpbrew/bashrc $ phpbrew lookup-prefix homebrew $ phpbrew lookup-prefix macports $ phpbrew knownĥ.6: 5.6.18, 5.6.17, 5.6.16, 5.6.15, 5.6.14, 5.6.13, 5.6.12, 5.6.11. LoadModule php7_module /usr/local/Cellar//7.2.31_1/lib/httpd/modules/libphp7.soīrew install php70-intl brew install php56-intl Budi Irawan LoadModule php7_module libexec/apache2/libphp7.so Rm /usr/local/etc/php/7.1/conf.d/ext-intl.ini fault_locale => no value => no valueĮxtension="/usr/local/php5/lib/php/extensions/no-debug-non-zts-20151012/intl.so"Įxport PATH=/opt/local/bin:/opt/local/sbin:$PATHĮxtension=/usr/local/Cellar/php71-intl/7.1.11_20/intl.so ini files parsed => /usr/local/etc/php/7.1/conf.d/ext-intl.ini Install intl PHP extension OSX High SierraĮcho 'export PATH="/usr/local/opt//bin:$PATH"' > ~/.bash_profileĮcho 'export PATH="/usr/local/opt//sbin:$PATH"' > ~/.bash_profileĪdditional.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |