MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to Find php.ini File Location from the Command Line.  (Read 3514 times)

0 Members and 1 Guest are viewing this topic.

Offline Rahul Sambre

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
How to Find php.ini File Location from the Command Line.
« on: July 11, 2016, 05:56:16 PM »
Hi,

Ever needed to make a quick adjustment to the php.ini file but you weren’t sure where it was? Here is a quick command you can use on server.

Quote
php -i | grep php.ini

That's all.  :)

MilesWeb Hosting Forum

How to Find php.ini File Location from the Command Line.
« on: July 11, 2016, 05:56:16 PM »