I accidentally deleted php.ini
from /etc/php5/apache2
. How to recover it?
I tried to remove and install php5
without luck.
I accidentally deleted php.ini
from /etc/php5/apache2
. How to recover it?
I tried to remove and install php5
without luck.
You can copy from /usr/share/php5/php.ini-production.
sudo cp /usr/share/php5/php.ini-production /etc/php5/apache2/php.ini
/usr/lib/php/7.1/php.ini-production
for me. – okdewit Mar 31 '17 at 11:56/usr/lib/php/8.1/php.ini-production.cli
– SebMa Nov 08 '22 at 15:05