go to bug id or search bugs for
The script ext/session/mod_files.sh on our system fails:
[root@dc1-b103-app01 ~]# ./mod_files.sh /tmp/session/ 3 6
expr: syntax error
usage: ./mod_files.sh basedir depth
The reason being this line:
sh $0 $newpath `expr $2 - 1 $3`
It can be fixed easily:
sh $0 $newpath `expr $2 - 1` $3
Add a Patch
Add a Pull Request
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.