Title: php.ini file issue
Last modified: August 31, 2016

---

# php.ini file issue

 *  [sharid](https://wordpress.org/support/users/sharid/)
 * (@sharid)
 * [10 years ago](https://wordpress.org/support/topic/phpini-file-issue/)
 * Hi
 * I have a php.ini file issue whereby it runs out of memory and can’t load a theme
   larger than 2mg.
 * I have read quite a lot on the subject and watched a few youtube videos on how
   to resolve the issue. My problem is not that I don’t know how to update the php.
   ini file its partially how to find it. However this is not a straight forward
   issue, I have created an info.php file which shows me the path.
 * The path I am give for the php.ini file is
 * C:\Program Files (x86)\PHP\v5.6\php.ini
 * when I follow this path I can only go as far as
 * C:\Program Files (x86)
 * as there is no folder called \PHP\v5.6\php.ini I have tried to use the search
   option to look for the file/folder but still nothing. I have unchecked the box
   so no files/folders are hidden but still I get nothing. I created a PHP folder,
   then a v5.6 folder and placed the amended php.ini file in there, but I still 
   get the memory issue.
 * Also when I did a search for it on my pc and typed in the path after creating
   the folders still nothing came up.
 * The path C:\Program Files (x86)\PHP\v5.6\php.ini is shown via the info.php file,
   Which I uploaded into the wp-admin folder.
 * My WordPress was installed straight via CPanel I did not use a FTP Suffer to 
   upload the files, so not sure why it is checking my C Drive.
 * Also I uploaded an amended php.ini file to my wp-admin folder as the youtube 
   videos and some of the post here advised and I still get the problem. I have 
   followed the instructions correctly but can’t seem to fix this or locate the 
   file via the path given to me by info.php
 * I have fixed a php.ini file before when i was using xampp which worked fine, 
   so i know i am doing the right think. i just cant sort this one.
 * i have spoken to mu hosing company and they are having alook, can anyone help
   as i have neen stuck on this for a few day now.
 * Thanks

Viewing 16 replies (of 16 total)

[←](https://wordpress.org/support/topic/phpini-file-issue/?output_format=md) [1](https://wordpress.org/support/topic/phpini-file-issue/?output_format=md)
2

 *  [macmikeal](https://wordpress.org/support/users/macmikeal/)
 * (@macmikeal)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/phpini-file-issue/page/2/#post-8707796)
 * Question my wordpress on my own server with multi-sites is in this directory
 * /var/www/mikealrhughes.com/public_html/wordpress.
    Now with that said where should
   the php.ini wordpress wants to refer to be placed?

Viewing 16 replies (of 16 total)

[←](https://wordpress.org/support/topic/phpini-file-issue/?output_format=md) [1](https://wordpress.org/support/topic/phpini-file-issue/?output_format=md)
2

The topic ‘php.ini file issue’ 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/)
 * 16 replies
 * 4 participants
 * Last reply from: [macmikeal](https://wordpress.org/support/users/macmikeal/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/phpini-file-issue/page/2/#post-8707796)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
