Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $output = shell_exec("wp core download");
- if($output == true){
- shell_exec('wp config create --dbname=db_fine --dbuser=root --dbpass="" ');
- echo "Config Created.";
- shell_exec('wp db create');
- echo "Database Created";
- shell_exec('wp core install --url=http://localhost/fine --title=Fine --admin_user=admin --admin_password=admin@123 --admin_email=aghanizaheer@gmail.com');
- echo "Site Installed Successfully.";
- shell_exec("wp theme install http://yovala.nitgreen.com/wp-content/themes/xyz.zip --activate");
- echo "Theme Installed";
- shell_exec("wp plugin install akismet cmb2 contact-form-7 jetpack mailchimp-for-wp recent-posts-widget-extended redux-framework woocommerce woocommerce-gateway-paypal-express-checkout
- woocommerce-services wp-fastest-cache ");
- echo "Plugin Installed and activated.";
- } else {
- echo "Something went wrong";
- }
Add Comment
Please, Sign In to add comment