I recently installed Fedora C5 ( 2.6.18-1.2239.fc5 ) with php (v 5.1.6), mysql and Apache. I am having a problem with this code segment:
.....
.....
$dirval = "/var/www/html/softlink"; // softlink is a soft link to another directory (hard)
if ( !($handle = @opendir ($dirval))) {
......
...... this code always gets executed
...... owner and file permissions are not a problem. I have double and triple checked it
......
}
...
...
In my previous installation - Fedora C5 ( 2.6.17-1.2174_FC5 ) with php (v 5.1.4), mysql and Apache
the exact same code passes through without any problems. Just for info - the directory that softlink links to sits on another hard disk that has to be mounted. This is the same in both installations.
Is this a PHP bug? What I am trying to do is basically to create a mirror of my old system. Please help.
opendir bug? Need help!!
Moderator: General Moderators