skip to Main Content

session_start() causes error: No such file or directory (fresh, portable XAMPP) – Apache

I have the following PHP code: include './globallyUsedFunctions/connectToDatabase.php'; include './globallyUsedFunctions/hashInput.php'; session_start(); For some reason, it causes this error: <br /> <b>Warning</b>: session_start(): open(xampptmpsess_4p70knkr6lb7r9ha0pitktl3fe, O_RDWR) failed: No such file or directory (2) in <b>D:foundationtestssrcassetsphplogin.php</b> on line <b>2</b><br /> <br /> <b>Warning</b>:…

VIEW QUESTION

Apache Not Starting after adding a virtual host

I added a virtual host in httpd-vhosts.conf as follows <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:/xampp/htdocs/basicwebsite/public" ServerName basicwebsite.dev </VirtualHost> and I also uncommented Include conf/extra/httpd-vhosts.conf from https.conf as suggested in similar threads. I also added 127.0.0.1 basicwebsite.dev in windows/system32/drivers/etc/hosts. Now when…

VIEW QUESTION
Back To Top
Search