Hello - I am using shared hosting for IN. My hosting provider has asked to put phpinfo.php (to display php related information) on the root folder for troubleshooting purpose. I added this file, but I see 404 - Not Found error. I tried another php file, but same error. I have also checked .htaccess file but I don’t see any strange directive which might conflict with phpinfo.
What problem are you seeing? I thought the issue was displaying the phpinfo page.
The .htaccess file in the app folder comes with the app whereas the one in root folder of the web server is the default from the server. I’d expect the files to be different.
I am unable to show phpinfo page when accessing IN. However, it worked fine when trying to access from web server root.
Need some help in pin pointing the issue.
Let me explain the issue in detail. Keep in mind I am using IN on a shared hosting.
I have below two folders:
public_html (a .htaccess file exist) portal.website.com (a different .htaccess file exist)
When I put phpinfo.php in public_html folder, it worked.
When I put phpinfo.php in portal.website.com folder, it give 404 - not found error.
I have set the same php version 8.1 for both.
I have noticed below error in the error_log file in portal.website.com root folder:
[25-Oct-2022 15:00:02 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2621440 bytes) in /home/bargainp/portal.bargainpbx.com/vendor/composer/autoload_static.php on line 1013
I have asked shared hosting provider and the support wanted me to put phpinfo.php on the root folder to see php related info.