jtingato Posted April 23, 2009 Share Posted April 23, 2009 We have a PHP site using Joomla CMS on a Windows IIS Server. The site is fast during use, but after a period of time, the first attempt to connect to the site is very slow. I contacted my hosting provider and was informed that the website needs to be compiled on a regular basis, so when the first attempt is made, the site is compiled first then it runs well. I thought php was an interpreted code. Does it need to be compiled? Can someone explain this to me? Is this because it is running on IIS? Also if PHP is compiled on the server, what happens when I make a change to a file? Does it have to compile again immediately prior to running? We make changes all the time, as we are still in development. After each change the site still runs fast. It is only after a period of time that the site seems to 'go to sleep' Can someone please help me to understand this process? Thank you John Quote Link to comment https://forums.phpfreaks.com/topic/155297-does-php-website-need-to-be-compiled-daily-on-the-server/ Share on other sites More sharing options...
PFMaBiSmAd Posted April 23, 2009 Share Posted April 23, 2009 You already have a thread for this same problem. Don't create another one. If a thread needs to be moved because it is in the wrong section, a moderator will move it. Quote Link to comment https://forums.phpfreaks.com/topic/155297-does-php-website-need-to-be-compiled-daily-on-the-server/#findComment-817052 Share on other sites More sharing options...
jtingato Posted April 23, 2009 Author Share Posted April 23, 2009 I am sorry about that. I realized I had posted in the wrong location and though it would be my responsibilty to move. I didnt want to offend anyone and I wasn't trying to abuse the system. Quote Link to comment https://forums.phpfreaks.com/topic/155297-does-php-website-need-to-be-compiled-daily-on-the-server/#findComment-817932 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.