1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

500 error after upgrade php5.3.18

Discussion in 'Server Configuration and Hosting' started by algheilani, Oct 24, 2012.

  1. algheilani

    algheilani Member

    Hello
    after i upgraded my host to php5.3.18
    500 internal error show in my forum

    I don't why !!
     
  2. digitalpoint

    digitalpoint Well-Known Member

    5.3.18 working fine for me. Have you checked your server/PHP logs?
     
  3. cclaerhout

    cclaerhout Well-Known Member

    May be this. You've got this message for all forum pages even index?
     
  4. Insy

    Insy Well-Known Member

    What do you have in your apache's error_log ?
     
  5. algheilani

    algheilani Member

    I had to return to PHP 5.2.17 so my forum works again :(
    my host says the script is not working on 5.3.18 strange when others says it works.

    but now I am facing a problem with my seo freindly pages not working
    mod_rewrite is working fine on my wordpress but not in xenforo why???????????????
     
  6. cclaerhout

    cclaerhout Well-Known Member

    XenForo has no problem with php 5.3. Your host didn't know how to solve the problem, so he told you this. I had the same problem last week... That was the first time in 8 years that their support was not good.

    Did you try what I done in the post I gave you above? (see here)
     
    algheilani likes this.
  7. algheilani

    algheilani Member

    Yes I tried just now it worked perfectly
    thanks

    what about the error 500 do you have any idea I really thinking of 5.3
     
  8. cclaerhout

    cclaerhout Well-Known Member

    You didn't reply to my question: with php 5.3 could you at least display the forum home page but not the others? On my websites I didn't have error, but a blank page with no error log in any console but I think (i'm not sure) it depends on your sever config. When I switched of XenForo friendly url, it was working again. I told my host about this and their answer was: "Do you really need friendly url" o_O As soon as I heard this, I ended the conversion politely to find myself a solution. And the solution was to edit the htaccess file. So if you're not scared to spend again a lot of time, you should try again with php 5.3.

    And if someone knows the technical reasons why the htaccess must now be edited, please tell us.

    By the way who is your host?
     
  9. algheilani

    algheilani Member

    No it directly goes to error 500 I couldn't do any thing

    I tried to re upload but still error 500

    only my wordpress on homepage was working.
     
  10. cclaerhout

    cclaerhout Well-Known Member

    So you error with Php 5.3 might not been the same... Did you check your logs in your Cpanel?
     
  11. algheilani

    algheilani Member

    This was on log

    4-Oct-2012 17:15:29] PHP Warning: PHP Startup: SQLite: Unable to initialize module
    Module compiled with module API=20090626, debug=0, thread-safety=0
    PHP compiled with module API=20060613, debug=0, thread-safety=0
    These options need to match
    in Unknown on line 0
    [24-Oct-2012 17:15:29] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
    Module compiled with module API=20090626, debug=0, thread-safety=0
    PHP compiled with module API=20060613, debug=0, thread-safety=0
    These options need to match
    in Unknown on line 0
    [24-Oct-2012 18:56:58] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [24-Oct-2012 19:03:02] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0
     
  12. cclaerhout

    cclaerhout Well-Known Member

    And your host didn't find the error with that? Check this.
    P.S: hard to say those errors are causing problems with XenForo but your host should have tried first to deal with them.
     
    algheilani likes this.
  13. algheilani

    algheilani Member

    I am updating php right now lets see
     
  14. algheilani

    algheilani Member

    again same problem
     
  15. cclaerhout

    cclaerhout Well-Known Member

    And do you find again the same problem with the log? Did you tell your host to update the ini file as it is advised in this post?
     
  16. algheilani

    algheilani Member

    They say it was resolved !!!!

    I will try to reinstall them still looking for ssh code
     
  17. cclaerhout

    cclaerhout Well-Known Member

    ... so is it working now?
     
  18. algheilani

    algheilani Member

    nooo :(
    I reinstalled timezonedb pdolite
    but nothing
     
  19. algheilani

    algheilani Member

    pecl install pdo failed
     
  20. cclaerhout

    cclaerhout Well-Known Member

    But do your log have the same errors?
     

Share This Page