Title: root to php.ini
Last modified: August 24, 2016

---

# root to php.ini

 *  [Arturofm](https://wordpress.org/support/users/arturofm/)
 * (@arturofm)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/root-to-phpini/)
 * Hi guys, I know my php.ini is located in:
 * Configuration File (php.ini) /usr/local/lib
    Loaded Configuration File /usr/local/
   lib/php.ini
 * How ever, I can’t find the /usr directory when I log in using filezilla. I tried
   to imput the location but it says directory not found. How can I locate usr?
 * I’m trying to install jetpack for my web and I get this message:
 * `Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate
   12288 bytes) in /home/elkeponc/public_html/wp-content/plugins/jetpack/modules/
   sharedaddy/sharing-service.php on line 267`
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [Arturofm](https://wordpress.org/support/users/arturofm/)
 * (@arturofm)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/root-to-phpini/#post-6001871)
 * I tried imputing “php_value memory_limit 64M” in my .htaccess file but it gives
   me internal error…
 * Also this:
 * wp-config.php file:
    ‘WP_MEMORY_LIMIT’, ‘128M’);
 * but it doesn’t work :/
 * EDIT: lol everytime I try something different I get a new line code error ahhh.
   This time I tried this:
 * wp_initial_constants(‘WP_MEMORY_LIMIT’, ’64M’);
 * or this
 * define(‘WP_MEMORY_LIMIT’, ’64M’);`
 * in my wp-settings.php
 * but nothing…
 * **Final EDIT:**
 * Allright… I don’t know what I did, I was about to pull my hairs lol, the wp-admin
   wasn’t even opening now, so I tried to fix the xp-admin and I ranwriting again
   in wp-config.php: “define(‘WP_MEMORY_LIMIT’, ‘128M’);” and I fixed the problem
   of the admin login and the memory lol
 * Thanks anyways

Viewing 1 replies (of 1 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Arturofm](https://wordpress.org/support/users/arturofm/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/root-to-phpini/#post-6001871)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
