creating my own php5.ini file at the root with one line of code
session.save_path = tmp/
solved the problem.
Thanks!
Search found 2 matches
- Thu May 31, 2012 8:41 pm
- Forum: PHP - Code
- Topic: Trouble when I run session_start()
- Replies: 2
- Views: 503
- Thu May 31, 2012 6:47 pm
- Forum: PHP - Code
- Topic: Trouble when I run session_start()
- Replies: 2
- Views: 503
Trouble when I run session_start()
Hi all and thanks for looking at my post> when I upload and run this very short file ( my file contains nothing but the below php) on my linux shared hosting account: <?php session_start(); $_SESSION['username'] = 'admin'; ?> I get the following errors Warning: session_start() [function.session-star...