[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PHP session control failure - help please



"jorge" <jorge@xxxxxxxxxxxxxxxx> wrote:
> I was doing some testing on sessions and as PHP pkg is not compiled
> with the --enable-trans-sid  option, I enabled the session.auto_start
> in the php.ini file (in both httpd and admserv).

Did you add the following to php.ini?

session.use_trans_sid = 1

I don't believe the directive is present in php.ini by default, but IIRC
it's what needs to be added to get transparent sid support.  You may have to
configure with --enable-trans-sid for it to be recognized - I can't recall
because I generally configure with that option when I compile PHP from
source.

> ...or maybe someone can lead me in how to recompile PHP ?

Between the list archives, the configuration options list at php.net and the
included instructions it's pretty well covered.  In the future it would be
helpful to know which specific server model you are referring to.  I've
installed PHP as an Apache module on all of the RaQs except the XTR and
there are some differences in the procedure and what libraries and programs
are pre-installed which are needed for some configuration options you may
want.  Here are some useful links.  Good luck.

cobalt-users archive: http://marc.theaimsgroup.com/?l=cobalt-users
List of PHP configuration options:
http://www.php.net/manual/en/install.configure.php

You definitely want to make use of the following option, unless you want to
rebuild Apache or install PHP as a CGI:

--with-apxs=/usr/sbin/apxs

At a minimum you'll probably want this as well:

--with-config-file-path=/etc/httpd

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/