From:             pub at megaphone dot ch
Operating system: Solaris 8
PHP version:      4.3.2
PHP Bug Type:     Unknown/Other Function
Bug description:  Strange errors without reporting in the logs

Description:
------------
There are several strange occurrences, maybe I should make several
reports...
We were running php 4.1.2, safe-mode on, on a solaris 8 box, without
problem. Last week we compiled and installed php 4.3.2 .
Several problems occurred :

1) the function file_exists() was working on files that were not owned by
the user owning the script : this is better now, more logical, that it
does not work, BUT, there is no "safe-mode" error in the logs, so it was
very difficult to find the problem.

2) a lot more problematic : some clients were using a mysql query for
loading data infile; I just cannot figure out why, but it was working even
when the mysql rights were not set to "file" for the accessing user, and
the syntax they used was "load data LOCAL infile", when the file was on
the server - it should not have worked, but it worked, and what is amazing
is : with changing ONLY the version of PHP, it does not work any more. How
is this, that a function that only should send mysql syntax depends on the
version of PHP ???? I tried the exact sql string that was sent to mysql,
not through php but command line, and MySQL was not accepting it, which is
the correct behaviour - but it was accepting it through PHP...

3) we are using PHPMyAdmin with http authentication; it does not work
anymore; I thus installed the last available verion, not working either.
It is maybe related to the fact that PHP_AUTH_USER is not available in
safe-mode anymore, but PHPMyAdmin seems to pretend to be programmed
correctly - and again, the only thing that has changed now is the version
of PHP. And there is no error in the logs.


-- 
Edit bug report at http://bugs.php.net/?id=24838&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24838&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24838&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24838&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24838&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24838&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24838&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24838&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24838&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24838&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24838&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24838&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24838&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24838&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24838&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24838&r=gnused

Reply via email to