[PHP-INSTALL] Can't enable use_trans_sid

2008-04-07 Thread Thiago Pojda
Guys,
 
I can't enable trans_sid, I've tried set these to php.ini :
 
session.use_trans_sid = On [tried 1 also]
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=fakeentry,fieldset="

Tried recompile it with --enable-trans-sid but still doesn't work. I just
realized that my phpinfo spits "session.use_trans_sid Off".
 
Any hints?
 
-- VERSIONS --


PHP Version 4.4.8


System  Linux debian 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 2008 i686  
Build Date  Apr 7 2008 10:46:06 
Configure Command   './configure' '--with-apxs2=/usr/bin/apxs2'
'--with-oci8-instant-client=/oracle/instantclient/' '--disable-zts' 
Server API  Apache 2.0 Handler  
Virtual Directory Support   enabled 
Configuration File (php.ini) Path   /usr/local/lib/php.ini  
PHP API 20020918
PHP Extension   20020429
Zend Extension  20050606
Debug Build no  
Zend Memory Manager enabled 
Thread Safety   enabled 
Registered PHP Streams  php, http, ftp  

   This program makes use of the Zend Scripting
Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Xdebug
v2.0.2, Copyright (c) 2002-2007, by Derick Rethans  
 

Atenciosamente,


  www.softpartech.com.br


Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
ExcelĂȘncia em Softwares Financeiros

 


RES: [PHP-INSTALL] Can't enable use_trans_sid

2008-04-07 Thread Thiago Pojda
Right .ini and apache was restarted.
 
I think maybe something is messed up with that apxs2 I'm using, as I could
not disable thread-safety also.
 
Anything?


  _  

