Friday, April 3, 2009

Settings at the php.ini

The php.ini file located at the php home folder ,something like this c:/www/php/php.ini.
Now i have point out some important settings which is highly recommended ::
[note: leading ; (semi-colon) indicates comment line]

1. Php file Upload Settings
;;;;;;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 30M
post_max_size = 100M

2. Database Connectivity settings
; if ur using mysql then enable (remove leading semi-colon)
extension=php_mysql.dll
; if ur using postgreSQL then enable
extension=php_pgsql.dll


Hope , it would help u.

No comments:

Post a Comment