# make install overwriting php.ini

- Thread: https://externals.io/message/118645
- Original archive: https://news-web.php.net/php.internals/118645
- Started by Mark Tomlin on 2022-09-17T01:27:24+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #118645 — Mark Tomlin — 2022-09-17T01:27:24+00:00

URL: https://externals.io/message/118645#118645

To the release managers of PHP, please make sure that you do not overwrite
the php.ini file. Making the php.ini.defaults file in the */usr/local/lib*
is fine, but overwriting it when running *make install* is going to break
some setups. This happened in both 8.2.0RC1 and now 8.2.0RC2.

Please and thank you.

-- 
Thank you for your time,
Mark 'Dygear' Tomlin;

---

## #118646 — Jordan LeDoux — 2022-09-17T05:17:30+00:00

URL: https://externals.io/message/118645#118646 · In reply to: #118645

> To the release managers of PHP, please make sure that you do not overwrite
> the php.ini file. Making the php.ini.defaults file in the */usr/local/lib*
> is fine, but overwriting it when running *make install* is going to break
> some setups. This happened in both 8.2.0RC1 and now 8.2.0RC2.
>
> Please and thank you.
>
> --
> Thank you for your time,
> Mark 'Dygear' Tomlin;
>

I thought the `php.ini.defaults` file was owned by the PHP build process,
and the proper way to use it is to copy it before modifying? I'm fairly
certain that's documented. This sounds like a "do it the wrong way at your
own risk" type thing?

Jordan

---

## #118648 — Ben Ramsey — 2022-09-17T15:42:31+00:00

URL: https://externals.io/message/118645#118648 · In reply to: #118645

> 
> 
> ﻿To the release managers of PHP, please make sure that you do not overwrite
> the php.ini file. Making the php.ini.defaults file in the */usr/local/lib*
> is fine, but overwriting it when running *make install* is going to break
> some setups. This happened in both 8.2.0RC1 and now 8.2.0RC2.
> 
> Please and thank you.


Mark,

Running `make install` should not overwrite your system’s php.ini file. When the release managers package a PHP release, we do not do anything that would overwrite your system’s php.ini file.

Can you share more information about how you’re installing PHP and what behavior you are seeing? Be as detailed as you can. That’ll help us figure out if there’s a bug somewhere.

Cheers,
Ben
