Search php.ini on Amazon Linux

This question has been asked many times before, but the php.ini file seems to be missing.

I installed php 5.6.2 by compiling from a source on an Amazon Linux machine. It seems to be well installed.

which php gives

/usr/local/bin/php

php --ini gives

Configuration File (php.ini) Path: /usr/local/lib
Loaded Configuration File:         (none)
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)

When I enter /usr/local/lib, there is no php.ini. Should I create a php.ini file myself?

+4
source share

Source: https://habr.com/ru/post/1614535/


All Articles