# My site did not get a php.ini

**URL:** <https://community.localwp.com/t/my-site-did-not-get-a-php-ini/44420>\
**Category:** Support\
**Created:** [September 3, 2024, 8:14pm UTC](https://community.localwp.com/t/my-site-did-not-get-a-php-ini/44420 "2024-09-03T20:14:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ikiatah](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ikiatah/32/22626_2.png) [@Ikiatah](https://community.localwp.com/u/Ikiatah)\
**Post date:** [September 3, 2024, 8:14pm UTC](https://community.localwp.com/t/my-site-did-not-get-a-php-ini/44420/1 "2024-09-03T20:14:37Z")

</div>

### What issue or error are you experiencing?

When trying to upload into my site, I am getting error msg:

**Warning** : File upload error - unable to create a temporary file in **Unknown** on line **0**

Missing a temporary folder.

I found the same error on another post, which involved a problem in the php.ini—when I started the new site, a php.ini was not created.

I have a blank php.ini now, created myself, but not sure how to configure this.

### System Details

- **Local Version:** Version 9.0.5+6706

- **Operating System (OS) and OS version:** OS Build 22631.4112  
[error.log](https://community.localwp.com/uploads/short-url/klghCrR562b2AK6w9ohNJ8q3HC5.log) (28.0 KB)

* * *

### Local Logs

Attached

* * *

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [September 4, 2024, 1:28pm UTC](https://community.localwp.com/t/my-site-did-not-get-a-php-ini/44420/2 "2024-09-04T13:28:33Z")

</div>

Hi @Ikiatah

What are you trying to upload to your site? Is this something like a plugin or theme?

Your Local site will have a php.ini file by default, you shouldn’t need to create one. If you use Go to site folder it will be inside of Conf \> PHP

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [December 3, 2024, 1:29pm UTC](https://community.localwp.com/t/my-site-did-not-get-a-php-ini/44420/3 "2024-12-03T13:29:33Z")

</div>

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