I tried install Drupal 7 Dev to my server, but before the system check there is a php error message:
Fatal error: Call to undefined function json_encode() in .../drupal7/includes/common.inc on line 3281
Error message with xDebug [i'm sorry, xdebug can't make it to normal format]:
Fatal error: Call to undefined function json_encode() in ../drupal7/includes/common.inc on line 3281 Call Stack: 0.0118 366624 1. {main}() ../drupal7/install.php:0 0.0220 594420 2. install_main() ../drupal7/install.php:1174 0.8126 6193716 3. install_change_settings() ../drupal7/install.php:148 0.8573 6579588 4. theme() ../drupal7/install.php:219 0.8575 6583708 5. call_user_func_array() ../drupal7/includes/theme.inc:738 0.8575 6583996 6. theme_install_page() ../drupal7/includes/theme.inc:0 0.8580 6585680 7. template_preprocess_maintenance_page() ../drupal7/includes/theme.maintenance.inc:123 0.8606 6596568 8. drupal_get_js() ../drupal7/includes/theme.maintenance.inc:276 0.8615 6598976 9. drupal_to_js() ../drupal7/includes/common.inc:2947 Dump $_SERVER Dump $_GET Dump $_POST Dump $_COOKIE Dump $_FILES Dump $_ENV Dump $_SESSION Dump $_REQUEST
I tried it with expert and normal install profile.
Comments
Comment #1
damien tournoud commentedDrupal 7 requires PHP 5.2. The JSON extension should be compiled in by default (except if you explicitely decided not to compile it in).
Comment #2
lacyc3 commentedOkey, i'm compiling PHP with Json.
Edit:
Thanks, it works :)
Comment #3
ugerhard commented