Hi,

I have php 4 and php 5 compiled with zend on my server. Everything works fine with the default extension .php for php 4(not trying remote server). When I change the default extension .php to use php 5 by adding the following line to my htaccess file:

AddHandler application/x-httpd-php5 .php

I can't seem to stay logged into a user profile. Foe example after logging into a user profile and then going to upload I am presented with the login page again.


When trying to login to the admin I get redirected to

/admin/index.php?msg=You%20are%20not%20loged%20in.

Any suggestions?

My php 5 settings are as follows:

http://75.126.226.120/info.php

System Linux server.chatwithflash.com 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686
Build Date May 4 2007 00:25:00
Configure Command './configure' '--prefix=/usr/local/php5' '--exec-prefix=/usr/local/php5' '--program-suffix=5' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-mcrypt' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-zlib' '--enable-force-cgi-redirect' '--enable-discard-path' '--enable-fastcgi' '--enable-force-redirect'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/php5/lib
Loaded Configuration File /usr/local/php5/lib/php.ini

Thanks,
Brian