php requirements?

Jan's Avatar

Jan

13 Feb, 2011 09:30 PM

Hello,
since last week, my webhoster updated his systems from php 5.2 to 5.3. Since then my site is still working without problems, but i cannot reach the backend (private) part.
I keep getting 503 server error messages.
It seems I'm not the only one with those errors. (https://community.pcextreme.nl/forum/viewtopic.php?id=285)
It's possible to fallback to 5.2, but before I do this, I would like to know if there are some configuration settings which have to change? Or if it's a known problem. I had a quick look in the bugtracker, but since i'm not really used to it, i couldn't find anything that helped me.

Any suggestions?

  1. Support Staff 1 Posted by tijs on 14 Feb, 2011 06:29 AM

    tijs's Avatar

    Jan, 503 means Service unavailble or gateway timeout. I don't think it has anything to do with PHP.
    Did you check the error-logs?

  2. Support Staff 2 Posted by dieter on 15 Feb, 2011 04:02 PM

    dieter's Avatar

    Jan, try removing the following lines from your .htaccess (in default_www).

    Options -Indexes
    Options +FollowSymlinks
    

    Most likely the server does not allow those settings.

  3. 3 Posted by Jan on 15 Feb, 2011 04:14 PM

    Jan's Avatar

    @Tijs, no access to the error-logs @Dieter no, didn't help.

    On the webhoster support forum, I see there are a lot of people with the same errors (with different CMS) after their update.
    I've also opened a support ticket with them.

  4. Support Staff 4 Posted by tijs on 15 Feb, 2011 04:16 PM

    tijs's Avatar

    @Jan: do you have a php-info file available?

  5. 5 Posted by Jan on 15 Feb, 2011 04:19 PM

    Jan's Avatar

    @Tijs I've made one here: http://fork.gandalfweb.be/phpinfo.php

  6. Support Staff 6 Posted by tijs on 15 Feb, 2011 04:28 PM

    tijs's Avatar

    @Jan: Can't see anything special in the php-info, can you ask for the error-logs?

  7. 7 Posted by Jan on 15 Feb, 2011 04:40 PM

    Jan's Avatar

    @Tijs: I've asked, we'll wait and see, but I don't expect a lot.

  8. Support Staff 8 Posted by tijs on 15 Feb, 2011 05:06 PM

    tijs's Avatar
  9. Support Staff 9 Posted by tijs on 15 Feb, 2011 10:13 PM

    tijs's Avatar
  10. 10 Posted by Jan on 16 Feb, 2011 09:15 AM

    Jan's Avatar

    @tijs when I try http://fork.gandalfweb.be/private , it jumps to the nl. Also with 'backend' url I'm getting the same error messages: I receive the login screen, but after login, I get the 503 error. I've looked in the mysql-table and saw that after login, a user-session has been created. When I deleted it manually and did a re-login, a new session was there, but still the 503 error also.

  11. Support Staff 11 Posted by tijs on 16 Feb, 2011 03:53 PM

    tijs's Avatar

    @Jan: is the site in debug-mode? If not: can you enable it, maybe it will output a notice/fatal/...

  12. 12 Posted by Jan on 16 Feb, 2011 04:12 PM

    Jan's Avatar

    yes, it was in debug mode last week, i suppose it's not changed.
    But I didn't receive any notice.

  13. Support Staff 13 Posted by tijs on 16 Feb, 2011 05:19 PM

    tijs's Avatar

    @Jan: is there any possibilty that you give us FTP/SSH-access so we can have a look? If that is an option you can send them to [email blocked]

  14. Support Staff 14 Posted by tijs on 17 Feb, 2011 11:09 PM

    tijs's Avatar

    @Jan: the bug is fixed, see your mail. For all people who have a similar issue: check which version of PHP 5.3 you're using. In 5.3.2 (which Jan is using) there is a memory_leak when calling method_exists with a closure as an argument (see: http://bugs.php.net/bug.php?id=52060)

    Possble fix (untested): instead of using method_exist use is_callable.

  15. tijs closed this discussion on 18 Feb, 2011 07:47 AM.

  16. Jan re-opened this discussion on 12 Dec, 2011 08:35 AM

  17. 15 Posted by Jan on 12 Dec, 2011 08:35 AM

    Jan's Avatar

    @Tijs can you tell me where you did the fix? I installed the latest Fork version and now I have the same problem again. When I know what to fix I can do it myself for the next updates.

  18. Support Staff 16 Posted by tijs on 23 Dec, 2011 08:49 PM

    tijs's Avatar

    Jan, search for method_exists and replace it with is_callable

  19. tijs closed this discussion on 23 Dec, 2011 08:49 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac