Form: http://blog.ixpub.net/html/92/15070492-280599.html
In general, the phpinfo () page can be displayed. Let's start with the problem that occurs after the page is displayed.
PHP problems are displayed on the phpinfo () page.
First, check whether your php. ini path is correct.
Q: I have configured the php. ini file, but why is it ineffective after I restart the server?
A: There are several major issues.
The first reason is that the php. ini file read by the system is inconsistent with the php. ini file you modified at the time.
1. You can use the configuration file (PHP. INI) path option of phpinfo () to check which PHP. INI is read by the current PHP server.
2. If you want to change the file access location of PHP. ini, refer to the search sequence of PHP. ini, as shown below:
A) position specified by the SAPI module (phpinidir command in Apache 2,-C command line option in CGI and CLI, php_ini parameter in nsapi, and php_ini_path environmental variable in thttpd)
B) hkey_local_machinesoftwarephpinifilepath (Windows Registry location)
C) phprc Environment Variables
D) current working directory (for CLI)
E) Web Server Directory (for SAPI module) or PHP Directory (for other Windows scenarios)
F) Windows Directory (C: Windows or C: WINNT), or the location specified by the -- with-config-file-path option during compilation
*
......
[Read the full text]