LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 12-10-2009, 06:10 AM   #16
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41

Okay, a quick explanation for you.

You created the file as root with read, write permissions for the owner (rw-------)

The webserver is running as user apache, so is unable to read the file.

The command i gave u changes the file permissions to be readable by the group and others (readable by anyone)
 
  


Reply

Tags
apache2, centos, php


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to execute php scripts remotly in apache? harbo Linux - Server 1 03-17-2009 11:40 AM
Cant Get Apache to execute php pages nevarlen Linux - Newbie 1 02-18-2005 12:48 AM
Apache : execute pages as different user guideweb Linux - Security 2 03-15-2004 07:41 PM
Need help to configure Apache TO EXECUTE PHP SCRIPTS mgrapr Linux - Hardware 2 01-21-2004 10:23 AM
Apache Config for users to execute CGI scripts CragStar Linux - General 9 01-20-2003 01:37 AM


All times are GMT -5. The time now is 02:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration