Webpage isn't updating changes unless I restart apache2How to setup a Virtual host for local developmentApache restart after updating php pagesapache2 restart problemerror after restart apache2How to check and clean Ubuntu 16.04 from multiple Apache, Mysql, php installations?Issue changing Document Root in Ubuntu 16.04

Do all c programs need to load a library?

My boss asked what number would keep me happy?

Why is Trump not being impeached for bribery?

System of equation

Brute Brutish ability natural 1

Can I combine ground an neutral wires before they connect to their bus bars?

What is the melting temperature of a 3D printed part?

Is paying for portrait photos good for the people in the community you're photographing?

Berlin 1923 & 1925 Address Book Abbreviations "I", "E", "Kgst" and "Mb"

ogr2ogr commands with cmd

Sudden cheap travel?

Story ID: plugging vacuum leak with one's butt

Declining a paper review after accepting it and seeing the manuscript

What are the downsides of being a debt-free country (no foreign national debt)?

Secure Implementation of Password Database

How to play vs the 1...e6 and 2...d6 Pawn structure?

8 registers in the 9440?

Why does China have so few nuclear weapons?

How do I prep a, temporary, root login before editing sudoers?

I’m 18 years old and want to finance a £30,000 car

Finding the right insults

Is it possible to kill parasitic worms by intoxicating oneself?

Can the President be impeached twice?

Can we use a Cryptographic hash function to generate infinite random numbers?



Webpage isn't updating changes unless I restart apache2


How to setup a Virtual host for local developmentApache restart after updating php pagesapache2 restart problemerror after restart apache2How to check and clean Ubuntu 16.04 from multiple Apache, Mysql, php installations?Issue changing Document Root in Ubuntu 16.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0


















I've been searching for a solution to this problem for a very long time now and I just can't seem to figure it out.



I've installed apache2 and mysql and php7.0 on a fresh install of ubuntu yet the problem stil persists.



Just trying to create an ideal web development environment.



The process goes as follows:



1) start apache2 && mysql



2) make changes to my index.php file in /var/www/html



3) check my ip using ifconfig and then go to that adress



4) notice my changes haven't taken place!!



5) restart apache2



6) refresh my page and realize that the changes have been made



Why wont apache2 recognize changes made without having to completely restart the service everytime???










share|improve this question



























  • Open up a terminal and run tail -f /var/log/apache2/*.log repeat the same process and note if any error messages get logged. Then edit the question and include the contents of the PHP file and any errors that may arise.

    – Parto
    Oct 1 at 7:41

















0


















I've been searching for a solution to this problem for a very long time now and I just can't seem to figure it out.



I've installed apache2 and mysql and php7.0 on a fresh install of ubuntu yet the problem stil persists.



Just trying to create an ideal web development environment.



The process goes as follows:



1) start apache2 && mysql



2) make changes to my index.php file in /var/www/html



3) check my ip using ifconfig and then go to that adress



4) notice my changes haven't taken place!!



5) restart apache2



6) refresh my page and realize that the changes have been made



Why wont apache2 recognize changes made without having to completely restart the service everytime???










share|improve this question



























  • Open up a terminal and run tail -f /var/log/apache2/*.log repeat the same process and note if any error messages get logged. Then edit the question and include the contents of the PHP file and any errors that may arise.

    – Parto
    Oct 1 at 7:41













0













0









0








I've been searching for a solution to this problem for a very long time now and I just can't seem to figure it out.



I've installed apache2 and mysql and php7.0 on a fresh install of ubuntu yet the problem stil persists.



Just trying to create an ideal web development environment.



The process goes as follows:



1) start apache2 && mysql



2) make changes to my index.php file in /var/www/html



3) check my ip using ifconfig and then go to that adress



4) notice my changes haven't taken place!!



5) restart apache2



6) refresh my page and realize that the changes have been made



Why wont apache2 recognize changes made without having to completely restart the service everytime???










share|improve this question
















I've been searching for a solution to this problem for a very long time now and I just can't seem to figure it out.



I've installed apache2 and mysql and php7.0 on a fresh install of ubuntu yet the problem stil persists.



Just trying to create an ideal web development environment.



The process goes as follows:



1) start apache2 && mysql



2) make changes to my index.php file in /var/www/html



3) check my ip using ifconfig and then go to that adress



4) notice my changes haven't taken place!!



5) restart apache2



6) refresh my page and realize that the changes have been made



Why wont apache2 recognize changes made without having to completely restart the service everytime???







apache2 php






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 1 at 5:00







mechsec tech

















asked Oct 1 at 2:22









mechsec techmechsec tech

434 bronze badges




434 bronze badges















  • Open up a terminal and run tail -f /var/log/apache2/*.log repeat the same process and note if any error messages get logged. Then edit the question and include the contents of the PHP file and any errors that may arise.

    – Parto
    Oct 1 at 7:41

















  • Open up a terminal and run tail -f /var/log/apache2/*.log repeat the same process and note if any error messages get logged. Then edit the question and include the contents of the PHP file and any errors that may arise.

    – Parto
    Oct 1 at 7:41
















Open up a terminal and run tail -f /var/log/apache2/*.log repeat the same process and note if any error messages get logged. Then edit the question and include the contents of the PHP file and any errors that may arise.

– Parto
Oct 1 at 7:41





Open up a terminal and run tail -f /var/log/apache2/*.log repeat the same process and note if any error messages get logged. Then edit the question and include the contents of the PHP file and any errors that may arise.

– Parto
Oct 1 at 7:41










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177800%2fwebpage-isnt-updating-changes-unless-i-restart-apache2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177800%2fwebpage-isnt-updating-changes-unless-i-restart-apache2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?