mark777
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Fastcgi session problem plesk 9.2.2 and php 5.3.8Good stuff!
Forum: Everything else WordPress
In reply to: Fastcgi session problem plesk 9.2.2 and php 5.3.8You need to check what permissions are set on /tmp/ and match them exactly in the session folder specified in your php.ini
r.g. dwxr-xr-xt maybe. Also try chown to apache.
Forum: Everything else WordPress
In reply to: Fastcgi session problem plesk 9.2.2 and php 5.3.8Hi Azunoman,
Save the following in a page and call it something like testsession.php then upload it to your site. Then visit the page. Then refresh the page. If sessions are not working the number will stay at 1. If they are working it will increase by 1 each time i.e. 1,2,3 etc..
<?php session_start(); if(isset($_SESSION['views'])) $_SESSION['views']=$_SESSION['views']+1; else $_SESSION['views']=1; echo "Views=". $_SESSION['views']; ?>This will allow you to test if the session is causing the problem. If it is make sure it has exactly the same permissions as /tmp/
You mention you needed to install mcrypt, make sure you have amended the path to the Mcrypt module in /etc/php.ini
Have you checked if mcrypt is installed correctly by using phpinfo()?
Hope this helps