Top Banner
21
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Php.ini
Page 2: Php.ini

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

Page 3: Php.ini

WELCOME

Page 4: Php.ini

MIDHUN [email protected]@facebook.c

om twitter.com/midhunopusin.linkedin.com/pub/midhunsudhakar/86/

a65/a9b/Phonenumber

9995586182

PHP.INI

Page 5: Php.ini

CONTENTWHAT IS PHP.INI?WHY IT USED FOR?SOME IMPORTANT SETTINGS IN PHP.INI

Page 6: Php.ini

WHAT IS PHP.INI ?

it is a configuration file that is used to customize behaviour of PHP at runtime.

Page 7: Php.ini

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.

Page 8: Php.ini

• 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..

Page 9: Php.ini

SOME IMPORTANT SETTINGS IN PHP.INI

display_errors=off/on

determines whether errors should be printed to the screen as part of the

output 

Page 10: Php.ini

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.

Page 11: Php.ini

short_open_tag = 0 <? ?> If you ever have the

need to embed PHP in XML, you may run into this.

Page 12: Php.ini

upload_max_filesize = 10M

The file size allowed to be uploaded.

max_file_uploads = integerThe maximum number of files allowed to be uploaded

simultaneously.

Page 13: Php.ini

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.

Page 14: Php.ini

disable_functions = [function1,function2...]

This directive allows you to disable certainfunctions .

disable_classes = [class1,class2...]

This directive allows you to disable certain

classes. 

Page 15: Php.ini

upload_tmp_dir = [DIR]

Temporary directory for HTTP uploaded files (will use

system default if not specified).

Page 16: Php.ini

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!!

Page 17: Php.ini

mysql.default_host = hostname

mysql.default_user = username

mysql.default_password = password

Page 18: Php.ini

THANK YOU

Page 19: Php.ini

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.

Page 20: Php.ini

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

Page 21: Php.ini

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