Forum

Thread tagged as: Error, Configuration, Hosting

Perch & Git workflow (Git Ignore Issue??)

Hey guys,

I have brought this issue up before but wasn't exactly sure what my issue was at the time.

Every-time I deploy a perch website to my server I always get something along the following lines:

my perch site

and my perch dashboard (I use /something instead of /perch)

Now I am aware that perch is not finding some files therefor those files must be missing.

Now everything works fine locally and this issue doesn't occur until it's pushed to a live server.

This has happened to me many times and I can never remember what I need to do to resolve it.

At first I thought it was the git ignore file again - but I removed that and re-published and am still getting the same sort of issues.

I have also tried just FTPing the files directly without using git or any form of version control but I am having the same issue.

Richy Thomas

Richy Thomas 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

curl -I https://dev.somethingrich.com/www.thecrispyduck.co.uk/
HTTP/1.1 200 OK
Date: Tue, 22 Mar 2016 20:47:43 GMT
Server: Apache
X-Powered-By: PHP/5.2.6
Connection: close
Content-Type: text/html
Set-Cookie: DYNSRV=lin120; path=/

Nothing to do with git - your server is running PHP 5.2.6. Perch requires at least PHP 5.3, but we'd really recommend PHP 5.6 or PHP 7.

Spot on Drew,

No idea why this server would be running PHP 5.2.6 as standard but none of the less - I upgraded it and we're up and running.

Thanks again