Here is my code:
<?php
session_start();
No other includes, spaces or anything. The entire file has two lines.
The output I get:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\webpage\test.php:1) in C:\xampp\htdocs\webpage\test.php on line 2
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\webpage\test.php:1) in C:\xampp\htdocs\webpage\test.php on line 2
I am using Xampp. Any ideas?
EDIT: From php.ini
session.save_handler=files
session.save_path="C:\xampp\tmp" (which exists and is writable by everyone)