php.ini is nonexistent Loaded Configuration File (none)

前端 未结 4 1958
逝去的感伤
逝去的感伤 2020-12-28 14:19

I have compiled php and apache successfully, without specifying the directory for the php config file. I want to add pear features, but there doesn\'t appear to be a php.ini

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-28 14:43

    You have to copy the file php.ini-dist from PHP source. Standard way is copying such file to /usr/local/lib/php.ini.

提交回复
热议问题