Fatih, I am sorry spell check auto corrected your name, I was not changing your name on purpose. It was not my intension to piss you off.
I understand your frustration, trust me. I am running 5.3.6 on Windows Server 2008 R2 IIS, I am running massive class based methods in my own framework. I am trying to help you narrow down the issue. I never blame PHP first because in my trouble shooting steps, I never get to PHP before I find the issue. Segmentation Faults: that prevent the php script from completing locking up resources and causing a nightmare chain of events. It dumps the process at the fail point can look like it is a PHP thing but it is not. This can explain sometimes it works and sometimes it does not. This can be caused by a host of reasons: Buffer Overflow, Attempting to access memory the program does not own. (This also points to Storage Violations) Using uninitialized pointers, Dereferencing Null pointers Again suggestions please do not take offense. Richard L. Buskirk -----Original Message----- From: Fatih P. [mailto:fatihpirist...@gmail.com] Sent: Tuesday, June 28, 2011 12:13 PM To: Stuart Dallas Cc: ad...@buskirkgraphics.com; PHP General Subject: Re: [PHP] caching problem On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas <stu...@3ft9.com> wrote: > On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. <fatihpirist...@gmail.com>wrote: > >> On Tue, Jun 28, 2011 at 5:12 PM, <ad...@buskirkgraphics.com> wrote: >> >> > Faith, >> > >> > I actually did read from the beginning of the message. >> > >> > That does not make sense. >> > PHP files are cached intentionally, the system does not Cache PHP on its >> > own. >> > Sounds to me like you have an issue re-declaring an object or calling >> the >> > right script/path/class/method something. >> > >> > >> > I have never heard of PHP being cached unless it was intentionally >> cached >> > it. Thank god for security reason!!!!! >> > HTML output?? Sure all the time helps the browser load the content >> faster. >> > >> > I have a real issue with who ever told you that PHP is being cached, >> > because if that was the case there is SERIOUS security hole in your PHP. >> > I am doubting that. >> > >> > I have cached PHP, it can be done. >> > >> > Are you using APC(Alternative PHP Cache)??? >> > >> > I would not suggest it with complex scripting using classes and methods >> > they are the whole reason NOT to cache. >> > >> > >> > That’s just my opinion. >> > >> > Richard L. Buskirk >> > >> > >> Well, seems you didn't read it carefully even to write my name correctly. >> if >> this is an issue with PHP then it is an >> issue with PHP. AsI said I am using pre-compiled binaries with default >> settings. also mentioned no caching is >> enabled to cache anything. And NO i am not using APC either or something >> else!!! >> > > > Fatih, please explain what you mean by "the code files are being cached. > and modifications in methods are skipped > and not executed." How are you getting the modified files onto the server, > and how are you running the scripts? Are you working directly on the server, > or are you uploading the files to the server via FTP, SCP or some other > mechanism? > > -Stuart > > -- > Stuart Dallas > 3ft9 Ltd > http://3ft9.com/ > OK, this is a development machine, everything is running on it. nothing is being uploaded through ftp, scp or something else. all kind of content caching is disabled. and what I mean by the code files are being cached is: after the modifications, i do get the result which was produced before modification. which shows that the file is not being interpreted by php. how i get to this point that I see errors after restarting the machine which were not there during coding or when i dump an object it doesn't show up anything other than previous content. to recover this situation, either I have to restart httpd which sometimes does work or when it gets more problematic, i have to crush httpd / php on start. and only having this problem on windows machines. sounds funny to most of you but it is happening -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php