Re: Problems with realpath()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think the DOCUMENT_ROOT is changed for new php implementation.

Thanks
Rich


On 1/31/06, Ron King <ronking@xxxxxxxxxxxxxx> 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.1
> /data/...      <-- different server, therefore different path, of course
> Fatal 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux