Get the App
SLTechnology News&Howtos  ›  Development  › 

What if there is no configuration file in php

Shulou Source: shulou.com Published: 2022-06-03 17:33:58 11月13日 Update

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!

Tags: Configuration file how to do directory content parameters source code learning compilation practical deeper location interest can be passed practical practical manual easy to operate method time Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi OPPO Reno vpn Shulou Information MySQL