Skip to content

Instantly share code, notes, and snippets.

@tdurrenberger
Created April 10, 2018 15:01
Show Gist options
  • Save tdurrenberger/1ce142477dd7a4fb0d3aad9424efe35d to your computer and use it in GitHub Desktop.
Save tdurrenberger/1ce142477dd7a4fb0d3aad9424efe35d to your computer and use it in GitHub Desktop.
CPanel / WHM - Host a Symfony App
#
# edit apache config
# add /web at the end the documentroot parameter
# like documentroot: /home/[domain user]/public_html/web
#
nano /var/cpanel/userdata/[domain user]/[your domain.com]
nano /var/cpanel/userdata/[domain user]/[your domain.com]_SSL
# delete cache file
rm -vf /var/cpanel/userdata/[domain user]/[your domain.com].cache
rm -vf /var/cpanel/userdata/[domain user]/[your domain.com]_SSL.cache
/scripts/updateuserdatacache
/scripts/rebuildhttpdconf
restart httpd.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment