Installing Wordpress on Redbrick: Difference between revisions

Jump to navigation Jump to search
Added a unix command to automatically update the WP files
m (Just adding another file that needs to be modified!)
(Added a unix command to automatically update the WP files)
Line 53: Line 53:
  wp-admin/user-edit.php
  wp-admin/user-edit.php
  wp-admin/setup-config.php
  wp-admin/setup-config.php
You can use this command on Redbrick to automatically modify the files but replace file1, file2, etc. with the files from the list above.
perl -i.bak -ple 'print "#!/usr/local/bin/php" if $. eq 1; close ARGV if eof;' file1 file2 file3


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

edits

Navigation menu