What is the fastest method for changing php settings (save php.ini)?

From: Date: Fri, 14 Mar 2003 09:08:53 +0000
Subject: What is the fastest method for changing php settings (save php.ini)?
Groups: php.general 
Request: Send a blank email to php-general+get-139686@lists.php.net to get a copy of this message
I'm sorry if this question has been answered before, but I couldn't find anything in the archives. I don't have access to php.ini and I was wondering which method for changing settings is the fastest. Take, for example, "session.cache_expire". This can be set via ini_set(), session_cache_expire(), or in .htaccess. I have a handful of session- related settings that need to be set with each script and with that in mind, would it be faster to have .htaccess do the work or would ini_set be the optimum method? And what of those, like "session.cache_expire", that have specific function that can be used? Thanks ahead of time for any help.

« previous php.general (#139686) next »