ArminC Posted August 12, 2019 Posted August 12, 2019 (edited) Hello! I got a new.. pack of questions 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 August 12, 2019 by ArminC
Flaze Posted August 12, 2019 Posted August 12, 2019 1. You need to change it per domain or use the inherit option.2. The latter.3. You can use htaccess. Check for any syntax errors.
ArminC Posted August 12, 2019 Author Posted August 12, 2019 (edited) 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 August 12, 2019 by ArminC
Flaze Posted August 12, 2019 Posted August 12, 2019 Try: Options -Indexes Also, that's a PHP error. Check your code.
ArminC Posted August 12, 2019 Author Posted August 12, 2019 (edited) I tried right now on my older host with the same index.php. It works. The code: $fi = new finfo(FILEINFO_MIME_TYPE); Edited August 12, 2019 by ArminC
Flaze Posted August 12, 2019 Posted August 12, 2019 Finfo? Perhaps that extension is not installed. A root admin need to install it for you. This support request is being escalated to our root admin.
ArminC Posted August 12, 2019 Author Posted August 12, 2019 (edited) Yeah.. That is what I was thinking about.. So I need to contact somewhere? Or? Thanks. Edited August 12, 2019 by ArminC
ArminC Posted August 12, 2019 Author Posted August 12, 2019 (edited) Also, when I tried to install the firewall, I encountered this one: The PHP Gettext extension is missing on your server. Edited August 12, 2019 by ArminC
Krydos Posted August 13, 2019 Posted August 13, 2019 Please post the following information:Your cPanel usernameYour main domainThe server that you are onThe version of php that you're using
ArminC Posted August 14, 2019 Author Posted August 14, 2019 * armync* arminc.ga* Ricky* ea-php72 I need a comaptibility with the firewall and current index.php. I'm not entire sure which 'extension' (in addition to the above) are needed.Isn't possible to have a php extension manager with the non-ricky features forced off?
Flaze Posted September 10, 2019 Posted September 10, 2019 Nope. A root admin has to do this and you need to hope that they'll see this thread.
wolstech Posted September 10, 2019 Posted September 10, 2019 This got buried under all the account migrations. Krydos is the one you're waiting for, hopefully he'll see it now
Recommended Posts