Help with website error

Status
This thread has been locked.

JayMC

Taking a break
Supreme
Feedback score
43
Posts
1,062
Reactions
289
Resources
0
When I try to upload a picture to my site, this happens. Any idea how I would fix it?

upload_2019-8-5_17-19-41.png


Thank you!
 

Attachments

  • upload_2019-8-5_17-19-41.png
    upload_2019-8-5_17-19-41.png
    32.5 KB · Views: 77
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

JayMC

Taking a break
Supreme
Feedback score
43
Posts
1,062
Reactions
289
Resources
0
It tells you what you need to do right on the first line. Enable the php_fileinfo extension in the php.ini then restart the web server.
Where would that be? Sorry, I'm a bit new to coding. Thank you for the help <3
 

JayMC

Taking a break
Supreme
Feedback score
43
Posts
1,062
Reactions
289
Resources
0
For information on php extensions etc, on site.
  1. Create a new file and name it info.php (or some other name.php)

  2. Write this code in it:

    PHP:
    <?php
       phpinfo ();
     ?>
  3. Save the file in the root of the site

  4. Open the file in your browser. For example: example.com/info.php All the php information on your site will be displayed. It will also display the location of the loaded php.ini configuration file on your system.
That helps a lot, thank you.

It says the file is here: /opt/cpanel/ea-php72/root/etc/php.d

But I can't seem to find where that file is located.[DOUBLEPOST=1565058581][/DOUBLEPOST]Could this possibly be a problem?
upload_2019-8-5_22-29-39.png
 

Attachments

  • upload_2019-8-5_22-29-39.png
    upload_2019-8-5_22-29-39.png
    17.9 KB · Views: 50
Last edited:
Status
This thread has been locked.
Top