De: Andre Huebner [mailto:[EMAIL PROTECTED] 
Enviada em: segunda-feira, 7 de abril de 2008 15:12
Para: Thiago Pojda
Assunto: Re: [PHP-INSTALL] Can't enable use_trans_sid


wrong ini edited?
did you restart apache?
 

- Original Message - 
From: Thiago Pojda   
To: php-install@lists.php.net 
Sent: Monday, April 07, 2008 8:00 PM
Subject: [PHP-INSTALL] Can't enable use_trans_sid

Guys,
 
I can't enable trans_sid, I've tried set these to php.ini :
 
session.use_trans_sid = On [tried 1 also]
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=fakeentry,fieldset="

Tried recompile it with --enable-trans-sid but still doesn't work. I just
realized that my phpinfo spits "session.use_trans_sid Off".
 
Any hints?
 
-- VERSIONS --



PHP Version 4.4.8


System  Linux debian 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 2008 i686  
Build Date  Apr 7 2008 10:46:06 
Configure Command   './configure' '--with-apxs2=/usr/bin/apxs2'
'--with-oci8-instant-client=/oracle/instantclient/' '--disable-zts' 
Server API  Apache 2.0 Handler  
Virtual Directory Support   enabled 
Configuration File (php.ini) Path   /usr/local/lib/php.ini  
PHP API 20020918
PHP Extension   20020429
Zend Extension  20050606
Debug Build no  
Zend Memory Manager enabled 
Thread Safety   enabled 
Registered PHP Streams  php, http, ftp  

   This program makes use of the Zend Scripting
Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Xdebug
v2.0.2, Copyright (c) 2002-2007, by Derick Rethans  
 

Atenciosamente,


  www.softpartech.com.br


Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
ExcelĂȘncia em Softwares Financeiros

 



  _  




No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.22.7/1361 - Release Date: 05.04.2008
07:53




[PHP-INSTALL] Re: Can't enable use_trans_sid

2008-04-07 Thread development
Is it possible that there are some other settings in a virtual-server 
configuration?

Or a .htaccess file that overrides these setting?


RES: [PHP-INSTALL] Re: Can't enable use_trans_sid

2008-04-07 Thread Thiago Pojda
I don't use .htaccess :/

It's a dedicated machine using apache and php compiled by myself.

If you meant vhosts, there are only aliases and log dirs set to those.
Nothing overriding those settings... *sigh*

Is there any way to debug this kind of stuff??



In another server I successfully enabled use_trans_sid but I still can't
login in m y app w/o cookies enabled. (My app does not set cookies itself,
all it uses is session)

-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Enviada em: segunda-feira, 7 de abril de 2008 15:29
Para: php-install@lists.php.net
Assunto: [PHP-INSTALL] Re: Can't enable use_trans_sid

Is it possible that there are some other settings in a 
virtual-server configuration?
Or a .htaccess file that overrides these setting?



Re: [PHP-INSTALL] Can't enable use_trans_sid

2008-04-07 Thread Keith Roberts

On Mon, 7 Apr 2008, Thiago Pojda wrote:


To: php-install@lists.php.net
From: Thiago Pojda <[EMAIL PROTECTED]>
Subject: [PHP-INSTALL] Can't enable use_trans_sid

Guys,

I can't enable trans_sid, I've tried set these to php.ini :

session.use_trans_sid = On [tried 1 also]
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=fakeentry,fieldset="

Tried recompile it with --enable-trans-sid but still doesn't work. I just
realized that my phpinfo spits "session.use_trans_sid Off".

Any hints?

-- VERSIONS --

PHP Version 4.4.8


System  Linux debian 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 2008 i686
Build Date  Apr 7 2008 10:46:06
Configure Command   './configure' '--with-apxs2=/usr/bin/apxs2'
'--with-oci8-instant-client=/oracle/instantclient/' '--disable-zts'
Server API  Apache 2.0 Handler
Virtual Directory Support   enabled
Configuration File (php.ini) Path   /usr/local/lib/php.ini


Are you sure you are editing the correct php.ini file 
Thiago?


Can you also post the section from your php.ini that has all 
the session.* directives in it?


It maybe that there are other session.* configuration 
options that need to be set as well to enable you to use 
PHP sessions.


Kind Regards,

Keith Roberts

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-




RES: [PHP-INSTALL] Can't enable use_trans_sid

2008-04-07 Thread Thiago Pojda
{sorry for top-posting, but outlook can't do better}

I executed "cat /usr/local/lib/php.ini | grep -i session" and found out that
there was already one entry for that conf option by default, and it was set
to 0.

It fixed it, sorry I was that dumb.

Just saw the source and it is adding the phpsessid hidden input field, now
have to find out why my app does not let me login :)


Another question:

Is there a way to make php use these fields instead of cookies for
session control? I still want to let cookies enabled for other stuff, but as
it's messing up with multiple sessions because of poor cookie handling.


Thanks!!

-Mensagem original-
De: Keith Roberts [mailto:[EMAIL PROTECTED] 
Enviada em: segunda-feira, 7 de abril de 2008 17:38
Para: php-install@lists.php.net
Assunto: Re: [PHP-INSTALL] Can't enable use_trans_sid

On Mon, 7 Apr 2008, Thiago Pojda wrote:

> To: php-install@lists.php.net
> From: Thiago Pojda <[EMAIL PROTECTED]>
> Subject: [PHP-INSTALL] Can't enable use_trans_sid
> 
> Guys,
>
> I can't enable trans_sid, I've tried set these to php.ini :
>
> session.use_trans_sid = On [tried 1 also] url_rewriter.tags = 
> "a=href,area=href,frame=src,input=src,form=fakeentry,fieldset="
>
> Tried recompile it with --enable-trans-sid but still doesn't work. I 
> just realized that my phpinfo spits "session.use_trans_sid Off".
>
> Any hints?
>
> -- VERSIONS --
>
> PHP Version 4.4.8
>
>
> SystemLinux debian 2.6.18-6-486 #1 Sun Feb 10 
22:06:33 UTC 2008 i686
> Build DateApr 7 2008 10:46:06
> Configure Command './configure' '--with-apxs2=/usr/bin/apxs2'
> '--with-oci8-instant-client=/oracle/instantclient/' '--disable-zts'
> Server APIApache 2.0 Handler
> Virtual Directory Support enabled
> Configuration File (php.ini) Path /usr/local/lib/php.ini

Are you sure you are editing the correct php.ini file Thiago?

Can you also post the section from your php.ini that has all 
the session.* directives in it?

It maybe that there are other session.* configuration options 
that need to be set as well to enable you to use PHP sessions.

Kind Regards,

Keith Roberts

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with TMDA 
[http://tmda.net]
-