It is currently Fri Oct 20, 2017 11:20 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: php memory limit
PostPosted: Mon Sep 13, 2010 8:39 am 
Newbie
Newbie

Joined: Sat Jul 17, 2010 3:31 pm
Posts: 7
Hello,

I would like to know what the standard php memory limit is on a free hosting plan.

I got the following error on my Drupal website:

Code:
Fatal error: Out of memory (allocated 25165824) (tried to allocate 128 bytes) in /home/www/[...]


Therefore, I would like to ask how the php memory can be increased.

(eventually through php.ini, .htaccess,...?)

Thank you very much


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 15, 2010 2:08 am 
Newbie
Newbie

Joined: Sat Jul 17, 2010 3:31 pm
Posts: 7
is it 128Mb like it is published on this webpage? http://x10hosting.com/free-hosting-comparison-freehostia


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 15, 2010 4:56 am 
Site Admin

Joined: Sat May 31, 2008 1:56 am
Posts: 424
Yes, the PHP memory_limit is set to 128MB as you have mentioned. You will be able to check the PHP settings for your account with us by creating a simple PHP info page using the code:

<?php
phpinfo();
?>

If in the future you have any other questions, do not hesitate to contact us again.

_________________
Best Regards,
Miles
ModeratorsTeam
Freehostia.com


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 15, 2010 5:25 am 
Newbie
Newbie

Joined: Sat Jul 17, 2010 3:31 pm
Posts: 7
ok, thank you.

Then, I wonder if the following error message makes sense:
Code:
Fatal error: Out of memory (allocated 25165824) (tried to allocate 128 bytes) in /home/www/[...]

I was converting the "allocated 25165824" into Megabytes and that is about 25 MB, which is very different to 128 MB. Is that the right way to do it?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 18, 2010 8:09 pm 
Newbie
Newbie

Joined: Sat Jul 17, 2010 3:31 pm
Posts: 7
could someone explain me what the error message means? (in terms of MBs of allocated memory)
Code:
Fatal error: Out of memory (allocated 25165824) (tried to allocate 128 bytes) in /home/www/[...]

thank you very much


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011