Coder Social home page Coder Social logo

Comments (9)

brapifra avatar brapifra commented on May 29, 2024

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.

dazhilang018900 avatar dazhilang018900 commented on May 29, 2024

thanks for your reply, but how to set my phpserver's path to the specified path

from vscode-phpserver.

brapifra avatar brapifra commented on May 29, 2024

With the phpserver.relativePath option

from vscode-phpserver.

dazhilang018900 avatar dazhilang018900 commented on May 29, 2024

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.

brapifra avatar brapifra commented on May 29, 2024

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.

dazhilang018900 avatar dazhilang018900 commented on May 29, 2024

php
ye,look at this pic

from vscode-phpserver.

brapifra avatar brapifra commented on May 29, 2024

What OS are you working on?

from vscode-phpserver.

prakash-patel avatar prakash-patel commented on May 29, 2024

What was the fix for this issue?

from vscode-phpserver.

brapifra avatar brapifra commented on May 29, 2024

I think there wasn't an issue at all. He probably had something misconfigured.

from vscode-phpserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.