Re: Problems with realpath()
| From: | Barry | Date: | Tue, 31 Jan 2006 11:31:16 +0000 |
| Subject: | Re: Problems with realpath() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229523@lists.php.net to get a copy of this message | ||
Ron King wrote:
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.1He told you that the function doesn't exist. looks like it has either been turned off, or it's not implemented in your php version running on your server. -- Smileys rule (cX.x)C --o(^_^o)/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