To use your own php.ini file, you must first change the PHP configuration via the .user.ini file.
For further information on this, please refer to the PHP documentation: https://www.php.net/manual/de/configuration.file.per-user.php
You can then specify this file using the `-c` switch in your PHP command:
php -c /home/users/IhrUsername/PfadZuIhrer/.user.ini script.php
In this example, the `php.ini` file located at `/home/users/yourUsername/pathToYour/.user.ini` is used to run the `script.php` script with PHP. You can replace `/home/users/YourUsername/PathToYour/.user.ini` with the actual path to your `php.ini` file. The exact path depends on where you choose to store this file.
Specify the PHP version
Alternatively, you can also specify a particular PHP version in your PHP configuration by entering the full path to the desired PHP version. The version specified should correspond to the one configured in `php.ini`.
To do this, follow the instructions in the following help article: How do I specify different PHP versions via SSH?