1

This is the first time I encounter this problem, I upload all contents to my FTP ( already tried erasing everything ) And I always see an older version..

When I run a server using

php -S localhost:8000 -t public

Everything is correct, but on the testing server it's still an older version.

Any idea what might be going wrong? Thanks!

Miguel Stevens
  • 8,631
  • 18
  • 66
  • 125
  • Are you sure that you're uploading it to the correct place on the remote server? Is this shared hosting, or is it a VPS? – Chris Forrence Feb 23 '15 at 16:21
  • It's a subsite ( as a staging server ).. and it's the right one, because if i erase it there's nothing left to see and i get a 404. thank you – Miguel Stevens Feb 23 '15 at 16:22
  • Well, so much for an easy solution ;) If you're using PHP 5.5, [this](http://stackoverflow.com/a/20623382/899126) might be helpful – Chris Forrence Feb 23 '15 at 16:31
  • Thank you for your answer, as this is a shared hosting I don't believe we have access to the php.ini, any method around this? – Miguel Stevens Feb 23 '15 at 16:32
  • Shared hosting...hm. It depends on the hosting provider, but you might check your cPanel to see if you can change your php.ini file. Some place it in your home directory or in your public_html directory, but that's up to them. The best course of action, unfortunately, might be to contact them for support. Another alternative is to, depending on your comfort with Linux, run a VPS through DigitalOcean ([referral link](https://www.digitalocean.com/?refcode=3cd6ca859d5d), [non-referral link](https://cloud.digitalocean.com/registrations/new)) so that you can control your environment. – Chris Forrence Feb 23 '15 at 16:41

0 Answers0