![]() |
|
|
|
|
|||||||
| Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
I'm getting the following error in cPanel's error log:
Quote:
Yesterday, after talking to tech support, I made the following changes to php.ini: Code:
memory_limit = 256M max_execution_time = 300 Unfortunately, I haven't found a way to reproduce the error myself. I spoke to Hostican again today, and on their advice I restarted Apache just now. The person I spoke to suggested that I consider reverting to an earlier version of PHP (I have 5.2.4) and/or setting up a cron job to restart Apache each morning. He also suggested I post here. I did a WhoIs on the IP for the error above and it was Google. Kind of interesting, maybe if Google is crawling the site every morning at the same time that would explain the timing, anyway. I don't know if Google has been the culprit each time, though. Does anyone have any ideas how I can troubleshoot this further or steps I can take to prevent it from happening? Should I go with an earlier version of PHP? Set up a cron job to restart Apache? I usually try one thing at a time to try to identify what works, so the order to try things in is another question, and since I restarted Apache today, maybe I should give it a day to see if it happens tomorrow? |
|
#2
|
|||
|
|||
|
I had a load of problems with php 5.2.4 Im curently running php 5.2.3. I have not hada problem since. So try to downgrade php. What version of apache you running?
|
|
#3
|
||||
|
||||
|
What kind of problems were you having with PHP 5.2.4? Were you getting any "cannot allocate memory" errors?
I'm running Apache 2.2.6. |
|
#4
|
|||
|
|||
|
Yep Samething among others.
|
|
#5
|
||||
|
||||
|
Thanks for the quick reply.
I guess reverting to PHP 5.2.3 is the way to go. I would like to wait to see if the restart of Apache does the trick, but I'm thinking it's less likely to be the fix than going with the earlier version of PHP based on your experience and what Hostican told me earlier today. Can I do the reversion to 5.2.3 myself, or is that a support ticket thing? |
|
#6
|
|||
|
|||
|
You can do it yourself. through WHM.
|
|
#7
|
||||
|
||||
|
Cool. I haven't got a clue how to do it, so I'll post another thread asking for some instructions. I'll bet others can use them, too.
Thanks for your help. |
|
#8
|
||||
|
||||
|
We always recommend sticking about a version behind the latest, as with the latest we find more and more common bugs like this one... where stuff doesn't work. Thanks for the help on this one chopper and itwasntme - this will help others too.
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket. |
|
#9
|
||||
|
||||
|
Well, Hostican downgraded PHP to version 5.2.2 as CGI, and unfortunately, I still got a bunch of 500 errors this am and another "Cannot allocate memory".
So here's a summary of what has been tried so far:
I am at a loss as to what else to do to solve this. Any ideas? |
|
#10
|
||||
|
||||
|
Hey
I know that you where asking how to do it before (PHP as CGI) so here is a url link too: http://forum.hostican.com/virtual-pr...r-php-cgi.html When you restart apache does it fix the issue?
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket. |
![]() |
| Tags |
| allocate, error, memory |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fatal Error : Out of Memory | ayashi | Virtual Private Servers (VPS) | 8 | 06-21-2008 02:21 AM |
| Mysql Error | captainron19 | PHP / MySQL Assistance | 4 | 06-14-2008 07:16 AM |
| Apache-WHM Parsing Error (1 change per session) | marcOpolo | Virtual Private Servers (VPS) | 0 | 01-29-2008 07:26 PM |
| Ajust memory on my vps | Mars | Virtual Private Servers (VPS) | 8 | 01-14-2008 01:22 PM |
| CGI error | domz | Shared Hosting | 3 | 10-04-2007 03:10 AM |