开发者

Fatal error: Call to undefined method SplFileInfo::getRealPath()

开发者 https://www.devze.com 2023-02-28 23:27 出处:网络
I\'ve got a client who has just set up a new VPN and is attempting to install my plugin. H开发者_如何学Ce\'s getting the following error:

I've got a client who has just set up a new VPN and is attempting to install my plugin.

H开发者_如何学Ce's getting the following error:

Fatal error: Call to undefined method SplFileInfo::getRealPath() on the commented line below. This appears to have something to do with the ZEND libraries. Any ideas what I should tell him to do?


If you are getting the undefined error means you have lower version of PHP.

The function is supported after PHP 5.2.2

SplFileInfo::getRealPath

(PHP 5 >= 5.2.2)

SplFileInfo::getRealPath — Gets absolute path to file

http://php.net/manual/en/splfileinfo.getrealpath.php

0

精彩评论

暂无评论...
验证码 换一张
取 消