Ask a Question related to PHP Bugs, Design and Development.
-
priappub at yahoo dot fr #1
#40425 [NEW]: php_getuid() always return 1.
From: priappub at yahoo dot fr
Operating system: Solaris 10
PHP version: 5.2.1
PHP Bug Type: Safe Mode/open_basedir
Bug description: php_getuid() always return 1.
Description:
------------
On solaris 10 (update 3) on sparc with PHP 5.1.6 or 5.1.2,
safe mode doesn't work. I have the message:
SAFE MODE Restriction in effect. The script whose uid/gid
is 1/10076 is not allowed to access /sites/toto.php owned
by uid/gid 10076/1000 in Unknown on line 0
The script and the directory have the same UID/GID. It
seems like in safe_mode.c, php-getuid() always returns 1
and php_getgid() returns the UID.
NB: same bug as [url]http://bugs.php.net/bug.php?id=7744[/url] or
[url]http://bugs.php.net/bug.php?id=18500[/url] (they are old and for
PHP4)
--
Edit bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40425&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40425&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40425&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40425&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40425&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40425&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40425&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40425&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40425&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40425&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40425&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40425&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40425&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40425&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40425&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40425&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40425&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40425&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40425&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40425&r=mysqlcfg[/url]
priappub at yahoo dot fr Guest
-
Return me
:confused; I need the html for Dreamweaver 8 that will return a person back to a previous page. They could be coming from any number of previous... -
return xml
The following function is used in my webservice which returns a dataset. I now need to return the dataset as xml and have no idea how to do it.... -
goToNetPage, return or not return
hi, I have read in the director's help the netDone() command indicates whether a background loading operation (such as getNetText,... -
How to return my own XML?
When I create a web service, and create a web method that returns a string, the output is always framed within a tag that looks like: <string... -
Return Key
This may sound like an odd question, but does anyone have a "return" key from a Wallstreet powerbook that they don't need? All i need is the key,... -
tony2001@php.net #2
#40425 [Opn->Fbk]: php_getuid() always return 1.
ID: 40425
Updated by: [email]tony2001@php.net[/email]
Reported By: priappub at yahoo dot fr
-Status: Open
+Status: Feedback
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
Cannot reproduce. Please provide an account on this machine.
Previous Comments:
------------------------------------------------------------------------
[2007-02-10 00:44:39] priappub at yahoo dot fr
Description:
------------
On solaris 10 (update 3) on sparc with PHP 5.1.6 or 5.1.2,
safe mode doesn't work. I have the message:
SAFE MODE Restriction in effect. The script whose uid/gid
is 1/10076 is not allowed to access /sites/toto.php owned
by uid/gid 10076/1000 in Unknown on line 0
The script and the directory have the same UID/GID. It
seems like in safe_mode.c, php-getuid() always returns 1
and php_getgid() returns the UID.
NB: same bug as [url]http://bugs.php.net/bug.php?id=7744[/url] or
[url]http://bugs.php.net/bug.php?id=18500[/url] (they are old and for
PHP4)
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
tony2001@php.net Guest
-
priappub at yahoo dot fr #3
#40425 [Fbk->Opn]: php_getuid() always return 1.
ID: 40425
User updated by: priappub at yahoo dot fr
Reported By: priappub at yahoo dot fr
-Status: Feedback
+Status: Open
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
Unfortunately, this machine is on a private network.
It'a a solaris 10 update 3 with apache 2.0.58 included in
solaris. PHP is 5.2.1 compiled with:
CFLAGS='-I/usr/sfw/src/mysql/include' \
CC='cc' \
'./configure' \
'--with-apxs2=/usr/apache2/bin/apxs' \
'--with-mysql=/usr/sfw' \
'--enable-dbase' \
'--with-ldap' \
'--enable-ftp' \
'--with-bzip2' \
'--with-openssl=/usr/sfw' \
'--with-jepg' \
'--with-png' \
'--with-zlib' \
'--with-imap' \
'--enable-fastcgi' \
'--enable-mbstring' \
'--with-config-file-path=/etc/apache2' \
'--without-iconv' \
'--with-gettext' \
'--enable-magic-quotes' \
'--enable-safe-mode' \
'--prefix=/usr' \
'--exec-prefix=/usr' \
'--sysconfdir=/etc' \
'--localstatedir=/var' \
I'm using Sun Studio 11 but same result with GCC. I don't
know if the problem is on x86 too, I have only solaris with
sparc.
NB: bug 12683 suggests a problem with mod_perl but no
mod_perl here.
Previous Comments:
------------------------------------------------------------------------
[2007-02-10 00:52:28] [email]tony2001@php.net[/email]
Cannot reproduce. Please provide an account on this machine.
------------------------------------------------------------------------
[2007-02-10 00:44:39] priappub at yahoo dot fr
Description:
------------
On solaris 10 (update 3) on sparc with PHP 5.1.6 or 5.1.2,
safe mode doesn't work. I have the message:
SAFE MODE Restriction in effect. The script whose uid/gid
is 1/10076 is not allowed to access /sites/toto.php owned
by uid/gid 10076/1000 in Unknown on line 0
The script and the directory have the same UID/GID. It
seems like in safe_mode.c, php-getuid() always returns 1
and php_getgid() returns the UID.
NB: same bug as [url]http://bugs.php.net/bug.php?id=7744[/url] or
[url]http://bugs.php.net/bug.php?id=18500[/url] (they are old and for
PHP4)
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
priappub at yahoo dot fr Guest
-
tony2001@php.net #4
#40425 [Opn]: php_getuid() always return 1.
ID: 40425
Updated by: [email]tony2001@php.net[/email]
Reported By: priappub at yahoo dot fr
Status: Open
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
Then we will have to wait for someone with Solaris 10 to reproduce and
fix it.
Previous Comments:
------------------------------------------------------------------------
[2007-02-10 01:35:19] priappub at yahoo dot fr
Unfortunately, this machine is on a private network.
It'a a solaris 10 update 3 with apache 2.0.58 included in
solaris. PHP is 5.2.1 compiled with:
CFLAGS='-I/usr/sfw/src/mysql/include' \
CC='cc' \
'./configure' \
'--with-apxs2=/usr/apache2/bin/apxs' \
'--with-mysql=/usr/sfw' \
'--enable-dbase' \
'--with-ldap' \
'--enable-ftp' \
'--with-bzip2' \
'--with-openssl=/usr/sfw' \
'--with-jepg' \
'--with-png' \
'--with-zlib' \
'--with-imap' \
'--enable-fastcgi' \
'--enable-mbstring' \
'--with-config-file-path=/etc/apache2' \
'--without-iconv' \
'--with-gettext' \
'--enable-magic-quotes' \
'--enable-safe-mode' \
'--prefix=/usr' \
'--exec-prefix=/usr' \
'--sysconfdir=/etc' \
'--localstatedir=/var' \
I'm using Sun Studio 11 but same result with GCC. I don't
know if the problem is on x86 too, I have only solaris with
sparc.
NB: bug 12683 suggests a problem with mod_perl but no
mod_perl here.
------------------------------------------------------------------------
[2007-02-10 00:52:28] [email]tony2001@php.net[/email]
Cannot reproduce. Please provide an account on this machine.
------------------------------------------------------------------------
[2007-02-10 00:44:39] priappub at yahoo dot fr
Description:
------------
On solaris 10 (update 3) on sparc with PHP 5.1.6 or 5.1.2,
safe mode doesn't work. I have the message:
SAFE MODE Restriction in effect. The script whose uid/gid
is 1/10076 is not allowed to access /sites/toto.php owned
by uid/gid 10076/1000 in Unknown on line 0
The script and the directory have the same UID/GID. It
seems like in safe_mode.c, php-getuid() always returns 1
and php_getgid() returns the UID.
NB: same bug as [url]http://bugs.php.net/bug.php?id=7744[/url] or
[url]http://bugs.php.net/bug.php?id=18500[/url] (they are old and for
PHP4)
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
tony2001@php.net Guest
-
tony2001@php.net #5
#40425 [Opn->Fbk]: php_getuid() always return 1.
ID: 40425
Updated by: [email]tony2001@php.net[/email]
Reported By: priappub at yahoo dot fr
-Status: Open
+Status: Feedback
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
Previous Comments:
------------------------------------------------------------------------
[2007-02-11 09:34:03] [email]tony2001@php.net[/email]
Then we will have to wait for someone with Solaris 10 to reproduce and
fix it.
------------------------------------------------------------------------
[2007-02-10 01:35:19] priappub at yahoo dot fr
Unfortunately, this machine is on a private network.
It'a a solaris 10 update 3 with apache 2.0.58 included in
solaris. PHP is 5.2.1 compiled with:
CFLAGS='-I/usr/sfw/src/mysql/include' \
CC='cc' \
'./configure' \
'--with-apxs2=/usr/apache2/bin/apxs' \
'--with-mysql=/usr/sfw' \
'--enable-dbase' \
'--with-ldap' \
'--enable-ftp' \
'--with-bzip2' \
'--with-openssl=/usr/sfw' \
'--with-jepg' \
'--with-png' \
'--with-zlib' \
'--with-imap' \
'--enable-fastcgi' \
'--enable-mbstring' \
'--with-config-file-path=/etc/apache2' \
'--without-iconv' \
'--with-gettext' \
'--enable-magic-quotes' \
'--enable-safe-mode' \
'--prefix=/usr' \
'--exec-prefix=/usr' \
'--sysconfdir=/etc' \
'--localstatedir=/var' \
I'm using Sun Studio 11 but same result with GCC. I don't
know if the problem is on x86 too, I have only solaris with
sparc.
NB: bug 12683 suggests a problem with mod_perl but no
mod_perl here.
------------------------------------------------------------------------
[2007-02-10 00:52:28] [email]tony2001@php.net[/email]
Cannot reproduce. Please provide an account on this machine.
------------------------------------------------------------------------
[2007-02-10 00:44:39] priappub at yahoo dot fr
Description:
------------
On solaris 10 (update 3) on sparc with PHP 5.1.6 or 5.1.2,
safe mode doesn't work. I have the message:
SAFE MODE Restriction in effect. The script whose uid/gid
is 1/10076 is not allowed to access /sites/toto.php owned
by uid/gid 10076/1000 in Unknown on line 0
The script and the directory have the same UID/GID. It
seems like in safe_mode.c, php-getuid() always returns 1
and php_getgid() returns the UID.
NB: same bug as [url]http://bugs.php.net/bug.php?id=7744[/url] or
[url]http://bugs.php.net/bug.php?id=18500[/url] (they are old and for
PHP4)
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
tony2001@php.net Guest
-
priappub at yahoo dot fr #6
#40425 [Fbk->Opn]: php_getuid() always return 1.
ID: 40425
User updated by: priappub at yahoo dot fr
Reported By: priappub at yahoo dot fr
-Status: Feedback
+Status: Open
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
Same problem with the snapshot. But it seems that the problem is the
apache provided by SUN because if I compile apache from the source,
safe_mode is OK.
Previous Comments:
------------------------------------------------------------------------
[2007-03-06 12:07:54] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2007-02-11 09:34:03] [email]tony2001@php.net[/email]
Then we will have to wait for someone with Solaris 10 to reproduce and
fix it.
------------------------------------------------------------------------
[2007-02-10 01:35:19] priappub at yahoo dot fr
Unfortunately, this machine is on a private network.
It'a a solaris 10 update 3 with apache 2.0.58 included in
solaris. PHP is 5.2.1 compiled with:
CFLAGS='-I/usr/sfw/src/mysql/include' \
CC='cc' \
'./configure' \
'--with-apxs2=/usr/apache2/bin/apxs' \
'--with-mysql=/usr/sfw' \
'--enable-dbase' \
'--with-ldap' \
'--enable-ftp' \
'--with-bzip2' \
'--with-openssl=/usr/sfw' \
'--with-jepg' \
'--with-png' \
'--with-zlib' \
'--with-imap' \
'--enable-fastcgi' \
'--enable-mbstring' \
'--with-config-file-path=/etc/apache2' \
'--without-iconv' \
'--with-gettext' \
'--enable-magic-quotes' \
'--enable-safe-mode' \
'--prefix=/usr' \
'--exec-prefix=/usr' \
'--sysconfdir=/etc' \
'--localstatedir=/var' \
I'm using Sun Studio 11 but same result with GCC. I don't
know if the problem is on x86 too, I have only solaris with
sparc.
NB: bug 12683 suggests a problem with mod_perl but no
mod_perl here.
------------------------------------------------------------------------
[2007-02-10 00:52:28] [email]tony2001@php.net[/email]
Cannot reproduce. Please provide an account on this machine.
------------------------------------------------------------------------
[2007-02-10 00:44:39] priappub at yahoo dot fr
Description:
------------
On solaris 10 (update 3) on sparc with PHP 5.1.6 or 5.1.2,
safe mode doesn't work. I have the message:
SAFE MODE Restriction in effect. The script whose uid/gid
is 1/10076 is not allowed to access /sites/toto.php owned
by uid/gid 10076/1000 in Unknown on line 0
The script and the directory have the same UID/GID. It
seems like in safe_mode.c, php-getuid() always returns 1
and php_getgid() returns the UID.
NB: same bug as [url]http://bugs.php.net/bug.php?id=7744[/url] or
[url]http://bugs.php.net/bug.php?id=18500[/url] (they are old and for
PHP4)
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
priappub at yahoo dot fr Guest
-
tony2001@php.net #7
#40425 [Opn->Fbk]: php_getuid() always return 1.
ID: 40425
Updated by: [email]tony2001@php.net[/email]
Reported By: priappub at yahoo dot fr
-Status: Open
+Status: Feedback
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
What's the difference between Sun Apache and the one compiled from
sources?
Previous Comments:
------------------------------------------------------------------------
[2007-03-07 10:13:40] priappub at yahoo dot fr
Same problem with the snapshot. But it seems that the problem is the
apache provided by SUN because if I compile apache from the source,
safe_mode is OK.
------------------------------------------------------------------------
[2007-03-06 12:07:54] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2007-02-11 09:34:03] [email]tony2001@php.net[/email]
Then we will have to wait for someone with Solaris 10 to reproduce and
fix it.
------------------------------------------------------------------------
[2007-02-10 01:35:19] priappub at yahoo dot fr
Unfortunately, this machine is on a private network.
It'a a solaris 10 update 3 with apache 2.0.58 included in
solaris. PHP is 5.2.1 compiled with:
CFLAGS='-I/usr/sfw/src/mysql/include' \
CC='cc' \
'./configure' \
'--with-apxs2=/usr/apache2/bin/apxs' \
'--with-mysql=/usr/sfw' \
'--enable-dbase' \
'--with-ldap' \
'--enable-ftp' \
'--with-bzip2' \
'--with-openssl=/usr/sfw' \
'--with-jepg' \
'--with-png' \
'--with-zlib' \
'--with-imap' \
'--enable-fastcgi' \
'--enable-mbstring' \
'--with-config-file-path=/etc/apache2' \
'--without-iconv' \
'--with-gettext' \
'--enable-magic-quotes' \
'--enable-safe-mode' \
'--prefix=/usr' \
'--exec-prefix=/usr' \
'--sysconfdir=/etc' \
'--localstatedir=/var' \
I'm using Sun Studio 11 but same result with GCC. I don't
know if the problem is on x86 too, I have only solaris with
sparc.
NB: bug 12683 suggests a problem with mod_perl but no
mod_perl here.
------------------------------------------------------------------------
[2007-02-10 00:52:28] [email]tony2001@php.net[/email]
Cannot reproduce. Please provide an account on this machine.
------------------------------------------------------------------------
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
[url]http://bugs.php.net/40425[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
tony2001@php.net Guest
-
priappub at yahoo dot fr #8
#40425 [Fbk->Opn]: php_getuid() always return 1.
ID: 40425
User updated by: priappub at yahoo dot fr
Reported By: priappub at yahoo dot fr
-Status: Feedback
+Status: Open
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
For the difference, I don't know... I have this:
[root@Romulus ~]# /usr/apache2/bin/httpd -V
Server version: Apache/2.0.58
Server built: Sep 5 2006 07:46:49
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
Previous Comments:
------------------------------------------------------------------------
[2007-03-07 10:19:42] [email]tony2001@php.net[/email]
What's the difference between Sun Apache and the one compiled from
sources?
------------------------------------------------------------------------
[2007-03-07 10:13:40] priappub at yahoo dot fr
Same problem with the snapshot. But it seems that the problem is the
apache provided by SUN because if I compile apache from the source,
safe_mode is OK.
------------------------------------------------------------------------
[2007-03-06 12:07:54] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2007-02-11 09:34:03] [email]tony2001@php.net[/email]
Then we will have to wait for someone with Solaris 10 to reproduce and
fix it.
------------------------------------------------------------------------
[2007-02-10 01:35:19] priappub at yahoo dot fr
Unfortunately, this machine is on a private network.
It'a a solaris 10 update 3 with apache 2.0.58 included in
solaris. PHP is 5.2.1 compiled with:
CFLAGS='-I/usr/sfw/src/mysql/include' \
CC='cc' \
'./configure' \
'--with-apxs2=/usr/apache2/bin/apxs' \
'--with-mysql=/usr/sfw' \
'--enable-dbase' \
'--with-ldap' \
'--enable-ftp' \
'--with-bzip2' \
'--with-openssl=/usr/sfw' \
'--with-jepg' \
'--with-png' \
'--with-zlib' \
'--with-imap' \
'--enable-fastcgi' \
'--enable-mbstring' \
'--with-config-file-path=/etc/apache2' \
'--without-iconv' \
'--with-gettext' \
'--enable-magic-quotes' \
'--enable-safe-mode' \
'--prefix=/usr' \
'--exec-prefix=/usr' \
'--sysconfdir=/etc' \
'--localstatedir=/var' \
I'm using Sun Studio 11 but same result with GCC. I don't
know if the problem is on x86 too, I have only solaris with
sparc.
NB: bug 12683 suggests a problem with mod_perl but no
mod_perl here.
------------------------------------------------------------------------
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
[url]http://bugs.php.net/40425[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
priappub at yahoo dot fr Guest
-
tony2001@php.net #9
#40425 [Opn->Fbk]: php_getuid() always return 1.
ID: 40425
Updated by: [email]tony2001@php.net[/email]
Reported By: priappub at yahoo dot fr
-Status: Open
+Status: Feedback
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
And the same for Sun apache, please.
Previous Comments:
------------------------------------------------------------------------
[2007-03-08 22:32:38] priappub at yahoo dot fr
For the difference, I don't know... I have this:
[root@Romulus ~]# /usr/apache2/bin/httpd -V
Server version: Apache/2.0.58
Server built: Sep 5 2006 07:46:49
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
------------------------------------------------------------------------
[2007-03-07 10:19:42] [email]tony2001@php.net[/email]
What's the difference between Sun Apache and the one compiled from
sources?
------------------------------------------------------------------------
[2007-03-07 10:13:40] priappub at yahoo dot fr
Same problem with the snapshot. But it seems that the problem is the
apache provided by SUN because if I compile apache from the source,
safe_mode is OK.
------------------------------------------------------------------------
[2007-03-06 12:07:54] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2007-02-11 09:34:03] [email]tony2001@php.net[/email]
Then we will have to wait for someone with Solaris 10 to reproduce and
fix it.
------------------------------------------------------------------------
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
[url]http://bugs.php.net/40425[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
tony2001@php.net Guest
-
priappub at yahoo dot fr #10
#40425 [Fbk->Opn]: php_getuid() always return 1.
ID: 40425
User updated by: priappub at yahoo dot fr
Reported By: priappub at yahoo dot fr
-Status: Feedback
+Status: Open
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
This is the httpd -V from apache provided by SUN.
Previous Comments:
------------------------------------------------------------------------
[2007-03-09 10:40:27] [email]tony2001@php.net[/email]
And the same for Sun apache, please.
------------------------------------------------------------------------
[2007-03-08 22:32:38] priappub at yahoo dot fr
For the difference, I don't know... I have this:
[root@Romulus ~]# /usr/apache2/bin/httpd -V
Server version: Apache/2.0.58
Server built: Sep 5 2006 07:46:49
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
------------------------------------------------------------------------
[2007-03-07 10:19:42] [email]tony2001@php.net[/email]
What's the difference between Sun Apache and the one compiled from
sources?
------------------------------------------------------------------------
[2007-03-07 10:13:40] priappub at yahoo dot fr
Same problem with the snapshot. But it seems that the problem is the
apache provided by SUN because if I compile apache from the source,
safe_mode is OK.
------------------------------------------------------------------------
[2007-03-06 12:07:54] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
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
[url]http://bugs.php.net/40425[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
priappub at yahoo dot fr Guest
-
tony2001@php.net #11
#40425 [Opn->Fbk]: php_getuid() always return 1.
ID: 40425
Updated by: [email]tony2001@php.net[/email]
Reported By: priappub at yahoo dot fr
-Status: Open
+Status: Feedback
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
Well, then provide the one from the self-compiled apache.
Previous Comments:
------------------------------------------------------------------------
[2007-03-09 16:09:31] priappub at yahoo dot fr
This is the httpd -V from apache provided by SUN.
------------------------------------------------------------------------
[2007-03-09 10:40:27] [email]tony2001@php.net[/email]
And the same for Sun apache, please.
------------------------------------------------------------------------
[2007-03-08 22:32:38] priappub at yahoo dot fr
For the difference, I don't know... I have this:
[root@Romulus ~]# /usr/apache2/bin/httpd -V
Server version: Apache/2.0.58
Server built: Sep 5 2006 07:46:49
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
------------------------------------------------------------------------
[2007-03-07 10:19:42] [email]tony2001@php.net[/email]
What's the difference between Sun Apache and the one compiled from
sources?
------------------------------------------------------------------------
[2007-03-07 10:13:40] priappub at yahoo dot fr
Same problem with the snapshot. But it seems that the problem is the
apache provided by SUN because if I compile apache from the source,
safe_mode is OK.
------------------------------------------------------------------------
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
[url]http://bugs.php.net/40425[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
tony2001@php.net Guest
-
priappub at yahoo dot fr #12
#40425 [Fbk->Opn]: php_getuid() always return 1.
ID: 40425
User updated by: priappub at yahoo dot fr
Reported By: priappub at yahoo dot fr
-Status: Feedback
+Status: Open
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
The self-compiled apache:
[root@Romulus bin]# ./httpd -V
Server version: Apache/2.0.59
Server built: Feb 22 2007 00:29:21
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
Previous Comments:
------------------------------------------------------------------------
[2007-03-09 23:37:38] [email]tony2001@php.net[/email]
Well, then provide the one from the self-compiled apache.
------------------------------------------------------------------------
[2007-03-09 16:09:31] priappub at yahoo dot fr
This is the httpd -V from apache provided by SUN.
------------------------------------------------------------------------
[2007-03-09 10:40:27] [email]tony2001@php.net[/email]
And the same for Sun apache, please.
------------------------------------------------------------------------
[2007-03-08 22:32:38] priappub at yahoo dot fr
For the difference, I don't know... I have this:
[root@Romulus ~]# /usr/apache2/bin/httpd -V
Server version: Apache/2.0.58
Server built: Sep 5 2006 07:46:49
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
------------------------------------------------------------------------
[2007-03-07 10:19:42] [email]tony2001@php.net[/email]
What's the difference between Sun Apache and the one compiled from
sources?
------------------------------------------------------------------------
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
[url]http://bugs.php.net/40425[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
priappub at yahoo dot fr Guest
-
tony2001@php.net #13
#40425 [Opn->Fbk]: php_getuid() always return 1.
ID: 40425
Updated by: [email]tony2001@php.net[/email]
Reported By: priappub at yahoo dot fr
-Status: Open
+Status: Feedback
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
Two different apaches in one server root?
How did you manage to do that?
Previous Comments:
------------------------------------------------------------------------
[2007-03-10 20:32:45] priappub at yahoo dot fr
The self-compiled apache:
[root@Romulus bin]# ./httpd -V
Server version: Apache/2.0.59
Server built: Feb 22 2007 00:29:21
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
------------------------------------------------------------------------
[2007-03-09 23:37:38] [email]tony2001@php.net[/email]
Well, then provide the one from the self-compiled apache.
------------------------------------------------------------------------
[2007-03-09 16:09:31] priappub at yahoo dot fr
This is the httpd -V from apache provided by SUN.
------------------------------------------------------------------------
[2007-03-09 10:40:27] [email]tony2001@php.net[/email]
And the same for Sun apache, please.
------------------------------------------------------------------------
[2007-03-08 22:32:38] priappub at yahoo dot fr
For the difference, I don't know... I have this:
[root@Romulus ~]# /usr/apache2/bin/httpd -V
Server version: Apache/2.0.58
Server built: Sep 5 2006 07:46:49
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
------------------------------------------------------------------------
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
[url]http://bugs.php.net/40425[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
tony2001@php.net Guest
-
priappub at yahoo dot fr #14
#40425 [Fbk->Opn]: php_getuid() always return 1.
ID: 40425
User updated by: priappub at yahoo dot fr
Reported By: priappub at yahoo dot fr
-Status: Feedback
+Status: Open
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
The 2 versions are not working at the same time.
Previous Comments:
------------------------------------------------------------------------
[2007-03-12 09:42:31] [email]tony2001@php.net[/email]
Two different apaches in one server root?
How did you manage to do that?
------------------------------------------------------------------------
[2007-03-10 20:32:45] priappub at yahoo dot fr
The self-compiled apache:
[root@Romulus bin]# ./httpd -V
Server version: Apache/2.0.59
Server built: Feb 22 2007 00:29:21
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
------------------------------------------------------------------------
[2007-03-09 23:37:38] [email]tony2001@php.net[/email]
Well, then provide the one from the self-compiled apache.
------------------------------------------------------------------------
[2007-03-09 16:09:31] priappub at yahoo dot fr
This is the httpd -V from apache provided by SUN.
------------------------------------------------------------------------
[2007-03-09 10:40:27] [email]tony2001@php.net[/email]
And the same for Sun apache, please.
------------------------------------------------------------------------
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
[url]http://bugs.php.net/40425[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
priappub at yahoo dot fr Guest
-
tony2001@php.net #15
#40425 [Opn->Fbk]: php_getuid() always return 1.
ID: 40425
Updated by: [email]tony2001@php.net[/email]
Reported By: priappub at yahoo dot fr
-Status: Open
+Status: Feedback
Bug Type: Safe Mode/open_basedir
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
Sure, but they can't be in the same directory in the same time.
Previous Comments:
------------------------------------------------------------------------
[2007-03-13 20:35:27] priappub at yahoo dot fr
The 2 versions are not working at the same time.
------------------------------------------------------------------------
[2007-03-12 09:42:31] [email]tony2001@php.net[/email]
Two different apaches in one server root?
How did you manage to do that?
------------------------------------------------------------------------
[2007-03-10 20:32:45] priappub at yahoo dot fr
The self-compiled apache:
[root@Romulus bin]# ./httpd -V
Server version: Apache/2.0.59
Server built: Feb 22 2007 00:29:21
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
------------------------------------------------------------------------
[2007-03-09 23:37:38] [email]tony2001@php.net[/email]
Well, then provide the one from the self-compiled apache.
------------------------------------------------------------------------
[2007-03-09 16:09:31] priappub at yahoo dot fr
This is the httpd -V from apache provided by SUN.
------------------------------------------------------------------------
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
[url]http://bugs.php.net/40425[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40425&edit=1[/url]
tony2001@php.net Guest



Reply With Quote

