Comments (9)
According to your comment, the PHP server is up & running but it can't find the resource. The solution may be to specify the path to the resource you want (http://localhost:3000/src/index.php, for example)
from vscode-phpserver.
thanks for your reply, but how to set my phpserver's path to the specified path
from vscode-phpserver.
With the phpserver.relativePath
option
from vscode-phpserver.
THANKS!!! now ,i cant debug the index.php file,and the browser can display content normally,
B U T, the output windows of PHP Server shows
" [Sun Nov 5 02:28:00 2017] [404] / - No such file or directory" when i was debugging ,
************THE LOCALs Variable like this *********
$fullPath: "C:\Users\dazhilang\Documents\VsCodeProj\phpweb./"
$path: "/"
$relativePath: "."
i have changed servel valuse for the $relativePath,
But the value of $path always "/"
So, I guess there is a problem with THE $path
from vscode-phpserver.
I am bit confused. Are you saying that the browser displays content properly but the output of the PHP server shows "[Sun Nov 5 02:28:00 2017] [404] / - No such file or directory ..." ?
from vscode-phpserver.
from vscode-phpserver.
What OS are you working on?
from vscode-phpserver.
What was the fix for this issue?
from vscode-phpserver.
I think there wasn't an issue at all. He probably had something misconfigured.
from vscode-phpserver.
Related Issues (20)
- Xampp parameters (PHP not found) HOT 1
- Failed to listen on localhost:3000 - can't access to socket
- Hello there.
- Connecting to MySQL database
- Open file in browser HOT 1
- Cannot modify header information - headers already sent.
- I can't enable mod rewrite HOT 1
- [Fixed] Requested resource not found on server? HOT 1
- PHP Server not working after brew upgrade to php 7.4 in OSX?
- Extension issue
- The requested resource was not found on this server, using .htaccess.
- Keeps loading old version of html file when pressing serve button top right
- [Feature] Keep track of server state to greatly improve usability of extension
- Unable to serve remote folder
- Error HOT 1
- Serve Project Issue HOT 1
- Would be nice to have setting for environment variables HOT 1
- Requesting to have this also published to open-vsx.org for VSCodium HOT 1
- PHP Not Found (Ubuntu) HOT 3
- How should I solve this problem?�����ҳ: 936
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-phpserver.