Why Can't I Access Custom /var/www/phpinfo.php?

As per the title, I’ve installed a site stack with EasyEngine and am unable to access my custom phpinfo.php file.

What happened?

Thanks.

Hi, You need to keep your phpinfo.php to webroot.

Default path of webroot is /var/www/example.com/htdocs/

Now you can access that file using example.com/phpinfo.php

Replace example.com with your site name

Thanks, why was this decision made instead of allowing changes to be made to /var/www?

EasyEngine follows this naming conventions:

Hi @Puck,

I hope your query is resolved. I am closing this support topic for now.

Feel free to create a new support topic if you have any queries further. :slight_smile: