User:Dan Nessett/Technical/How to set up a CZ clone on Ubuntu

From Citizendium
< User:Dan Nessett‎ | Technical
Revision as of 12:34, 20 November 2009 by imported>Dan Nessett (→‎Notes)
Jump to navigation Jump to search

Notes

  • Had to modify createAndPromote.php to check password for validity before creating user. Otherwise, if the password is invalid a "ghost" user is created in mwuser table.
  • Had to create a dummy user with user_id of 0, so XML dump import would work.
  • Need to set Xdebug variables for both apache2/php and php-cli versions of php.ini
  • Had to set xdebug.max_nesting_level=200 in /etc/php5/cli/php.ini so dump import wouldn't croak.
  • Used cloc to count lines of PHP code in phase 3. Results: 2353 files, 103304 blank lines, 150893 comments, 849831 php code statements.