Jump to content

Archived

This topic is now archived and is closed to further replies.

buggababy

Call to undefined function question

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!

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

×

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.