• Resolved rdub80

    (@rdub80)


    Since one week I am struggling with this 500 Internal Server Error.
    I backed my page up and imported my sql database again. It run for a day and was back to the 500 error. There is additional a 404 error. This is what my bluehost error log says:

    [Wed Aug 20 06:48:15 2008] [error] [client 66.249.70.234] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so: undefined symbol: compiler_globals in Unknown on line 0 
    
    [Wed Aug 20 06:48:15 2008] [error] [client 66.249.70.234] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so: undefined symbol: core_globals in Unknown on line 0 
    
    [Wed Aug 20 06:48:15 2008] [error] [client 66.249.70.234] 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: undefined symbol: ps_globals in Unknown on line 0 
    
    [Wed Aug 20 06:48:15 2008] [error] [client 66.249.70.234] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so: undefined symbol: core_globals in Unknown on line 0 
    
    [Wed Aug 20 06:48:15 2008] [error] [client 66.249.70.234] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer_TS/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0

    my wordpress error_log says:

    [18-Aug-2008 13:19:12] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'rewrite_rules' LIMIT 1 made by get_option [18-Aug-2008 13:19:12] WordPress database error MySQL server has gone away for query SELECT post_modified_gmt FROM wp_posts WHERE post_status = 'publish' ORDER BY post_modified_gmt DESC LIMIT 1 made by get_lastpostmodified [18-Aug-2008 13:19:12] WordPress database error MySQL server has gone away for query SELECT post_date_gmt FROM wp_posts WHERE post_status = 'publish' ORDER BY post_date_gmt DESC LIMIT 1 made by get_lastpostdate [18-Aug-2008 13:19:12] WordPress database error MySQL server has gone away for query SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') ORDER BY wp_posts.post_date DESC LIMIT 0, 5 made by get_posts [18-Aug-2008 13:19:12] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by get_posts [18-Aug-2008 13:19:12] WordPress database error MySQL server has gone away for query SELECT post_modified_gmt FROM wp_posts WHERE post_status = 'publish' ORDER BY post_modified_gmt DESC LIMIT 1 made by get_lastpostmodified [18-Aug-2008 13:19:12] WordPress database error MySQL server has gone away for query SELECT post_date_gmt FROM wp_posts WHERE post_status = 'publish' ORDER BY post_date_gmt DESC LIMIT 1 made by get_lastpostdate

    can anyone tell me what to do I am completetly out of ideas.
    thanks for any help,
    if you need more info please ask.. I’m not sure, kinda new to this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Contact your web host about this.

    I would certainly contact Bluehost about this. Here are some things which may be wrong, and things you can do to fix them.

    Go to PHP Config (in your Bluehost cpanel) and click the button to install the master php.ini file. Then make sure that you aren’t using php4. If you are using Fast CGI you may have issues with that, too. I would suggest selecting php5 from the list. Next go into your files and rename the php.ini.default to php.ini (if you have an old php.ini file, just name it to something like php.ini.bak so you don’t delete it, but it won’t function) Copy the php.ini file into any folder which gives you errors.

    Also check your .htaccess file. Temporarily rename it to something like .htaccess.bak so it won’t function, then see if your site comes up, if it doesn’t, you can always turn your .htaccess file back on by changing its name back.

    Since you are getting 404 errors, make sure that all your files exist, maybe even re-upgrade your blog and try de-activating your plugins. These problems may be coming from a faulty plugin.

    Make sure bluehost has the needed .so files on your server.
    Good luck!

    If your own php.ini doesn’t contain any references to pdo, mysql & such — this is a result of the global configuration on bluehost and is only something they can sort.

    Otherwise, Bernard covers all of the other angles thoroughly.

    Thread Starter rdub80

    (@rdub80)

    Thanks to all of you. Bluehost fixed it!

    benjackson

    (@benjackson)

    but what did bluehost DO to actually fix it? What’s the issue? What is going on on the hosting side that is preventing a proper install? It would just make it easier to hunt down the problem and even instruct your host to do what’s necessary to fix it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘500 Internal Server Error and 404 Not Found error’ is closed to new replies.