Uploaded by Armando Paz

Setting PHP

advertisement
1. Open your file explorer by pressing Windows+E or
Click File Explorer
2. Open your local drive C
Click Windows (C)
3. Open your server folder (wamp64)
4. Once inside your server folder browse for the “bin ” folder
5. Inside “bin” go to “php”
6. Inside “php” select the version of php your server is using.
7. Go inside that particular folder and look for “php.ini”
8. Select the file “php.ini”, right click and then click on Edit
Click Edit
9. Once inside the text editor look for the following lines:
1. upload_max_filesize
2. post_max_size
3. max_execution_time
10. Press Ctrl+F to show Find dialod box
Type what you
want to look for
Click Find
Next
Change the
value from 2M
to 200M
Do de same thing with the other lines taking into account this table
Line
upload_max_filesize
Current value
2M
Change to
200M
max_execution_time
post_max_size
120
8M
600
200M
11. Look for the “opcache” session and uncomment the following lines
[opcache]
opcache.enable = 1
opcache.memory_consumption = 128
opcache.max_accelerated_files = 4000
opcache.revalidate_freq = 60
opcache.use_cwd = 1
opcache.validate_timestamps = 1
opcache.save_comments = 1
opcache.enable_file_override = 0
12. Save the file and restart your services
Download