While accessing the webpage this warning is displayed "[Warning: session_start() [function.session-start]"

Solution Verified - Updated -

Issue

  • After updating Apache not able to access webpage - http://example.com/data/index.php
  • This warning is displayed
"Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_rcnlt1mntlllgvchir7003bro1, O_RDWR) failed: Permission denied

Permission on directory

[root@server ~]# ls -l /var/lib/php
drwxrwx---  2 root apache 98304 Jul  19 16:35 session

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.