Jump to content

[Solved] PHP inheritance & .htaccess


ArminC

Recommended Posts

Hello! I got a new.. pack of questions  :wub:

 

1. The PHP version is, by default, 5.6. Can I change the System Default value or I am forced to change it per domain (as I did)?

 

2. The CPanel version could be updated by the user? Or this is up to the host management?

 

3. I saw that the page displayed an error (500) and I found out that the .htaccess was the problem. So, I can't use it? 

 

Thanks!

Edited by ArminC
Link to comment
Share on other sites

I think I got now that command. My website is in form of a directory listing (just for the main domain). When I tried to enter a random folder, since I tried to get into some folder, it displays an error. I never encountered this one..

 

 

 

[12-Aug-2019 09:04:01 UTC] PHP Fatal error:  Uncaught Error: Class 'finfo' not found in /home/user/public_html/index.php:669
Stack trace:
#0 /home/user/public_html/index.php(521): DirectoryListing->__getFileType('/home/user/pu...', 'Spotify \xE2\x9E\x9C Pla...')
#1 /home/user/public_html/index.php(474): DirectoryListing->__loadDirectory('Spotify \xE2\x9E\x9C Pla...')
#2 /home/user/public_html/index.php(207): DirectoryListing->__display()
#3 /home/user/public_html/index.php(885): DirectoryListing->run()
#4 {main}
  thrown in /home/user/public_html/index.php on line 669

 
Any idea?
 
Edit: I saw something about fileinfo function? I need to activate something?
Edited by ArminC
Link to comment
Share on other sites

  • 3 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...