User:Dan Nessett/Technical/How to set up a CZ clone on Ubuntu: Difference between revisions
Jump to navigation
Jump to search
imported>Dan Nessett (→Notes) |
imported>Dan Nessett No edit summary |
||
Line 5: | Line 5: | ||
* Need to set Xdebug variables for both apache2/php and php-cli versions of php.ini | * 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. | * 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: | * Used cloc to count lines of PHP code in CZ phase 3. Results: 1005 files, 56590 blank lines, 69544 comments, 460125 php code statements. |
Revision as of 12:45, 20 November 2009
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.