Changes to my PHP file aren’t reflected when I refresh Apache server

  Kiến thức lập trình

I’m trying to change my PHP file so that it outputs “hello word” instead of “hello world”. Upon making this change, saving it, and then reloading the server, there is no change in output.

My code is as follows:

<!DOCTYPE html>
<html>
<head>
</head>

<body>


<?php
echo "hello word";
?>




</body>
</html>

Things I’ve tried so far include going into php.ini (I’ve used phpinfo() to verify this is the correct file) and changing opcache settings such as opcache.enable, opcache.validate_timestamps, and opcache.revalidate_freq. Restarting the server after making these changes had no effect.
I am running PHP version 8.2.12 and I’m using an Apache included in an XAMPP package.
I’m open to any suggestions but I feel like I’ve tried everything under the sun and that this isn’t a conventional issue. Thanks in advance

12

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT