Mac php. the INI file is in this directory: privateetcphp. if ini does not have this file. ini. copy one copy by default and rename it to php. ini because the files in this folder are read-only, you can run the following command to execute the operation: sudoviprivateetcphp. inisudo is used to obtain write permissions,
Mac php. the INI file is in this directory:/private/etc/php. if ini does not have this file. ini. copy one copy by default and rename it to php. ini because the files in this folder are read-only, you can run the following command to execute the operation: sudo vi/private/etc/php. inisudo is used to obtain write permissions,
Mac php. the INI file is in this directory:/private/etc/php. if ini does not have this file. ini. copy one copy by default and rename it to php. ini because the files in this folder are read-only, you can run the following command to execute the operation: sudo vi/private/etc/php. inisudo is used to obtain the write permission. If you want to modify the upload configuration information, you can search for upload and enter/upload (/search down? Search up) and then input I to modify the data, then esc save and exit: wq
Original article address: Modify the mac php. ini file. Thank you for sharing it.