ID: 48365
User updated by: peter dot chen at itg dot com
Reported By: peter dot chen at itg dot com
-Status: Feedback
+Status: Open
Bug Type: Filesystem function related
Operating System: sparc-sol2.10
PHP Version: 5.2.9
New Comment:
Yes, that path's permissions are 755 and every file in that directory
can be read by all.
I've run it as root also, same return value.
Previous Comments:
------------------------------------------------------------------------
[2009-05-29 12:05:09] jani@php.net
Is all dirs in that path readable by the user you run it with? (try as
root..?) glob() returns false if there's some error..
------------------------------------------------------------------------
[2009-05-28 18:49:08] peter dot chen at itg dot com
Oh yeah, and the command returns:
bool(false)
------------------------------------------------------------------------
[2009-05-28 18:42:33] peter dot chen at itg dot com
I'm using sparc-solaris2.10.
Was there a flag I needed to include for my php install to enable
glob() to work?
------------------------------------------------------------------------
[2009-05-28 16:50:31] jani@php.net
Try this on command line:
# php -r 'var_dump(glob("/home/apache/htdocs/testkt/*"));'
------------------------------------------------------------------------
[2009-05-28 16:49:23] jani@php.net
Exactly what Solaris version are you on?
Try this on command line:
# php -r 'var_dump(glob("/home/apache/htdocs/testkt/"));'
------------------------------------------------------------------------
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/48365--
Edit this bug report at http://bugs.php.net/?id=48365&edit=1