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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content