This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Problem Solving 2a: is PHP-FPM listening correctly? | |
| A common issue is that the PHP-FPM service is not listening to the host/port which is configured in NGINX. Find the www.conf file on your server in the PHP folder. On Ubuntu this can be found here: | |
| /etc/php5/fpm/pool.d/www.conf | |
| Search for the listen parameter and make note of it: | |
| The address on which to accept FastCGI requests. | |
| Valid syntaxes are: | |
| 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Problem Solving 2a: is PHP-FPM listening correctly? | |
| A common issue is that the PHP-FPM service is not listening to the host/port which is configured in NGINX. Find the www.conf file on your server in the PHP folder. On Ubuntu this can be found here: | |
| /etc/php5/fpm/pool.d/www.conf | |
| Search for the listen parameter and make note of it: | |
| ; The address on which to accept FastCGI requests. | |
| ; Valid syntaxes are: | |
| ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(window, document, JSON){ | |
| "use strict"; | |
| var SEP = '|', ua, opera, ie; | |
| /* | |
| * Collect Browser & Device Data | |
| */ | |
| var cc = { | |
| //generating ids | |
| hashString : function (s) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'mechanize' | |
| FIRST_NAME = 'FIRST_NAME' | |
| LAST_NAME = 'LAST_NAME' | |
| PHONE = 'PHONE' | |
| EMAIL = '[email protected]' | |
| PARTY_SIZE = 2 | |
| SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' } |