Skip to content

Instantly share code, notes, and snippets.

View amirolzolkifli's full-sized avatar
💭
I may be slow to respond.

Amirol Zolkifli amirolzolkifli

💭
I may be slow to respond.
View GitHub Profile
@amirolzolkifli
amirolzolkifli / Laravel on VestaCP.md
Created February 4, 2018 23:15 — forked from peterbrinck/Laravel on VestaCP.md
Laravel web templates for VestaCP

I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.

Each file should be put in /usr/local/vesta/data/templates/web/apache2

Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html

<html><head><title>Find String</title></head><body>
<?php
// upload the file to the root and access the file via a browser.
//It may take time to run so be patient as it will check all the files in the root and the directories in the root
// Most hosting services will have a time limit on how long a php script can run, typically 30 seconds.
// On large sites with a lot of files this script may not be able to find and check all files within the time limit.
// If you get a time out error you can try over riding the default time limits by removing the // in the front of these two lines.