Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
docu...
WELCOME
MIDHUNSUDHAKAR
midhusudhakaran@gmail.com
Midhun.sudhakar.73@facebook.com
twitter.com/midhunopus
in.linkedin.com/pub/midhun...
CONTENT
WHAT 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 configure
the initial settings for
some computer program...
• lines beginning with semicolons are ignored.
• Keys are case sensitive, values are not.
• Booleans can be represented by...
SOME IMPORTANT SETTINGS IN PHP.INI
display_errors=off/on
determines whether errors
should be printed to the
screen as part...
session.gc_maxlifetime = time_In_sec
This setting is how long a
session is valid on your
system.
The default length of tim...
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 = integer
The maximum number of
files all...
max_execution_time= integer
This sets the maximum
time in seconds a script
is allowed to run.
default time is 30sec
Memory...
disable_functions = [function1,function2...]
This directive allows you
to disable certain
functions .
disable_classes = [c...
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.
Desc...
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 con...
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ s...
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Sta...
Php.ini
Upcoming SlideShare
Loading in …5
×

Php.ini

519 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
519
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
25
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Php.ini

  1. 1. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  2. 2. WELCOME
  3. 3. MIDHUNSUDHAKAR midhusudhakaran@gmail.com Midhun.sudhakar.73@facebook.com twitter.com/midhunopus in.linkedin.com/pub/midhunsudhakar/86/a65/a9b/Phonenumber 9995586182 PHP.INI
  4. 4. CONTENT WHAT IS PHP.INI? WHY IT USED FOR? SOME IMPORTANT SETTINGS IN PHP.INI
  5. 5. WHAT IS PHP.INI ? it is a configuration file that is used to customize behaviour of PHP at runtime.
  6. 6. WHAT IS A CONFIGUARION FILE? configuration files, or config files configure the initial settings for some computer programs. They are used for user applications, server processes and operating system settings.
  7. 7. • 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..
  8. 8. SOME IMPORTANT SETTINGS IN PHP.INI display_errors=off/on determines whether errors should be printed to the screen as part of the output
  9. 9. 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.
  10. 10. short_open_tag = 0 <? ?> If you ever have the need to embed PHP in XML, you may run into this.
  11. 11. upload_max_filesize = 10M The file size allowed to be uploaded. max_file_uploads = integer The maximum number of files allowed to be uploaded simultaneously.
  12. 12. max_execution_time= integer This sets the maximum time in seconds a script is allowed to run. default time is 30sec Memory_limit = 128M This sets the maximum amount of memory in bytes that a script is allowed to allocate.
  13. 13. disable_functions = [function1,function2...] This directive allows you to disable certain functions . disable_classes = [class1,class2...] This directive allows you to disable certain classes.
  14. 14. upload_tmp_dir = [DIR] Temporary directory for HTTP uploaded files (will use system default if not specified).
  15. 15. 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!!
  16. 16. mysql.default_host = hostname mysql.default_user = username mysql.default_password = password
  17. 17. THANK YOU
  18. 18. 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.
  19. 19. 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
  20. 20. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us

×