Title: php.ini question
Last modified: August 19, 2016

---

# php.ini question

 *  [ironcx](https://wordpress.org/support/users/ironcx/)
 * (@ironcx)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/phpini-question-1/)
 * I’m having problems uploading pictures. I’ve tried all the suggestions I’ve found
   on these forums. Nothing has resolved the “failed to write to disk” error.
    I
   asked my host, Verio, were I could find and edit the php.ini. They replied by
   creating a new php.ini file in my root directory. I changed the upload directory
   in that file to /tmp as suggested. However, I’m thinking the new php.ini file
   isn’t what I needed to edit. Should there be another php.ini file I should be
   editing? If no, is there somewhere else the php.ini file should besides the root
   directory? Thanks in advance for your help.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/phpini-question-1/#post-844756)
 * > Should there be another php.ini file I should be editing?
 * No.
 * >  is there somewhere else the php.ini file should besides the root directory?
 * To be clear, in **this** case, the root directory is where your web-accessible
   files are.
 * For instance, upon using an FTP client to access their files, some people are“
   logged into” a directory that has logs/ public_html/ and other stuff. In that
   example, your custom php.ini goes inside the public_html directory.
 * Here’s another way of explaining that, if WordPress is installed at the root 
   of your domain, put the php.ini in the same directory as your wp-blog-header.
   php
 * What I am trying to emphasize is the difference between root directory as in /
   home/username/ and root directory as in /home/username/www or /home/username/
   public_html
 *  Thread Starter [ironcx](https://wordpress.org/support/users/ironcx/)
 * (@ironcx)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/phpini-question-1/#post-844782)
 * The php.ini file was in the “/www” directory. I moved it to the “/htdocs” directory
   which has my WordPress folders/files (wp-blog-header.php, etc). I tried clearing
   the js_cache and browser cache and am still not able to upload.
 * Any other thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘php.ini question’ is closed to new replies.

## Tags

 * [php.ini](https://wordpress.org/support/topic-tag/php-ini/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ironcx](https://wordpress.org/support/users/ironcx/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/phpini-question-1/#post-844782)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
