I am using native PHP and native Apache. PHP version is 5.5.
userdir module in Apache is enabled, and I have my PHP codes under
~/Sites. Localhost URL is
localhost/~username. I have installed XDebug and I am configured it with Vdebug plugin. In
phpinfo() it says the extension is enabled.
I am not able to access
localhost from port 9000. When I visit this URL
http://localhost/~subhojit:9000 it returns access forbidden. Not just 9000 port, even if I am entering port 80 like this
http://localhost/~subhojit:80, it returns access forbidden. But I am able to access PHP websites using virtual hosts or from localhost URLs like this
I am not sure what I am doing wrong. Please help.