vendredi 29 juillet 2016

Testing and Production environment mixed in VPS CakePHP

I have a VPS on Godaddy with CentOs6 and I want to setup a testing environment for my project. I got myself a free domain and set it up on my VPS with no problems. I uploaded my CakePHP Project to my testing environment with my new domain, so far so good, the problems comes when I realize that my testing environment which is running on the same server with a different domain and a different account is using my Production files. If a check my APP Global Variable it returns /home/production/public_html/app/ and it should return /home/testing/public_html/app/. If I delete bootstrap.php I get an error that the file couldn't be found but if it is found the files that are used are the ones from my production environment. I hope I'd explained myself well.

Aucun commentaire:

Enregistrer un commentaire