Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wordpress needs more memory. Update php.ini for this?

Featured Replies

Hi all.

 

 

I'm using Wordpress 3.9 on the latest UniserverZ of 11.1.6. Trying to install plugins sometimes locks up at "Unpacking". Google tells me this may be due to PHP.INI needing to be increased.

 

 

 

"You need to change the memory_limit in the php.ini for your server. Changing it at runtime has typically no effect (on shared hosting anyway), much less the WP_MEMORY_LIMIT constant."

 

 

 

On looking into my Uniform Server files I find three versions of PHP.INI. Which one should I use and do you think this is the correct answer?

 

Mike.

For Uniform Server preferably change all three configuration files.

From UniController select:
PHP > Edit Basic and Modules > Edit Basic Configuration
In the pop-up menu:
For all three files set "Maximum Memory Amount(MB)" to 128M

Note: In wordpress edit wp-config.php file:
Add the following line: define('WP_MEMORY_LIMIT', '128M');

 

All the best

Ric

  • Author

Good evening Ric.

 

For Uniform Server preferably change all three configuration files.

From UniController select:
PHP > Edit Basic and Modules > Edit Basic Configuration
In the pop-up menu:
For all three files set "Maximum Memory Amount(MB)" to 128M

Note: In wordpress edit wp-config.php file:
Add the following line: define('WP_MEMORY_LIMIT', '128M');

 

All the best

Ric

 

Thanks for your feedback on this. I had no idea that there was such a simple way to get to the important stuff in the ini files! What a great community.

 

However... I have made the changes as recommended; while Uniserver was not running, saved the ini's and modified and saved the config file. Restarted it and tried installing a plugin. This is how it freezes. I'm on a windows 7 machine with an i5 and 8 gig ram installed so there's no shortage of oomph.

 

I'll recheck the settings, I hope I find something wrong.

 

 

Installing Plugin: MailPoet Newsletters 2.6.6

Downloading install package from https://downloads.wordpress.org/plugin/wysija-newsletters.2.6.6.zip

Unpacking the package…

 

 

  • Author

Checked PHP > Edit Basic and Modules > Edit Basic Configuration.

 

All 3 files showing 128m

 

Checked wp-config.php

 

define('WP_MEMORY_LIMIT', '128M');

This is immediately after the other defines, the 8 x salt's.

 

So something else must be at fault. Never mind, This is the PHP forum and my question here is answered. Thanks again.

 

Mike.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.