...
- Point your web browser to the location where you uploaded the contents of blesta (e.g. https://yourdomain.com/path_to_blesta/).
- Follow the on screen instructions to complete installation.
- Once installation completes, you'll be prompted to create your administrator user and enter your license key or start a free trial.
The following is an example PHP script to perform installation via the web URL
Code Block | ||||
---|---|---|---|---|
| ||||
<?php
#
# This makes a POST request to the Blesta installer
#
$post = [
'agree' => 'yes',
'host' => 'localhost',
'port' => '3306',
'database' => 'blesta',
'user' => 'user',
'password' => 'password',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'myblestadomain.com/install/process');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$errors = curl_error($ch);
curl_close($ch);
echo "RESPONSE: ";
print_r($response);
echo "ERRORS: ";
var_dump($errors);
|
Command Line Installation
...