How to install Laravel on ISPmanager hosting
In the examples laravel.example.com is your domain and wikitest is your hosting login.
Laravel 13 needs PHP 8.3 or newer. The hosting has PHP 8.4 and Composer. Installation takes 5–10 minutes.
1. Create the site
- "Sites" → "Create a site" → manual setup.
- Enter the domain in the "Name" field.
- Enter
publicin the "Website public directory" field. The site will be served from the projectpublicfolder, and files with passwords stay unreachable from the internet.

- In the PHP block choose version 8.4.
- Tick "Use PHP Composer".
- Click "Create".

2. Create a database
- "Databases" → "Create a database".
- Database name, user name and password. Write them down — you need them for the .env file.
- Click "Create".

3. Install Laravel
Open the Shell client: left menu → "Shell-client" (more). Run the commands one by one:
cd ~/www/laravel.example.com
rm -rf public composer.json composer.phar .composer
composer create-project laravel/laravel . --no-scripts --no-interaction
cp .env.example .env
php artisan key:generate
php artisan package:discover- The second command removes the placeholders the panel created in the site folder. Composer installs a project only into an empty folder.
--no-scriptsis required. Running external programs from PHP is disabled on the hosting, and without this flag the installation stops withThe Process class relies on proc_open. The next three commands do the needed steps.

4. Connect the database in .env
- "File manager" → www → the site folder. Click the three dots of the
.envfile → "Open file".

- Replace the DB_ block with your database details. The DB_ lines are commented out with # by default — remove it.
- Click "Save".
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=laravel_db
DB_USERNAME=laravel_user
DB_PASSWORD=your_db_passwordAlso set APP_URL=https://laravel.example.com. For a live site set APP_ENV=production and APP_DEBUG=false — otherwise visitors see paths and settings on errors.

5. Create the tables
In the Shell client:
cd ~/www/laravel.example.com
php artisan migrate --force
Open the domain in a browser — the Laravel start page appears.

6. The Laravel scheduler
If the project has scheduled tasks, add one job that runs every minute:
- "CRON jobs" → "Create a task".
- "Command":
/opt/alt/php84/usr/bin/php /var/www/wikitest/data/www/laravel.example.com/artisan schedule:run >> /dev/null 2>&1- "Schedule" — "expert mode",
*in all five fields. - Click "Create".


Your own project instead of a new one
Upload a ready project to the site folder as an archive or via Git, then in the Shell client:
composer install --no-dev --no-scripts --optimize-autoloader
php artisan package:discover
php artisan migrate --force
php artisan config:cache
php artisan route:cacheThe .env file is not kept in the repository — create it on the hosting.
If something does not work
- Error 500 — open
storage/logs/laravel.log. Wrong database details in .env are a common cause. - A placeholder page or a file list is shown — check that the website public directory is
publicin the site settings. - Nothing changes after editing .env — clear the cache:
php artisan config:clear. - A
proc_openerror in Composer — add--no-scriptsand runphp artisan package:discoverseparately.