Guest Posted November 9, 2005 Share Posted November 9, 2005 Hello everyone. I hope you are all well. After two days of mind-bending Googling, forums searches and 20 bottles of Frappuccinos I have broken down and decided is time to post: Basically, I decided to start developing PHP and MySQL on my local machine, and I was able to get everything working. I got a G5 with 1.3.9 running the default PHP install, the MySQl install in this site. I also went for the Virtual Hosts option and created 4 developing sites under my Sites folder. Test it everyting and it all works great. (http://project1, http://project2 and so on) That said, while working with a few open souce code projects (oscommerce, etc, etc, etc) I have run into a weird situation wherby none of the caching ever works. As you know, most of these open source code projects use caching that usually is pointing towards a "tmp" folder for the temp files. In my remote server I can place the "tmp" (or whatever) in: www root: usr/web/bobcost/httpd/htdocs/tmp_or_whatever and in all instances I can see cache files getting generated as soon as I navigated pages. Now for my local machine, where the problem is happening. In one of my Virtual Hosts (http://project1/) I install the open projects, reconfigure all individual configurations, MySQL uploads, etc. All working beatuifully. Except for caching. I have tested and made sure the proper paths to the '"tmp' folder are right, and even changed it to a different new folder elsewhere. In all cases I can get the respective open project's cache configuration scripts to see whatever folder I choose as a temporary cache folder. Of course, writting permissions set to read/write in all and the scripts once again confirm the permissions are set right. So af far as PATH and PERMISSIONS GOES..all good as well. Keeping in mind I have my Finder modified (InVisibles) so I can see al invisible files (just in case the cache files were being treated as invisibe file sby OS X) I can't see the .cache files being created like I do when on the remote server. Once again, since I knwo the PATH and PERMISSIONS are correct... Interestingly, in the same open projects the sessions funtions ALSO write to a "tmp" folder, but in this case, I can see the session temp files getting writen in my local machine. Finally, when I upload the site to the remote server and reconfigure, the cache files start getting generated as usual. So: I look at the httpd.confg file, but I can't find any modules or "cache" related settings other than the "Pragma: no-cache" and the settings for the Proxy cache (which I suspect do not apply to me). I am not sure how PHP is affecting this or how could I go about separating whether this is a Apache problem or a PHP problem. Can anyone throw me a bone, a hint, a line? That would be awesome and most appreciated. Opening Frappuccino bottle Number #21..... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.