# Problems with PHP writing to directory

**URL:** <https://forum.infinityfree.com/t/problems-with-php-writing-to-directory/91494>\
**Category:** Hosting Support\
**Created:** [March 24, 2024, 12:27pm UTC](https://forum.infinityfree.com/t/problems-with-php-writing-to-directory/91494 "2024-03-24T12:27:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wizball](https://forum.infinityfree.com/letter_avatar/wizball/32/6_449c533f586939b6e5f246632a46421f.png) [@Wizball](https://forum.infinityfree.com/u/Wizball)\
**Post date:** [March 24, 2024, 12:27pm UTC](https://forum.infinityfree.com/t/problems-with-php-writing-to-directory/91494/1 "2024-03-24T12:27:31Z")

</div>

[### Website URL](http://myboardgames.epizy.com)

(please specify the URL of the site on which you are experiencing the problem)

### Error Message

**Fatal error** : Uncaught Error: Call to undefined function imagejpeg() in /home/vol15\_8/epizy.com/epiz\_23857025/htdocs/images/easyphpthumbnail.class.php:992 Stack trace: #0 /home/vol15\_8/epizy.com/epiz\_23857025/htdocs/images/easyphpthumbnail.class.php(766): easyphpthumbnail-\>savethumb() #1 /home/vol15\_8/epizy.com/epiz\_23857025/htdocs/imagefunc.php(173): easyphpthumbnail-\>Createthumb(‘images/large/15…’, ‘file’) #2 /home/vol15\_8/epizy.com/epiz\_23857025/htdocs/single.php(187): createsingle(‘153999’, ‘epiz\_23857025\_g…’, Object(mysqli)) #3 {main} thrown in **/home/vol15\_8/epizy.com/epiz\_23857025/htdocs/images/easyphpthumbnail.class.php** on line **992**

### Other Information

It seems that I am having problems writing to the directory. Have tested this locally and it works fine. I am at 91% Inodes Used: but only 351 MB disk usage, mainly as I produce quite a few thumbnails for my site.

I wonder if this is what is causing the problem?

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [March 24, 2024, 12:39pm UTC](https://forum.infinityfree.com/t/problems-with-php-writing-to-directory/91494/2 "2024-03-24T12:39:13Z")

</div>

Please read

> [@PNG and JPEG support missing for GD extension on some accounts](https://forum.infinityfree.com/t/png-and-jpeg-support-missing-for-gd-extension-on-some-accounts/91189/1):
>
> PNG and JPEG support missing for GD extension on some accounts Since March 15, we have seen a number of reports saying that the GD extension was missing or incomplete. Which components are affected by this issue Websites that generate images or provide image upload functionality may experience issues with this. The GD extension can be used to edit images (resizing, compressing, etc.), which is not possible on some accounts. What issues may you see The errors vary, but you may see the issue man…

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [March 31, 2024, 12:39pm UTC](https://forum.infinityfree.com/t/problems-with-php-writing-to-directory/91494/3 "2024-03-31T12:39:53Z")

</div>

Closed on March 31, 2024, 12:39pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
