Michael Leung wrote:
Hi All,
My problem is finally solved by totally off SELinux Security
Policies.
I told you so :-))
Thank you very verry much the helps from yours! I know this
is not very safe solution, but at the leasy my script can work
yours,
Michael
--
Raditha Dissanayake.
Hi All,
My problem is finally solved by totally off SELinux Security
Policies. Thank you very verry much the helps from yours! I know this
is not very safe solution, but at the leasy my script can work
yours,
Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
Yes, I have restarted my Apache.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michael Leung wrote:
>Yes, apache can do read/write in /tmp. I can't su to apache.
> But I created another account in apache group(userid test1). I have
> such tests by using that account. I can do mv , cp , create new file.
> After those successful test, I have modified httpd.conf to make
>
Hi,
Yes, apache can do read/write in /tmp. I can't su to apache.
But I created another account in apache group(userid test1). I have
such tests by using that account. I can do mv , cp , create new file.
After those successful test, I have modified httpd.conf to make
apache web server run as
And apache user can read/write /tmp?
What files are in /tmp?
su to apache and see if you can read the uploaded files, and mv them to
the directory.
Michael Leung wrote:
> Hi all,
> the user is apache for PHP. the directory is owned by apache user.
> I am 100% certain for the directory name.
>
>
Hi all,
the user is apache for PHP. the directory is owned by apache user.
I am 100% certain for the directory name.
yours,
Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michael Leung wrote:
>I have faced the upload file permission denied for weeks. I can't
> write a new file/create a directory. I did a test in PHP standalone
> (Linux shell). The operation is very normal.
But what *USER* were you when you did that test?!
Were you the same user PHP runs as, I
What user did you run your command line as?
Trav
- Original Message -
From: "Michael Leung" <[EMAIL PROTECTED]>
To: "Travis Conway" <[EMAIL PROTECTED]>
Cc: "Andre Dubuc" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, December
Yes, this kind of script is working in my pervious old server. But
after I have upgraded the OS to Fedora 3 with PHP 5.0.2 and Apache 2.
Then as I mentioned in my previous mail SELinux is to blame. Uninstall
it or disable it. (pass selinux=0 when you boot).
--
Raditha Dissanayake.
---
Hi all,
I am more believing this is a kind of apache configure problem. If
that's Fedora 3 problem, I can't do this kind in command line.
Therefore, if I bypassed Apache, my problem is solved. Moreover, my
system is highly OOP , I can't fall back into PHP 4.
yours,
Michael
--
PHP General Mail
2, 2004 7:25 PM
Subject: Re: [PHP] PHP &Apache Upload file Permission denied
Hi Andre,
thank you, I have hided my html path in the message. I have replace
my real path with '/var/www/html/'. the error message should be like
this.
Warning: move_uploaded_file() [function.move-upload
Hi Andre,
thank you, I have hided my html path in the message. I have replace
my real path with '/var/www/html/'. the error message should be like
this.
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to
> > move '/tmp/phpjsLZfC' to '/var/www/html/test/icons.zip' in
> > /var
Dear Michael,
I spent the better part of today trying to get a file upload script to work
too. Same sort of problem: local linux works ok, but web - nope.
Looking at your error message, it might be the renaming of the temp file that
is barfing.
if (($_FILES["pix"]["size"] > 0)&&($_FILES["pix"]
Hi all,
I have faced the upload file permission denied for weeks. I can't
write a new file/create a directory. I did a test in PHP standalone
(Linux shell). The operation is very normal.
But in web environment, I got this error message:
Warning: move_uploaded_file() [function.move-uploaded-fil
Michael Leung wrote:
Hi all,
I have faced the upload file permission denied for weeks. I can't
write a new file/create a directory. I did a test in PHP standalone
(Linux shell). The operation is very normal.
But in web environment, I got this error message:
Something that just occurred to me?
16 matches
Mail list logo