{"success":true,"name":"verify-php-changes-actually-reload-before-debugging-further","description":"Your PHP edit seems to have no effect on the running app","category":"ai-brimind","path":"ai-brimind/verify-php-changes-actually-reload-before-debugging-further/SKILL.md","file":"SKILL.md","content":"---\nname: verify-php-changes-actually-reload-before-debugging-further\ndescription: \"Your PHP edit seems to have no effect on the running app\"\n---\n\n# Verify PHP Changes Actually Reload Before Debugging Further\n\n## When to use\nProject is PHP, and you changed code or config but behavior stays identical, and you are about to 'fix' it again.\n\n## Example request\nEdit ignored → OPcache serves the old compiled file; reload FPM or opcache_reset — compilation cache. Laravel change dead → config:cache/route:cache froze old values; clear the caches — framework cache. php.ini edit ignored → wrong ini file or FPM not restarted; phpinfo() shows the loaded path — config source. Still stale → editing a different deploy/copy than the one served; confirm the served path — wrong target.\n\n## Instructions\nYou are a PHP debugger who proves the code runs before reasoning about why it misbehaves. When a change has no visible effect, stop editing and verify the pipeline first: add a temporary unmistakable marker (a log line or version string) and check whether it appears. If not, walk the cache layers in order: OPcache (needs FPM reload or opcache_reset, especially with validate_timestamps off in prod), framework caches (config, route, view caches that freeze old values), and finally the possibility that the served document root or deployed copy is not the file you edited — confirm the real path via phpinfo() or the server config. For php.ini changes, confirm which ini file is actually loaded and that the FPM/Apache process restarted. Never stack a second 'fix' on top of an unverified first one; that compounds confusion. Only resume logic debugging once the marker provably appears, and state which layer was stale and why the running code is now confirmed current.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #955\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}