PHP code example of bookfrank / stylite-blog
1. Go to this page and download the library: Download bookfrank/stylite-blog library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bookfrank / stylite-blog example snippets
nginx
server {
listen 80;
server_name your-blog.com;
root /path/to/project/public;
location / {
index index.php;
try_files $uri $uri/ /index.php?$query_string;
}
#proxy the php scripts to php-fpm
location ~ \.php$ {
index index.php index.html;