Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

PHP & Apache - Hot deploy not working

Options
  • 16-05-2010 12:12pm
    #1
    Registered Users Posts: 1,771 ✭✭✭


    Hi guys,

    Having a strange issue developing PHP sites locally running on an apache web server.

    Basically every time I make code changes, I need to restart the apache service manually for the changes to take effect, it doesn't pick up the changes in real time.

    I'm not sure what has changed in the setup, or why this suddenly started happening but if anybody has experienced it, or has any suggestions, I'd love to hear them. I've searched google and found absolutely nothing to help, so any help is appreciated.

    Cheers.


Comments

  • Registered Users Posts: 3,140 ✭✭✭ocallagh


    Apache is probably caching all your requests. Have a look here http://httpd.apache.org/docs/2.1/caching.html

    You may need to look at the following places where the cache instructions can be changed:

    META expire tag in your HTML output
    Apache config file(s)
    .htaccess files
    And also perhaps your php.ini


Advertisement