IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    PHPnow本地部署WHMCS相关

    ShelWee发表于 2013-10-09 13:59:48
    love 0

    在PHPnow上捣腾了许久WHMCS,竟然连本地都无法成功部署上去。究其原因,无非是安装环境问题。

     ionCube模块缺失

    Site error: the file D:\PHPnow-1.5.6\htdocs\whmcs\index.php requires the ionCube PHP Loader ioncube_loader_win_5.2.dll to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.

    这个问题其实很容易解决:
    1.ioncube官网下载zip包或者安装包

    2.解压后将ioncube文件夹放到php安装文件夹下,例如D:\PHPnow-1.5.6\php-5.2.14-Win32\ioncube

    3.修改php配置文件php.ini,phpnow对应的是php-apache2handler.ini,把zend_extension_ts = “D:\PHPnow-1.5.6\php-5.2.14-Win32\ioncube\ioncube_loader_win_5.2.dll”添加到配置文件中

    4.重启apache服务器
    然而在phpnow中,这样也是不能成功的。试了N次之后,换了xampp(php版本5.4.19),并添加了ioncube模块,竟然就可以了。

    WHMCS官方提供的系统环境要求:

     Windows or Linux OS

    PHP Version 5.0.x – 5.4.x (with JSON)

    MySQL Version 4.1.x and above (Strict Mode Disabled)

    Curl Support (with SSL)

    GD2 Image Library

    Ioncube Loaders 4.x or later

    Note: PHP Version 5.5 is not supported at this time.(php5.5现在还不支持)

    由此,个人觉得原因可能是phpnow的php版本(5.2.14)过低造成的,但phpnow也满足了上面的要求,因此也有可能是phpnow过于精简,缺少相关模块造成的。



沪ICP备19023445号-2号
友情链接