Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What path is the php configuration file in linux placed in?

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. You can print phpinfo ()

As shown in the figure, configure the location:

2. Php-info will output the content equivalent to executing the phpinfo () function on the page. After considering the text that contains the configuration file php.ini, you can see the relevant path information.

Php-info | grep php.ini

As shown in the picture

3. Usually the default configuration location of php

/ usr/local/php/etc/php.ini

These are the details of where the configuration file of php in linux is. For more information, please follow other related articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report