Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Help: Fatal error (https://www.warriorforum.com/programming/880586-help-fatal-error.html)

mohamedismail 16th December 2013 04:38 AM

Help: Fatal error
 
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

reddys 16th December 2013 05:47 AM

Re: Help: Fatal error
 
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


All times are GMT -6. The time now is 03:17 AM.