$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>database - HELP $q=mysql_query($sel) or die(mysql_error()) HELP|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

database - HELP $q=mysql_query($sel) or die(mysql_error()) HELP

matteradmin9PV0评论

My website is crashing on this line of code. It happened after we updated to the latest version of WordPress. It hadn't been updated for the previous 5 years. So its not surprising. I'm new to WordPress so I have no idea how to fix. HELP HELP HELP

My website is crashing on this line of code. It happened after we updated to the latest version of WordPress. It hadn't been updated for the previous 5 years. So its not surprising. I'm new to WordPress so I have no idea how to fix. HELP HELP HELP

Share Improve this question asked Nov 2, 2018 at 19:18 JaywJayw 1 2
  • 1 This is not necessarily a WordPress issue per se, but an underlying PHP one. The original MySQL extension was deprecated in PHP 5.5 and removed completely in PHP 7. – MrWhite Commented Nov 2, 2018 at 19:34
  • @MrWhite is right, you should upgrade your server/hosting. the minimum is MySQL version 5.6 or greater OR MariaDB version 10.0 or greater. See requirements: wordpress/about/requirements – Remzi Cavdar Commented Nov 2, 2018 at 20:43
Add a comment  | 

1 Answer 1

Reset to default 0

This is more like a server problem, it seems like your server is very old. WordPress requirements change over time to stay up to date and provide a fast and stable experience and also more features.

As of this post, the WordPress server (minimum) requirements are the following:
PHP 5.2.4+
MySQL 5.0+

Recommended is:
PHP version 7.2 or greater.
MySQL version 5.6 or greater OR MariaDB version 10.0 or greater.
HTTPS support

See documentation: https://wordpress/about/requirements/

Post a comment

comment list (0)

  1. No comments so far