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
精彩评论