6
edits
(Added a unix command to automatically update the WP files) |
No edit summary |
||
Line 54: | Line 54: | ||
wp-admin/setup-config.php | wp-admin/setup-config.php | ||
You can use this command on Redbrick to automatically modify the files | You can use this command on Redbrick to automatically modify the files. Run it from the directory that you have unzipped the Wordpress distribution to. | ||
perl -i.bak -ple 'print "#!/usr/local/bin/php" if $. eq 1; close ARGV if eof;' | find . -name "*.php" -exec perl -i.bak -ple 'print "#!/usr/local/bin/php" if $. eq 1; close ARGV if eof;' {} \; | ||
Once you've correctly modified the files, you can follow the instructions included with Wordpress to finish the installation. | Once you've correctly modified the files, you can follow the instructions included with Wordpress to finish the installation. |
edits