if you want to change listen port for php-fpm, (default 9001), you also should check it.ģ.5 Create.We will use this pid to kill php-fpm running instance in script 3.5 bellow pid file, this file is auto created by php-fpm every start to save it's process id.Nginx : /usr/local/etc/nginx/nf 3.4.1 Config php.ini bash_profile to add new line alias composer="php /usr/local/bin/composer" To install PHP v 5.6.x (script is from ) curl -s | bash -s 5.6ģ.2 Enable new PHP 5.6 at system nano ~/.bash_profileĮnter: export PATH="/usr/local/php5/bin:/usr/local/bin:$PATH"ĭisable apple builtin old php-fpm version sudo mv /usr/sbin/php-fpm /usr/sbin/php-fpm.oldĬreate symlink for new version of php-fpm sudo ln -s /usr/local/php5/sbin/php-fpm /usr/local/bin/ģ.3 Install composer curl -sS | php -install-dir=/usr/local/bin -filename=composer sudo chown -R $(whoami) /usr/localĬommand to install nginx via brew. ![]() Run bellow command and check if have any thing need to be fixed. Run this command to install homebrew at system level /usr/bin/ruby -e "$(curl -fsSL )" Mac OS X El Capitan setup Nginx - PHP 5.6.x, MySQL 5.7.x, phpMyAdmin 1 Install homebrew
0 Comments
Leave a Reply. |