Temporary cPanel url does not work with PHP files
so temporary works fine with:
http://ip/~username/ index.html, and other files, except .php files it says 'not supported'
How to fix that?
Not supported
-
Hey there! The issue is likely related to your PHP handler. See the bottom of this article for handlers that are not compatible with mod_userdir:
0 -
Yes i disabled:
- PHP via CGI
- FastCGI
- PHP-FPM
But that made a few Wordpress site to get error 500
0 -
I imagine it would - it would be best to use a local hosts file for testing than to disrupt the PHP system. https://docs.cpanel.net/knowledge-base/dns/how-to-modify-your-hosts-file/
0 -
After trying to fix this for hours, i finaly found out that if i run a domain on php 7.4, it works. At 8.1 and 8.2 i didnt have a chance to make temporary url work.
0
Please sign in to leave a comment.
Comments
4 comments