[PHP] possible to override session.auto_start in php.ini
I've read the manual notes for ini_set, so I have a feeling the answer to my question is no, but I'd like to make sure. I have no control over my ISP's php.ini file, but the fact that they have session.auto_start set to 1 in php.ini is causing me problems. Is there any way to override this? The manual says that session.auto_start isn't one of the settings that can be manipulated by ini_set, so I'm looking for alternative methods. Thansk. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] possible to override session.auto_start in php.ini
How about another ISP? I've read the manual notes for ini_set, so I have a feeling the answer to my question is no, but I'd like to make sure. I have no control over my ISP's php.ini file, but the fact that they have session.auto_start set to 1 in php.ini is causing me problems. Is there any way to override this? The manual says that session.auto_start isn't one of the settings that can be manipulated by ini_set, so I'm looking for alternative methods. Thansk. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Jim Musil - Multimedia Programmer Nettmedia - 212-629-0004 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] possible to override session.auto_start in php.ini
Try this http://www.google.com/search?hl=enq=%22.htaccess%22+%22override%22+%22php%22+%22settings%22spell=1 Regards, Anrey Hristov - Original Message - From: Kurt Lieber [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 7:06 PM Subject: [PHP] possible to override session.auto_start in php.ini I've read the manual notes for ini_set, so I have a feeling the answer to my question is no, but I'd like to make sure. I have no control over my ISP's php.ini file, but the fact that they have session.auto_start set to 1 in php.ini is causing me problems. Is there any way to override this? The manual says that session.auto_start isn't one of the settings that can be manipulated by ini_set, so I'm looking for alternative methods. Thansk. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] possible to override session.auto_start in php.ini
I think that I found the solution: http://www.zend.com/manual/configuration.php Regards - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 7:04 PM Subject: Re: [PHP] possible to override session.auto_start in php.ini Try this http://www.google.com/search?hl=enq=%22.htaccess%22+%22override%22+%22php%22+%22settings%22spell=1 Regards, Anrey Hristov - Original Message - From: Kurt Lieber [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 7:06 PM Subject: [PHP] possible to override session.auto_start in php.ini I've read the manual notes for ini_set, so I have a feeling the answer to my question is no, but I'd like to make sure. I have no control over my ISP's php.ini file, but the fact that they have session.auto_start set to 1 in php.ini is causing me problems. Is there any way to override this? The manual says that session.auto_start isn't one of the settings that can be manipulated by ini_set, so I'm looking for alternative methods. Thansk. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] possible to override session.auto_start in php.ini
That worked! Thanks! For those who may be interested, I added the following lines to my .htaccess file: # change some php.ini settings IfModule mod_php4.c php_flag session.auto_start off /IfModule Also, this obviously only works with Apache with PHP running as a module. Not sure if there's an equivalent option for IIS. (if you remove the IfModule lines from the above example and just include the php_flag line, it should work for php compiled as a CGI, but I haven't tested that.) --kurt On Wednesday 05 December 2001 09:07 am, Andrey Hristov wrote: I think that I found the solution: http://www.zend.com/manual/configuration.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]