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

From Citizendium
< User:Dan Nessett‎ | Technical
Revision as of 12:45, 20 November 2009 by imported>Dan Nessett
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 CZ phase 3. Results: 1005 files, 56590 blank lines, 69544 comments, 460125 php code statements.