3. Check and change ‘php.ini’ settings
Now, we’ll need to make some changes to the ‘php.ini’ file. This file is located in the PHP installation folder, so the location depends on the PHP installation type you chose.
TIP: make a copy of the ‘php.ini’ file each time before editing. Mark your copy by adding a date-timestamp in the name. For example: ‘php.ini.20201201_1522’ or ‘php_20201201_1522.ini’.
The ‘php.ini’ file is located in the PHP installation folder. To find out what the installation folder is, open a dos-cmd-box and run:
If ‘PHP Manager’ is available in IIS, you can check if you are using the same version in IIS compared to the version in the dos-cmd-box (see additional information) . They should be the same. Make your changes accordingly.
Manual changes to ‘php.ini’
Error to console instead of logfile:
At the bottom, add ‘fileinfo’ and ‘sqlsrv’ dll’s to be loaded. Probably on ‘fileinfo’ have to added:
PHP uses a number of settings for temp and upload folders. Make sure the ‘Users’ group (all users) have uplifted security on these folders with ‘Modify’ Permission. Folders like your system %TEMP% and %TMP% (probably ‘C:\Windows\Temp’), and the PHP ‘sys_temp_dir’, ‘session.save_path’ and ‘upload_tmp_dir’.