Why should I copy a copy of php after installing php. ini to usrlocalphplibphp. ini I tried it. If you do not copy a copy of php, it will work normally. Why do you need to copy a copy of php from the installation package. ini to usrlocalphplibphp.
The Phpini file is a configuration file of php. on a windows host, if you haven't modified the configuration file, the phpini file must be in the same directory as your php installation file, but it seems different in linux.
Php. the INI file is a
Php. the INI file is a configuration file of php. If you have not modified the configuration file of php on a windows host. the INI file must be in the same directory as your php installation directory, but it seems to be different in linux. Next I
If you and I work like ASP and PHP at the same time, then IIS should be used as Web server. However, if IIS is used, you must put PHP. ini under the Windows System (C:/Windows or C:/WINNT ).
But what should I do if I really don't want to put PHP.
Find the path of the php configuration file php. ini. Generally, php. ini is located in the following Directory: Copy the code: etc or usrlocallib. If you still cannot find php. ini or find the php. ini modification, it will not take effect (in fact,
This article mainly describes how to find the php configuration file php. there are two methods for ini path. many users cannot find php after installing php. ini, or an environment installed by others. The method in this article is simple and
In linuxThe most likely location is the/etc directory or the/usr/local/lib directory.If you still cannot find the location, use the ultimate solution:Create a php file and write the following code Save the file, visit the page in the browser, and
How does one view the path of the php configuration file php. ini?
Let us know two ways to find the path of the php configuration file php. ini.Usually php. ini is located:/Etc directory or/usr/local/lib directory.If you still cannot find
For common php. ini configurations, see legolas. blog.51cto. com2631685493917. the file must be named php. ini and placed in the directory specified by the PHPIniDir command in httpd. conf. You can view the latest version of php. ini in the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.