https://oonlab.com/code/2016/08/12/setup-caddy-on-ubuntu-to-work-with-php/
Sorry if that spam.
https://oonlab.com/code/2016/08/12/setup-caddy-on-ubuntu-to-work-with-php/
Sorry if that spam.
Hi, neat little guide. Couple thoughts - firstly, your website is serving a certificate for github… As for the guide itself:
sudo chown www-data:www-data /opt/www
/etc/ssl/caddy
to the root group, since root can read/write everything anyway - just set it to www-data:www-data
sudo chown -R www-data:root /etc/ssl/caddy
, just use sudo chown www-data:www-data /etc/ssl/caddy
sudo chmod 700 /etc/ssl/caddy
for thistls your@yourdomain.com.com
, some of us aren’t lucky enough to own the com.com domain
fastcgi / /var/run/php/php7.0-fpm.sock php
, see the fastcgi docs for the php preset / examples
sudo rm -r /opt/www/tes.php
, you’re only removing one fileDave, you should incorporate Matthews suggestions to improve your page…!
I don’t know about older versions, but in Ubuntu 16.04 the packages php5-fpm and php5-cli curl don’t exist.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.