Editing the PHP.ini file #
Before you can use the Vidiot program without errors you MUST edit your php.ini file. The good news is that it is pretty easy and you only need Notepad or a simple text editor to make the changes. If you have a code editor on your computer you can set XAMPP to open the php.ini file in the program of your choice. However, not necessary.
There are a few ways to edit your php.ini file. From the XAMPP Control Panel or by locating the file at C:\xampp\php\php.ini (if you installed in the default directory on Windows). I will show you how to edit the php.ini file from the XAMPP Control Panel.
Opening the PHP.ini file #
- From the XAMPP control panel press the ‘config’ button beside the Apache module. NOT the main config button.
- From the menu the pops up select ‘PHP (php.ini)”. It will open with the default text editor.
- Be very careful not to change any settings by accident. I would recommend creating a backup .txt document before you edit any settings. Just copy and paste the entire document into another Notepad file.
- You need to edit 4 settings. Change as follows:
- change memory_limit=128M to memory_limit=1024M
- change post_max_size=40M to post_max_size=2048M
- change upload_max_filesize=40M to upload_max_filesize=2048M
- change max_input_vars = 1000 to max_input_vars = 10000 and uncomment it by removing the semicolon (;) in front of it
- find the extensions section and uncomment the ;extension=gd. Remove the ; in front of the option.
- Check to see if file_uploads=On is not commented and that it is set to ‘On’. If it is not set exactly as ‘file_uploads=On’ make sure to change it.
After editing the PHP.ini file #
- Save the PHP.ini file.
- Go back to the XAMPP Control Panel.
- Press ‘Stop’ beside the Apache module.
- Press ‘Start’ beside the Apache module.