Are you have trouble with your PHP powered application? Are you receiving an error that mentions problems with php_sessions? If so, we may have the solution for you!
Recently the webhost Ipower migrated to a new hosting platform called Vdeck 3.0. In so doing, some of the changes have caused certain php powered applications to stop working. I believe this also affects a few other hosts such as Powweb and Ipowerweb, and any Ipower reseller hosts that just upgraded to vdeck 3.0.There are two ways to solve the problem. The best way would be to edit your php.ini file. However, out of fear of breaking all my working PHP applications, I decided to simply made a change in the applications not currently working to fix the issue.
The following is the solution I used.
I created a folder called “phpsessions” outside of my public_html folder. That is to say, if the following is the path to my public_html folder:
/home/users/blah/blah/public_html
then I created:
/home/users/blah/blah/phpsessions/
Next, open up your PHP application and look for the file where you start your sessions using “session_start();”
Look for:
Quote:
//Start the session session_start(); |
Replace with:
Quote:
//Start the session ini_set(“session.save_path”,”/home/users/blah/blah/phpsessions/”); session_start(); |
Hopefully this solution will help others experiencing problems with their PHP applications!