session error
Posted by: pixeleo (175.176.95.---)
Date: January 04, 2023 03:17PM

Hello,

I have been using this wampserver 3.2 for a year now.

Just today I encounter this weird error appearing.

Even I only have this simple code


<?php

session_start();

?>

I am receiving this error
( ! ) Warning: session_start(): open(/var/cpanel/php/sessions/ea-php56\sess_ec1m1qfp9kr3ogcmkii0c74054, O_RDWR) failed: No such file or directory (2) in G:\wamp64\www\pppmc\sessionstart.php on line 2

Does any one here experienced this issue?
Any solution to this?

warm regards

Options: ReplyQuote
Re: session error
Posted by: Otomatic (Moderator)
Date: January 04, 2023 04:26PM

Hi,

By default, the sessions folder is c:\wamp64\tmp

Empty the folder.

Check in the file phpForApache.ini :

session.save_path ="C:/wamp64/tmp"

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.0…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.0…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.0 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.