buggababy Posted April 4, 2006 Share Posted April 4, 2006 I am running Plesk 6 on Apache 2.0.40 (Red Hat Linux) and have php 4.2.2. I have uploaded a web site that has .php extensions and I get the following fatal error: Call to undefined function: glob() in /home/httpd/vhosts/yogainformationsite.com/httpdocs/datas/articles.php on line 13I am wondering if I get this error because of the version of php I am running, or if it is because I have a function disabled that needs to be enabled? On my test.php page, the only functions I show to be disabled are Virtual Directory Support and Thread Safety and I have a "no" for Debug Build. If this problem exists due to the fact of something being disabled, any help would be most appreciated. I am new to php and also inexperienced in fixing problems on my own server. If I need to install a newer version of php, a link to a good tutorial would be of interest.Thanks! Link to comment https://forums.phpfreaks.com/topic/6534-call-to-undefined-function-question/ Share on other sites More sharing options...
redarrow Posted April 4, 2006 Share Posted April 4, 2006 (PHP 4 >= 4.3.0, PHP 5)glob -- Find pathnames matching a patternwrong version sorryAdding PHP to Apache on Linux[a href=\"http://www.tutorialized.com/tutorial/Adding-PHP-to-Apache-on-Linux/1060\" target=\"_blank\"]http://www.tutorialized.com/tutorial/Addin...e-on-Linux/1060[/a]Good luck. Link to comment https://forums.phpfreaks.com/topic/6534-call-to-undefined-function-question/#findComment-23690 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.