Is it normal?
When I run a script like
<?php
if (touch("/tmp/111")) {
echo $filename . ' modification time has been changed to present time';
} else {
echo 'Sorry, could not change modification time of ' . $filename;
}
echo posix_getuid()."\n";
echo posix_geteuid()."\n";
phpinfo();
?>
results are
ls -la /tmp/111
-rw-r--r-- 1 httpd httpd 0 Feb 4 16:28 /tmp/111
modification time has been changed to present time 398 398
php compiled with Server API LiteSpeed V6.1, it is running PHP suEXEC / suEXEC Daemon.
When I run a script like
<?php
if (touch("/tmp/111")) {
echo $filename . ' modification time has been changed to present time';
} else {
echo 'Sorry, could not change modification time of ' . $filename;
}
echo posix_getuid()."\n";
echo posix_geteuid()."\n";
phpinfo();
?>
results are
ls -la /tmp/111
-rw-r--r-- 1 httpd httpd 0 Feb 4 16:28 /tmp/111
modification time has been changed to present time 398 398
php compiled with Server API LiteSpeed V6.1, it is running PHP suEXEC / suEXEC Daemon.