目次

07.起動

/etc/rc.conf.local

php_fpm_enable="YES"
nginx_enable="YES"

チェック

# service nginx configtest
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful

チェック用のページを作る

# sh -c 'echo "<?php phpinfo(); ?>" >  /usr/local/www/mySite/info.php'      <= 環境に合わせる

起動

# service php-fpm restart
# service nginx restart