PHP files not updating

Category: File Management

Griffin0991
Asked:
2013-02-19 4:16 pm EST

Hits: 400
I've started to encounter a weird problem with my server and updating php files. When I edit a php file and save it to the ftp the change can take an entire day to show up, or not at all. If I create a test.php file which intitially has the content "test" and then edit the content and save it the change won't be displayed.

This problem doesn't seem to apply to html files, just php/phtml files.

This started about a month ago.


EDIT:
I just tried restarting the FTP server and that applied the changes made to the php files, BUT further changes don't take effect unless the server is restarted again.

Is there a server-side cache that's been enabled that only gets cleared when the FTP restarts?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

Scott
Staff
18,392 Points
2013-02-19 5:30 pm EST
Hello Griffin0991,

The reason you are seeing the delay in the php edits is not due to FTP, but due to the APC caching you had installed about a month ago. The cache is set for a 30 minute caching time.

Best Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!