LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   undefined function scandir() in php (https://www.linuxquestions.org/questions/linux-newbie-8/undefined-function-scandir-in-php-406388/)

tooparam 01-21-2006 10:58 PM

undefined function scandir() in php
 
Hi there

I've istalled Apache 1.3.34 and php 4.x from source code. It is working nicely but I am unable to use the scandir function. It's saying (Call to undefined function scandir()).

What needs to be done?

Isn't scandir() installed by default?
What configuration options need to be set if any?

Please show me the right direction.

spooon 01-22-2006 01:03 AM

it is only available in PHP 5; the manual page lists an alternative for PHP 4 using opendir and readdir


All times are GMT -5. The time now is 08:42 AM.