Server Configuration

phpVMS can be run on a shared host, where you can't change the path of the home directory. Just uploading the phpVMS directory and navigating to it should work.

Either on a VPC or your own dedicated host is the best way to run phpVMS. As Laravel is designed, the /public directory is the directory that a vhost should be pointing to, since this is more secure. Having your own server will also allow you to setup a Redis queue and other optimizations to maximize your install's performance. Any serious VA that uses ACARS and other operations should be on a VPC.

The paths below will need to be changed to what's correct for your server. You also need to have php-fpm installed.

server {
  listen 80 default_server;
  listen [::]:80 default_server ipv6only=on;

  root /var/www/phpvms/public; # Also depends on your server
  index index.php index.html index.htm;

  location / {
    try_files $uri $uri/ =404;
  }

  location ~ .php$ {
    fastcgi_pass   unix:/run/php/php7.1-fpm.sock;  # Depends on your server
    fastcgi_index  index.php;
    fastcgi_buffers 16 8k;
    fastcgi_buffer_size 16k;
    fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
    include        /etc/nginx/fastcgi_params;
  }

  location ~ /\.ht {
    deny all;
  }
}