Hi,
I am trying to automated my wordpress installation on my FreeBSD web server and I have managed to get everything working but this bit:
My script is written with
Could anyone please help my undersdand wjy when I run the above script, none of the 'define' line are in the final file?
Thank you
I am trying to automated my wordpress installation on my FreeBSD web server and I have managed to get everything working but this bit:
Code:
# setup wp-config.php
wp core config --dbhost=$dbhost --dbuser=$dbuser --dbpass=$dbpass --dbprefix=$dbprefix$prefix --dbname=$dbname <<PHP
define( 'WP_DEBUG', true );
define( 'DISALLOW_FILE_EDIT', true );
define( 'WP_MEMORY_LIMIT', '64M' );
PHP
#!/bin/sh
but the script above was originally develloped for #!/bin/bash -e
...Could anyone please help my undersdand wjy when I run the above script, none of the 'define' line are in the final file?
Thank you