[Fixed] Requested resource not found on server?
I had the extension originally working a couple of days. Seemingly, after installing XAMP, I am not sure if it was related, I get the following error when I right click on the index.php file and select "PHP Server: Open file in browser" with the server running:
The requested resource /src/index.php was not found on this server
Reinstalling PHP Sever and VSCode and uninstalling XAMP did not help.
Insterestingly, when I open a new workbench with src as the root,
http://localhost:3000/index.php, I get this error instead, "The following extensions are required: zip. Contact your host or configure your server to enable them with correct permissions."
Any suggestions? I wonder if something changed in my settings? I am using Mac Catalina.
My test index.php is simple,
<?php
echo date("d.m.y");
echo 'Hello World';
?>
Thanks.
After all that, simply restarting my computer seems to have fixed the issue. I suspect there were conflicting background processes that were interfering.