What if there is no configuration file in php
This article focuses on "what to do without a configuration file in php". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what to do without a configuration file in php"!
The php configuration file requires the user to manually modify the configuration name:
Php.ini location
1. Find a php.ini-development or php.ini-production to copy to the / data/home/server/php-7.0.0/etc directory in the php compilation directory and rename it to php.ini
2. Or you can go to the php official website to download a source code package, copy the php.ini-development or php.ini-production under the source package to the / data/home/server/php-7.0.0/etc directory, and rename it php.ini
Note: when compiling php, some php parameters have been specified, which you can view through phpinfo.
At this point, I believe you have a deeper understanding of "what to do without a configuration file in php". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!