Level 73
If you can ssh into it you can run this command. php -i | grep "Loaded Configuration File"
Or check this url for more help https://devanswers.co/ubuntu-php-php-ini-configuration-file/
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
On a server setup using laravel forge, where precisely can I find the php.ini file. I connected to the server using file zilla but I cant find the php.ini file, please which directory should I look in?
If you can ssh into it you can run this command. php -i | grep "Loaded Configuration File"
Or check this url for more help https://devanswers.co/ubuntu-php-php-ini-configuration-file/
Please or to participate in this conversation.