Configure Nginx - PHP 5.6.x on Mac OS Sierra...

Install homebrew :

    Run this command to install homebrew at system level

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    Run bellow command and check if have any thing need to be fixed.

$ sudo chown -R $(whoami) /usr/local
$ brew doctor

Install nginx :

    Command to install nginx via brew.

$ brew install nginx

Install PHP 5.6 :

     To install PHP v 5.6.x (script is from http://php-osx.liip.ch)

$ curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6 

Enable new PHP 5.6 at system :

$ nano ~/.bash_profile

       Enter:

             export PATH="/usr/local/php5/bin:/usr/local/bin:$PATH"

Disable apple builtin old php-fpm version :

        sudo mv /usr/sbin/php-fpm /usr/sbin/php-fpm.old

Create symlink for new version of php-fpm:

        sudo ln -s /usr/local/php5/sbin/php-fpm /usr/local/bin/







Comments

  1. A solar system (with a battery system) of up to 10kW in a capacity that is installed at homes qualifies to be a residential solar system. The investment would be somewhere around Rs. 1,00,000 per kW. The electricity bills of a home are generally Rs. 1,000 per month. Installing a solar system in such an establishment could result in savings of Rs.8,400 per annum. The investment is expected to have an RoI (payback period) of ~10-11 years and the return on investments will be around 8%.
    You can become a Solar distributor and helps in sustaining the future by investing the Green energy.

    ReplyDelete

Post a comment

Popular posts from this blog

Datastax Error : Cassandra - Saved cluster name Test Cluster != configured name

Datastax Error : Cannot start node if snitch's data center (dc1) differs from previous data center (dc2)

Configure Nagios plugin " check_logfiles " for scanning log file

Popular posts from this blog

Datastax Error : Cassandra - Saved cluster name Test Cluster != configured name

Datastax Error : Cannot start node if snitch's data center (dc1) differs from previous data center (dc2)

Configure Nagios plugin " check_logfiles " for scanning log file