Apache out front
Static files, PHP pages, rewrites, and virtual hosts have a familiar home base.
Apache, PHP, and PostgreSQL are warmed up for whatever you want to build next: experiments, dashboards, tiny apps, or a delightfully overqualified homepage.
Static files, PHP pages, rewrites, and virtual hosts have a familiar home base.
Drop in a PHP file and start shaping requests, sessions, templates, and app logic.
Use a local relational database when your site needs users, content, or settings.
$ cd /var/www/html $ sudoedit index.html $ sudo systemctl status apache2 postgresql $ curl http://localhost