Jump to content


Photo

Call to undefined function question


  • Please log in to reply
1 reply to this topic

#1 buggababy

buggababy
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 04 April 2006 - 01:18 AM

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 13

I 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!


[a href="http://www.totaltrafficsolution.com" target="_blank"]http://www.totaltrafficsolution.com[/a]

#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 04 April 2006 - 01:28 AM


(PHP 4 >= 4.3.0, PHP 5)

glob -- Find pathnames matching a pattern


wrong version sorry

Adding 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.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users