Hello. i Have a copy of a website, Full copy of public_html folder and exported database file and all of these stored in a upload center.
now i want install this website to 10 or more different cpanel shared hostings and run lots of websites , so i have to upload the public_html content and database sql file, and this takes lots of time,
i use this code to direct download to shared hostings:
<?php
copy("http://babiato.tech/latest.zip", "file.zip");
?>
but i,m looking for something more complete, that copy and extact files to the cpanel and create and import the sql file in database , Or even more than that, change automaticlly website link in wp-option in database and update permanent link , so i just have to config website content for customers, do you know any code or script ?
now i want install this website to 10 or more different cpanel shared hostings and run lots of websites , so i have to upload the public_html content and database sql file, and this takes lots of time,
i use this code to direct download to shared hostings:
<?php
copy("http://babiato.tech/latest.zip", "file.zip");
?>
but i,m looking for something more complete, that copy and extact files to the cpanel and create and import the sql file in database , Or even more than that, change automaticlly website link in wp-option in database and update permanent link , so i just have to config website content for customers, do you know any code or script ?