Problems with realpath()
| From: | Ron King | Date: | Tue, 31 Jan 2006 11:12:03 +0000 |
| Subject: | Problems with realpath() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229519@lists.php.net to get a copy of this message | ||
Hi,
My hosting isp just upgraded from 4.3.1 to 4.4.1, and some of the tools I use (from InterAKT) no longer work.
After doing quite a bit of research, I've seen a few bugs regarding realpath(), but none related to 4.4.1.
When I try the following:
<?php
echo phpversion() . "\n";
echo dirname(__FILE__) . "\n";
echo realpath(__FILE__);
?>
With version 4.4.0, I get the following answer:
4.4.0
/web
/web/realpath.php
But on version 4.4.1 I get a fatal error:
4.4.1
/data/... <-- different server, therefore different path, of courseFatal error: Call to undefined function: realpath() in /data/...). I'm too much of a newbie to know what to do on my own. Is this something my ISP has turned off? Thanks for any help, -- Ron