how to edit configuration file from cli

 php --ini | grep 'Loaded Configuration File'

 1994  nano /etc/php/8.1/cli/php.ini

 1995  sudo nano /path/to/php.ini

 1996  sudo nano /etc/php/8.1/cli/php.ini


edit ,save

ctrl x

y

ctrl t

select file


No comments:

Post a Comment

How to host application on server new way

 copy the htacess from public to root copy the server.php from public to root but rename to index.php htacess <IfModule mod_rewrite.c>...