Hi,

I'm using PHP 4.1.2 on the server with problems - it's hosted on a shared server and thus I have no direct access to much of anything. I have had this script running on versions 4.0.6 thru 4.2.2 with no problems until now.

Here are the settings attained from phpinfo(); for the server that does not work - 4.1.2 ... and from the server that does work 4.2.2

After the Configure Command of each is a list of settings that differ.

Much thanks for responding so quickly and at such a late hour!!

Thanks
-Tim

PHP 4.2.2 (works fine)

'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mcrypt' '--enable-bcmath' '--enable-calendar' '--with-xml' '--with-swf=/usr/local/flash' '--with-gd=../gd-1.8.4' '--with-jpeg-dir=/usr/local' '--with-imap=../imap-2001.BETA.SNAP-0107112053' '--with-ming=../ming-0.1.1' '--enable-magic-quotes' '--with-mysql' '--enable-safe-mode' '--enable-track-vars' '--with-ttf' '--enable-versioning' '--with-curl' '--with-zlib'

Settings:
allow_call_time_pass_reference ON
extension_dir ./
magic_quotes_gpc ON
register_argc_argv ON
sendmail_from no value
unserialize_callback_func no value
variables_order EGPCS

PHP 4.1.2 (doesn't work)

'./configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-gd' '--with-gettext=/usr' '--enable-safe-mode' '--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes' '--with-regex=system' '--with-ttf' '--with-db' '--with-gdbm' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-track-vars' '--enable-wddx=shared' '--enable-mm=shared' '--enable-xml' '--enable-ftp' '--disable-debug' '--with-libdir=/usr/lib' '--with-db3' '--with-interbase=shared' '--with-pgsql=shared' '--with-ldap' '--with-imap' '--with-curl=shared' '--with-pdflib=shared'

Settings:
allow_call_time_pass_reference OFF
extension_dir /usr/lib/apache/php
magic_quotes_gpc OFF
register_argc_argv OFF
sendmail_from [EMAIL PROTECTED]
variables_order GPCS


At 07:11 PM 1/21/2003 +1000, Timothy Hitchens \(HiTCHO\) wrote:
What version of PHP are you using and do you have globals turned on?

Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]

> -----Original Message-----
> From: Tim Thorburn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 21 January 2003 6:59 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP Sessions
>
>
> Hi,
>
> After a day and a half of pounding my head against the wall I
> believe I've
> identified the source of the problem.  When I create and register the
> session in my login page - it does not carry forward to any other
> pages.  I've found this by going through several different
> tutorials for
> making password protected areas using PHP and Sessions that
> I've found both
> online and in books - all produce the same result on the server with
> attitude - yet all work on all other servers I'm currently
> using for my
> hosting.
>
> So, since this is an eCommerce site for my client and they're getting
> increasingly impatient with the progress made I'm left with
> little choice
> in this matter - as moving the site now would be unthinkable,
> and tech
> support at the hosting company is less than stellar, and
> generally not in
> English.  Are there any obvious PHP settings that I'd need to
> adjust to
> ensure that Sessions can be carried forward to additional
> pages?  My only
> other option now is to force my client to login to each
> screen in the admin
> area (conceivably this could mean the client would need to
> log in to a
> minimum of 8 different pages to observe their records and
> make changes to
> the site).
>
> I'm at the point of desperation and sleep deprivation ... If
> there are no
> obvious PHP settings that need to be altered - what else
> could be producing
> this problem?
>
> Thanks
> -Tim
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Reply via email to