O
oddconcept
Guest
I am a newbie to linux... So please excuse my ignorance...
I have a Fedora Core Linux Box running Plesk 8. It is a clean install and I just setup a couple of my personal Domains.
Everything running OK.
I have a folder (Connections) on one of my sites that I use to store my database connection scripts to MySQL.
I can do a simple require
require($_SERVER['DOCUMENT_ROOT'].'/Connections/connRemote.php');
Everything works great. I can call this from anywhere no problem.
However, when I set the permissions on the folder (Connections) to 750 so that the outside world cannot access my user names and passwords. It fails.
I have logged in SSH to see the permissions on the folder.
owner name is correct (it's the user name for the domain)
group name is set to "psacln"
Is that correct? Should this be changed.
Do I have to set something in the php.ini file for php to run as the user psacln?
Where would this type of error be logged?
Any help would be greatly appreciated...
Atleast a kick in the right direction
I have a Fedora Core Linux Box running Plesk 8. It is a clean install and I just setup a couple of my personal Domains.
Everything running OK.
I have a folder (Connections) on one of my sites that I use to store my database connection scripts to MySQL.
I can do a simple require
require($_SERVER['DOCUMENT_ROOT'].'/Connections/connRemote.php');
Everything works great. I can call this from anywhere no problem.
However, when I set the permissions on the folder (Connections) to 750 so that the outside world cannot access my user names and passwords. It fails.
I have logged in SSH to see the permissions on the folder.
owner name is correct (it's the user name for the domain)
group name is set to "psacln"
Is that correct? Should this be changed.
Do I have to set something in the php.ini file for php to run as the user psacln?
Where would this type of error be logged?
Any help would be greatly appreciated...
Atleast a kick in the right direction