Ups, Thank you, I understand place to insert 80. This is launch.json.
"configurations": [
{
"name": "Launch built-in server and debug",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-S",
"localhost:80",
"-t",
"."
],
"port": 9003,
"serverReadyAction": {
"action": "openExternally"
},
"runtimeExecutable": "D:\\PhpCli7\\php.exe"
},
"Why does it not work?", I don't know, I'm newbie, and Author of my program said me that start his program impossible on another port than 80.
I'm novice in PHP and can working only with VS Code debugger. Unfortunately my current project can not working with port number, it can working only as http://localhost/folder-name and can not working as http://localhost:8000/folder-name
I don't know how to force embedded PHP server working with port 80 (in order to use PHP extension for VS Code - "All-in-One PHP support - IntelliSense, Debug, Formatter, Code Lenses, Code Fixes, Linting, Refactoring, PHPUnit Tests, Web Server, and more.").
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.