Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can the php.ini default file be downloaded by itself for different versions?

Tags:

php

Instead of copying php.ini files over from old PHP versions whenever I upgrade PHP, I would like to be able to download the newest php-recommended.ini file from somewhere by itself. I have searched for this option on php.net but I could not find it.

like image 932
Metropolis Avatar asked Sep 17 '25 02:09

Metropolis


1 Answers

You can grab it from GitHub:

https://github.com/php/php-src

It will be in the root of the trunk/tag/branch you're dealing with.

like image 60
prodigitalson Avatar answered Sep 18 '25 18:09

prodigitalson