Get the App
SLTechnology News&Howtos  ›  Development  › 

What if php does not have a configuration file?

Shulou Source: shulou.com Published: 2022-06-03 19:32:24 11月12日 Update

This article mainly explains "php has no configuration file how to do", the explanation content in the article is simple and clear, easy to learn and understand, please follow the small series of ideas slowly in-depth, together to study and learn "php has no configuration file how to do"!

Operating environment: Windows 7 system, PHP 7.0 version, DELL G3 computer

What if php doesn't have a profile?

The php configuration file requires the user to manually modify the configuration name:

php.ini Location

1. You need to compile the directory in php, find a php.ini-development or php.ini-production and copy it to the directory/data/home/server/php-7.0.0/etc, and rename it php.ini

2, Or you go to php official website to download a source package, copy php.ini-development or php.ini-production below the source package to/data/home/server/php-7.0.0/etc directory, and rename it php.ini

Note: When compiling php, you have specified some php parameters, which you can view through phpinfo.

Thank you for reading, the above is "php does not have a configuration file how to do" the content, after the study of this article, I believe that we do not have a configuration file php how to do this problem has a deeper experience, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

Tags: Configuration files how to do directories learning content parameters source code compilation location can be passed that is ideas situations manual articles time more environment users Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux vpn Huawei Redmi macOS