Replies: 1 comment 2 replies
|
I'm not sure if I understand the issue and why you store your PHP classes "outside of web root", but I think you can accomplish what you need like this.
So you have your document root defined with the PHP classes "outside" but still in your site. Which is btw best practice also on live servers in case of misconfiguration: Your webserver will not make credentials or code publicly available by accident. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, My websites have all the PHP classes stored in a folder above the web root. It seems that this breaks the ability of Laragon being able to switch easily between projects in Laragon. It seems curious that Laragon doesn't support this, as it is best practice for all PHP websites. Do I need to limit to one project configuration at a time, is there anything special that I need to do, will this cause any problems or loss of other features in Laragon, and will there be any issues with PHP accessing those files as they normally do on an Apache webserver?
All reactions