Jump to content

Recommended Posts

Posted (edited)

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
Posted

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.

Posted (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 by ArminC
Posted (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 by ArminC
Posted

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.

Posted (edited)

Yeah.. That is what I was thinking about.. So I need to contact somewhere? Or?

 

Thanks.

Edited by ArminC
Posted (edited)

Also, when I tried to install the firewall, I encountered this one: 

 

 The PHP Gettext extension is missing on your server.

Edited by ArminC
Posted

Please post the following information:

  • Your cPanel username
  • Your main domain
  • The server that you are on
  • The version of php that you're using
Posted

* 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?

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