Write an additional upload program under the TP framework, and the prompt is: string (78) & quot; the uploaded file exceeds the value of the upload_max_filesize option in php. ini! & Quot; how to find the php. ini, write an additional upload program under the TP framework, and the prompt is:
String (78) "the uploaded file exceeds the limit of the upload_max_filesize option in php. ini! "
How can I find php. ini?
Reply content:
Write an additional upload program under the TP framework. The following message is displayed:
String (78) "the uploaded file exceeds the limit of the upload_max_filesize option in php. ini! "
How can I find php. ini?
Php. ini is the php configuration on the server, not in TP
You can see through echo phpinfo ();
You can use the php function ini_set () to modify the default php settings.
Php. ini is the configuration file of php installed on your own. It is usually in the php Directory you have installed and has nothing to do with ThinkPHP.
For errors encountered by the subject, you can directly modify the php. ini file, or use ini_set to temporarily modify the settings as described above.
Find the php. ini modification item in the php configuration directory.
That's a php file.
Linux & mac
Usually in/etc/php. ini
Win
Usually in your php installation directory