Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring PartnerBaabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
WELCOME
MIDHUN [email protected]@facebook.c
om twitter.com/midhunopusin.linkedin.com/pub/midhunsudhakar/86/
a65/a9b/Phonenumber
9995586182
PHP.INI
CONTENTWHAT IS PHP.INI?WHY IT USED FOR?SOME IMPORTANT SETTINGS IN PHP.INI
WHAT IS PHP.INI ?
it is a configuration file that is used to customize behaviour of PHP at runtime.
WHAT IS A CONFIGUARION FILE?
configuration files, or config files configurethe initial settings forsome computer programs. They are used for user applications,server processes and operating system settings.
• lines beginning with semicolons are ignored.• Keys are case sensitive, values are not.• Booleans can be represented by..• basic settings are language options, resource limit data handling, file uploads, etc..
SOME IMPORTANT SETTINGS IN PHP.INI
display_errors=off/on
determines whether errors should be printed to the screen as part of the
output
session.gc_maxlifetime = time_In_sec
This setting is how long a session is valid on your
system. The default length of
time is 24 minutes.
short_open_tag = 0 <? ?> If you ever have the
need to embed PHP in XML, you may run into this.
upload_max_filesize = 10M
The file size allowed to be uploaded.
max_file_uploads = integerThe maximum number of files allowed to be uploaded
simultaneously.
max_execution_time= integer This sets the
maximum time in seconds a script is allowed to run.
default time is 30secMemory_limit = 128M
This sets the maximum amount of memory in bytes that a script is allowed to allocate.
disable_functions = [function1,function2...]
This directive allows you to disable certainfunctions .
disable_classes = [class1,class2...]
This directive allows you to disable certain
classes.
upload_tmp_dir = [DIR]
Temporary directory for HTTP uploaded files (will use
system default if not specified).
allow_url_fopen =on/off
This option enables the URL-aware fopen wrappers that enable
accessing URL object like files.Description:If allow_url_fopen =off File_get_content(url) will not work!!
mysql.default_host = hostname
mysql.default_user = username
mysql.default_password = password
THANK YOU
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course @ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
Emarald Mall (Big Bazar Building)Mavoor Road, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550
NC Complex, Near Bus StandMukkam, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550
Cafit Square,Hilite Business Park,Near Pantheerankavu,Kozhikode
Start up VillageEranakulam,Kerala, India.Email: [email protected]
Contact Us