ID:               40537
 User updated by:  stloukal at programator dot cz
 Reported By:      stloukal at programator dot cz
 Status:           Open
 Bug Type:         Filesystem function related
 Operating System: FC4, 2.6.17
 PHP Version:      5.2.1
 New Comment:

The same behaviour on another computer:

[EMAIL PROTECTED] web]# id -Z
Sorry, --context (-Z) can be used only on a selinux-enabled kernel.
[EMAIL PROTECTED] web]# uname -a
Linux colonel 2.6.18-1.2200.fc5smp #1 SMP Sat Oct 14 17:15:35 EDT 2006
i686 i686 i386 GNU/Linux


Previous Comments:
------------------------------------------------------------------------

[2007-03-07 08:31:21] stloukal at programator dot cz

So I compiled PHP with options:

[EMAIL PROTECTED] php-5.2.1]$ cat config.nice
#! /bin/sh
#
# Created by configure

'./configure' \
'--prefix=/usr/local/php5' \
'--with-config-file-path=/etc/' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--disable-all' \
"$@"

and Apache:
[EMAIL PROTECTED] httpd-2.2.4]$ cat config.nice
#! /bin/sh
#
# Created by configure

"./configure" \
"--enable-ssl" \
"--enable-static-htpasswd" \
"--disable-cgi" \
"--enable-so" \
"--enable-rewrite" \
"--with-included-apr" \
"--with-ssl=/usr/local" \
"--with-mpm=worker" \
"$@"

...and still the same behaviour. But with "--with-mpm=prefork" instead
of "--with-mpm=worker" it works fine.

When I start Apache (with worker module) with "-X" option (e.g.
[EMAIL PROTECTED] bin]# ./apachectl -X -f /etc/httpd/conf/httpd.conf -k
start), upload works fine too.

I can read files from the "tmp" when I access via URL (e.g.
http://my.address.com/tmp/myfile.jpg).

------------------------------------------------------------------------

[2007-03-06 17:40:22] [EMAIL PROTECTED]

Please remove all configure options not required to reproduce it.
--disable-all --with-apxs2=.. is a good start.

------------------------------------------------------------------------

[2007-03-06 17:09:11] stloukal at programator dot cz

I recompiled Apache with "worker" again (and PHP too) and I have the
same problem again. Here are some configs:

[EMAIL PROTECTED] php-5.2.1]# cat config.nice
#! /bin/sh
#
# Created by configure

'./configure' \
'--prefix=/usr/local/php5' \
'--with-config-file-path=/etc/' \
'--enable-magic-quotes' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--enable-safe-mode' \
'--enable-debug' \
'--with-openssl=/usr/local/' \
'--with-zlib' \
'--enable-bcmath' \
'--enable-calendar' \
'--with-curl' \
'--enable-ftp' \
'--enable-exif' \
'--with-gd' \
'--enable-gd-native-ttf' \
'--with-jpeg-dir=/usr/local/' \
'--with-png-dir=/usr/local/' \
'--with-freetype-dir' \
'--with-imap' \
'--with-imap-ssl' \
'--with-gettext' \
'--with-zlib=/usr/local/' \
'--with-mcrypt=/usr/local/' \
'--with-mhash=/usr/local/' \
'--with-mysqli=/usr/local/mysql/bin/mysql_config' \
'--with-iodbc=/usr/local' \
'--with-pdo-mysql=/usr/local/mysql' \
'--with-pdo-pgsql=/usr/local/pgsql/bin/pg_config' \
'--with-pgsql=/usr/local/pgsql/bin/pg_config' \
'--enable-soap' \
'--enable-sockets' \
'--without-sqlite' \
'--enable-wddx' \
'--enable-zip' \
'--with-pear' \
'--with-zend-vm' \
'--enable-zend-multibyte' \
'--with-kerberos' \
'--with-mysql=/usr/local/mysql' \
'--with-iconv=/usr/local' \
"$@"


[EMAIL PROTECTED] httpd-2.2.4]# cat config.nice
#! /bin/sh
#
# Created by configure

"./configure" \
"--enable-auth-digest" \
"--enable-proxy" \
"--enable-proxy-connect" \
"--enable-proxy-ftp" \
"--enable-proxy-http" \
"--enable-proxy-balancer" \
"--enable-ssl" \
"--enable-log-forensic" \
"--enable-static-htpasswd" \
"--disable-cgi" \
"--enable-so" \
"--enable-rewrite" \
"--with-included-apr" \
"--with-ssl=/usr/local" \
"--with-mpm=worker" \
"$@"

[EMAIL PROTECTED] httpd-2.2.4]# uname -a
Linux shaman 2.6.17-1.2142_FC4 #1 Tue Jul 11 22:41:14 EDT 2006 i686
athlon i386 GNU/Linux

------------------------------------------------------------------------

[2007-03-06 12:03:15] [EMAIL PROTECTED]

I was testing it with Apache 2.2.4 *worker*.
So I'm still unable to reproduce it.

------------------------------------------------------------------------

[2007-03-02 02:01:15] stloukal at programator dot cz

With "prefork" without problems!!

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/40537

-- 
Edit this bug report at http://bugs.php.net/?id=40537&edit=1

Reply via email to