Change PHP settings

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Kingo
Forum Contributor
Posts: 146
Joined: Thu Jun 03, 2004 9:38 am

Change PHP settings

Post by Kingo »

Hello I would like to know how to change the PHP Settings for the Session Variables. I want to set session.bug_compat_warn to off
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You need to edit the php.ini. Where that'll be depends on your operating system.

Mac
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

can also do it through [php_man]ini_set[/php_man]() as the value is PHP_INI_ALL

There's also a htaccess option: http://www.php.net/manual/en/configuration.changes.php
Post Reply