• Hello everyone,
    I have transferred my blog on VPS but after uploading my whole site, I am getting below error.
    “Fatal error: Out of memory (allocated 20447232) (tried to allocate 30720 bytes) in /home/bollywd/public_html/wp-includes/vars.php on line 120”

    As per some other members’ suggestions I tried to change/put below codes.
    1. Increase the memory limit setting in php.ini e.g. (memory_limit = 64M ;). Many hosts may not allow this.

    2. Increase the memory limit via .htaccess e.g. (php_value memory_limit 64M). Many hosts may not allow this.

    3. Increase the memory limit via wp-config.php e.g. (define(‘WP_MEMORY_LIMIT’, ’64MB’);)
    But they start giving me 500 internal error. Please help me.

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    Error 500 ISE is very generic and can be caused by numerous underlying issues. Your first step should be locating error log for your hosting account or asking support to help with that.
    – check with your host if the domain name is configured properly to point to public_html folder
    – It may indicate .htaccess issue. Regenerate .htaccess, and be sure the encoding in your text editor is Unicode No BOM
    – It may also indicate a problem with the configuration on the server. Usually your hosting company tech support can help.
    – it could be problem with the plugins, try resetting the plugins folder by FTP or phpMyAdmin.
    – it could be a problem with the theme. Momentarily, try switching to the default theme via FTP by renaming your current theme to rule out any theme specific issue.
    – if these steps don’t help, download WordPress again and replace your copies of everything EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies. This should replace your core files without changing your content and settings in wp-config.php file and the /wp-content/ directory.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error : Out of memory(allocated) – what to do?’ is closed to new replies.