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

The method of modifying the path of php configuration File under linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Editor to share with you how to modify the path of the php configuration file under linux. I hope you will gain a lot after reading this article. Let's discuss it together.

How to modify the path of the php configuration file under linux: first, execute the [php-- ini] command to print phpinfo (); then view the path of the php configuration file; finally, execute the [vim / usr/local/php7/lib/php.ini] command to modify the path of the configuration file.

Modify PHP configuration file

Vim / usr/local/php7/lib/php.ini

If you don't know the path to the php configuration file, you can check it using the following method.

Execute a command

Php-ini

Print out phpinfo (), and then you can see it, as follows:

After reading this article, I believe you have a certain understanding of the method of modifying the path of php configuration files under linux. You want to know more about it. Welcome to follow the industry information channel. Thank you for your reading!

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