Jump to content

Recommended Posts

Hi all,

We have searched for the answer to this but I suspect we are not using the right keywords.  We seem to have some sort of caching issue at the server with a php script.  This is a Linux/Apache shared host.

 

When we make a change to a PHP script file and upload it we don't always get the newly edited script when we run it.

 

We are seeing this with a couple of files but the one causing the most aggravation is a PHP file that encapsulates a php class that is included (include statement) into a another php file.  Changes we make to this class file do not seem to be apparent until some other undefined, and as yet indeterminate, time or event.

 

This is very frustrating.

 

Is there some server side caching that could cause this sort of effect?

 

What keywords should we use to do our own research?

 

Any suggestions about how we can force the newly edited and uploaded file to be used?

 

This is not our code we are hacking but rather we are trying to sort out why a fairly popular plugin for a fairly popular script (mail2list for phplist) is not handling text-only emails.  We are pretty new to php but highly experienced in software in general (though mostly embedded stuff).  Not a great deal of experience with, or access to, our apache web server (shared host as I mentioned).

 

Many thanks,

Ian

Link to comment
https://forums.phpfreaks.com/topic/220435-modifications-to-scripts-not-visible/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.