Skip to content

PHP Local Web Server #19785

@pollyolly

Description

@pollyolly

Description

I came to think if its possible for php to have its own local web server just like in node js (http.createServer()) that can run js codes with its own local server. In PHP I have to use while(true) {} to keep my code running in a executable file.

php -s localhost:8080 runs externally because i have to type the command in a cli which is not the same in node js http.createServer().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions