1 replies
Hello guys,
I was trying to access my site and I got this error(Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 261904 bytes) in C:\Users\alnebras\Deskto\Sarah'sdrupal-6.28\includes\bootstrap.inc on line 100).
I have been searching in the form for a solution and tried adding php.ini file into the directory, editing setting.php file to increase memory size but unfortunately none of them worked for me.
I really appreciate your help
#error #fatal
  • Profile picture of the author reddys
    You can increse memory limit via .htaccess or php.ini file.
    try one if dnt work try other one.
    in your root folder create file php.ini and save it. edit the file with code editor and enter this code and save it
    memory_limit = 30M
    if won't work above then you try to increase via .htaccess file
    paste this code below in your htaccess file
    php_value memory_limit 30M


    replace the 30m with your required size limit.(if you want unlimited then put -1)

    make sure that your host allowed increasing limit...
    ..
    if you have WHM then you can easily change limit
    go to server configuration> PHP Configuration Editor edit from there
    .........
    check phpinfo() to indicate the changes after you edited

    thanks
    Signature
    For those who are searching for Direct mobile CPI offers please contact me at skype: madi.webz
    {{ DiscussionBoard.errors[8790777].message }}

Trending Topics