-
PHP Internal Function(s) Missing?
It seems to be working now. I think I was supplying an invalid directory name to the scandir function, and the error that was being returned was a red herring. Thanks for your help, SimonF! p.s. Turns out that wasn't the root cause of the problem. I was pasting in some code snippets, and what looked to be spaces in the code were actually a non-space character. Once I figured that out and over-typed with actual spaces, everything started working smoothly. I sure was getting some strange results until I found the actual problem.
-
PHP Internal Function(s) Missing?
I added #! as the first line, and changed the permissions for the .php file to 777. I already had <?php in the code. Still getting exact same error message as before. Here is the stripped down php script that I am executing: #!/usr/bin/php <?php $files2 = scandir('/tmp'); ?>
-
PHP Internal Function(s) Missing?
I just upgraded from 6.10.3 to 6.11.5, no real issues with the upgrade. I see that Unraid now has PHP included, which is really nice. However, I am trying to execute a small PHP script from the Unraid Terminal, using the following command: php -f /mnt/user/sagemedia/pictures/DeleteOrphanedRecordingFiles.php I get the following error: Fatal error: Uncaught Error: Call to undefined function scandir() in /mnt/user/sagemedia/pictures/DeleteOrphanedRecordingFiles.php:18 scandir is a PHP internal/built-in function (since version 5), so I'm not sure what I am doing wrong that Unraid's PHP is not recognizing it. Any ideas?
-
Unraid OS version 6.9.2 available
Mine is behaving the same way, using Firefox.
-
Case icon requests
I would also like the Inter-Tech 4U 4408, although in the US it is the NORCO RPC-4308.
KeithAbbott
Members
-
Joined
-
Last visited