• Help please! Trying to install WordPress for the first time. Getting this error when I call /wp-admin/install.php in the browser…

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /home/myDomain.org.uk/www/htdocs/wp-admin/includes/upgrade.php on line 1432.

    Thanks,
    James

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try increasing the memory for PHP and WordPress by putting this line in your .htaccess file:

    php_value memory_limit 64M

    or this line near the top of your wp-config.php file:

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

    Thread Starter jhodgski

    (@jhodgski)

    Hiya,

    Thanks for the reply.

    I inserted that line into wp-config.php (just above this code: // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’… ) but I still get exactly the same error.

    Don’t think I have a .htaccess file – can’t see one anyway.

    Cheers,
    James

    You won’t have .htaccess unless you have other than default permalinks, which you won’t as you’re installing for the first time.

    I’d talk to your hosting service, see if they can or will increase memory for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate..’ is closed to new replies.