What is the newest version of PHP that can be used with Kayako?

Discussion in 'Technical chat' started by Ben in CA, Jul 19, 2012.

  1. Ben in CA

    Ben in CA Member

    What is the newest version of PHP that can be used with Kayako Resolve (v.4)? I can use Zend or IonCube, running on Windows Server 2008, IIS. The Kayako reports apparently only work with PHP 5.3.

    I tried PHP 5.2.17, and I couldn't get that to work with Zend Optimizer properly. (It worked fine on PHP 5.2.5, but Kayako v. 4 needs at least 5.2.8.)

    And apparently Kayako doesn't work with ZendGuardLoader, which is required for PHP 5.3.

    But IonCube should work with PHP 5.3.14, but I've installed this and have IonCube only installed, and Kayako just gives me a blank page when I go to the http://server/setup screen.

    (I've tried both sets of Kayako install files.)

    What is the best setup for on Windows server?
     
  2. Gary McGrath

    Gary McGrath Kayako Staff Staff Member

    Hi Ben,

    with server 2008, I would recommend the Ioncube with the latest version of 5.3

    If your getting a blank setup screen, its likely that one of the environment settings is wrong. Get your setup back to php 5.3 with ioncube, and then upload your php.ini file here, and I will double check its got all the settings it needs.

    Gary
     
  3. Ben in CA

    Ben in CA Member

    screenshot.png screenshot_blank-page.png I've attached the php.ini file. I'm running PHP 5.3.14. Here's some screenshots of the PHP Info and what it's doing.
     

    Attached Files:

  4. Gary McGrath

    Gary McGrath Kayako Staff Staff Member

    Give this php.ini a try

    Gary
     

    Attached Files:

    • php.zip
      File size:
      21.6 KB
      Views:
      6
  5. Ben in CA

    Ben in CA Member

    Thanks Gary - I've tried that php.ini, but now I just get this:

    500.png
    (that's running on the server itself)
     
  6. Ben in CA

    Ben in CA Member

    Here's a copy of my PHPinfo when the PHP.ini file you sent me is used.
     

    Attached Files:

  7. Gary McGrath

    Gary McGrath Kayako Staff Staff Member

    hmm, try this one:

    But edit it, and ensure these paths are correct:

    error_log=C:\Windows\temp\php53_errors.log
    upload_tmp_dir=C:\Windows\temp
    session.save_path=C:\Windows\temp
    date.timezone=Europe/London
    extension_dir="C:\Program Files (x86)\PHP\v5.3\ext\"

    Gary
     

    Attached Files:

    • php.zip
      File size:
      22.1 KB
      Views:
      3
  8. Ben in CA

    Ben in CA Member

    Okay,

    In the PHP error log I'm getting this:

    [19-Jul-2012 18:56:51 UTC] PHP Warning: SWIFT::Initialize(./__swift/config/config.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\__swift\library\class.SWIFT.php on line 549
    [19-Jul-2012 18:56:51 UTC] PHP Fatal error: SWIFT::Initialize(): Failed opening required './__swift/config/config.php' (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\__swift\library\class.SWIFT.php on line 549

    Does that mean anything to you?
     
  9. Gary McGrath

    Gary McGrath Kayako Staff Staff Member

    Yep,

    If you goto __swift/config directory

    There should be a file called config.php.new

    You need to rename this to config.php and then open it and fill in the details at the top, which are required to connect to your mysql database

    Gary
     
  10. Ben in CA

    Ben in CA Member

    Okay, that makes me feel kinda dumb... I had made all those changes for the Zend version, but then when I replaced those files with the IonCube version, I forgot I needed to re-configure that.

    Thanks a lot! Now it will let me get to the setup screen!
     
  11. Gary McGrath

    Gary McGrath Kayako Staff Staff Member

    Your welcome, glad I could help :)

    Gary
     

Share This Page