# OJSTO v17 PHP 8.2 Compatibility Notes

This build is prepared for the current cPanel server where CLI PHP 8.2 is available and PHP 8.3 is not installed.

## What changed from v16

- composer.json PHP requirement changed from `^8.3` to `^8.2`.
- Laravel framework requirement changed from `^13.0` to `^12.0`.

## Why

The server returned:

```text
/opt/cpanel/ea-php83/root/usr/bin/php: No such file or directory
```

and Composer reported PHP 8.2.31. Laravel 13 requires PHP 8.3, so this package targets Laravel 12 for staging compatibility.

## Install command for this server

```bash
cd /home/mobiiimarket/admin.ojsto.xyz
/opt/cpanel/ea-php82/root/usr/bin/php /home/mobiiimarket/composer.phar install
```

After Composer completes:

```bash
/opt/cpanel/ea-php82/root/usr/bin/php artisan key:generate
/opt/cpanel/ea-php82/root/usr/bin/php artisan config:clear
/opt/cpanel/ea-php82/root/usr/bin/php artisan cache:clear
/opt/cpanel/ea-php82/root/usr/bin/php artisan route:clear
/opt/cpanel/ea-php82/root/usr/bin/php artisan view:clear
```
