Installing Wordpress on Redbrick: Difference between revisions

Jump to navigation Jump to search
oooops. sorry!
No edit summary
(oooops. sorry!)
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. Run it from the directory that you have unzipped the Wordpress distribution to.
You can use this command on Redbrick to automatically modify the files but replace file1, file2, etc. with the files from the list above.
   
   
  find . -name "*.php" -exec perl -i.bak -ple 'print "#!/usr/local/bin/php" if $. eq 1; close ARGV if eof;' {} \;
  perl -i.bak -ple 'print "#!/usr/local/bin/php" if $. eq 1; close ARGV if eof;' file1 file2


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.
6

edits

Navigation menu