PHP code example of evgip / w3a
1. Go to this page and download the library: Download evgip/w3a 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/ */
evgip / w3a example snippets
nginx
server {
listen 80;
server_name w3a.local;
root /path/to/w3a/public;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;