Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 10-17-2011, 12:23 AM   #1
ncjbhd
Registered User
 
Join Date: Jul 2011
Posts: 262
PHP/ apache problem

Hello all!
What I have is a problem with my apache server and I don't know how to deal with it...

I have a PHP page that is supposed to create an empty file, using "system" command, then open it ("fopen") na dwrite some stuff in there...
But, when I point to the reffering page, it says ...
"Permission denied" and the file is not created..

Because I don't know much about servers, is there somewhere in my Linux filesystem that I should tell PHP to create the file where it will not have such restrictions?
when you tell PHP to create a file, which 'user' does this?
The Apache user?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
ncjbhd is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importance of Php Development for Web Development tech.biztech Programming General 35 11-22-2019 12:37 AM
Problem about encode in PHP? ncjbhd PHP / mySQL 0 10-08-2011 12:29 AM


All times are GMT -7. The time now is 03:20 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.