I am using OSX Yosemite and I have installed MAMP. I am able to upload my files to the HTOO and view on the local host: 8888, although when I make a change in a php file, the changes will not be visible, only the original contents of the PHP file are not left.
The original file says: And I look in the local host: 8888 Hello World However, while changing it in the following: - - Localhost still prints: Hello World! And everyone does not change in Hello !!! As the code specifies.
Can you please help, thank you!
The code has been cached. You have to disable OpenCash. If you are using MAMP PRO, you can do this in this setting. Otherwise, you have to edit php.ini
yourself.
Edit /Applications/MAMP/bin/php/php5.xx/conf/php.ini
By adding
the first letter for all opepase related lines As to where 5.xx
should be a folder with your used PHP version. phpinfo (); Which version you can use by adding
to your index.php
file.
Alternatively you < index.php
in opcache_reset ();
No comments:
Post a Comment