Jump to content

Call to undefined function question


buggababy

Recommended Posts

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!
Link to comment
Share on other sites


(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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.