The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

YAML problem

Discussion in 'General Discussion' started by ozzieonline, Dec 9, 2013.

  1. ozzieonline

    ozzieonline Well-Known Member

    Joined:
    Dec 20, 2012
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi guys,

    Earliers I installed YAML on my server using these instructions. Today I updated my PHP version and afterwards my YAML didn't work anymore. I followed the instructions again but it doesn't help :(

    When I use WHM-> Software-> Module Installers-> PHP Pecl-> manage and try to install YAML it says:

    downloading yaml-1.1.1.tgz ...
    Starting to download yaml-1.1.1.tgz (37,862 bytes)
    ..........done: 37,862 bytes
    could not extract the package.xml file from "/root/tmp/pear/cache/yaml-1.1.1.tgz"
    Download of "pecl/yaml" succeeded, but it is not a valid package archive
    Error: cannot download "pecl/yaml"
    Download failed
    install failed
    The yaml.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20121212
    Tidying /usr/local/lib/php.ini...
    No changes
    Tidying /usr/local/cpanel/3rdparty/php/53/etc/php.ini...
    No changes

    Can someone please help me?
     
  2. ozzieonline

    ozzieonline Well-Known Member

    Joined:
    Dec 20, 2012
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    I found out that the problem occurs when I update to the newest PHP version. When I go back to the old PHP version (5.4) I can successfully install the YAML module again. However, if I update to PHP version 5.5.6 then I get the error message as shown above. Am I doing something wrong, or is this a bug? Can anyone please give me some information?
     
    #2 ozzieonline, Dec 9, 2013
    Last edited: Dec 9, 2013
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I was able to successfully install the YAML Pecl module:

    Code:
    # php -v
    PHP 5.5.6 (cli) (built: Dec 10 2013 10:48:03) 
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
    Code:
    # pecl list|grep yaml
    yaml       1.1.1   stable
    The only difference from the instructions you used was that I installed the Pecl module via:

    Code:
    pecl install YAML
    Thank you.
     
Loading...

Share This Page