|
Posted by Jerry Stuckle on 04/07/07 19:25
Luciano wrote:
> I have been programing in PHP recently. For this reason, I have lots
> of basic doubts. Let's see one of then. I'm developing in the
> localhost, so safety issues are not important. I have a script trying
> to rename some local files, however, PHP reports an error. I don't
> have permission to access that folder, therefore, it's not possible
> to do this task.
> I'm using pHP as a module of Apache (Apache2Triad). The variable
> "open_basedir" in PHP.INI is empty. I don't know what to do to get the
> permission.
> By the way, I would like to have the power of doing everything with
> PHP, without the safety restrictions. however, I don't know which
> lines I should change.
> If someone can help me, thanks very much!
>
This generally means the OS security is restricting access, not PHP.
What OS are you using? And does the Apache user have access to the
directories and files in question?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|