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.

zend-opt and php.ini

Discussion in 'General Discussion' started by WeMasterz5, Oct 29, 2005.

  1. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    trying to update zend-opt and it keeps telling me it cant because the php.ini can not be written to?


    suggestions
     
  2. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    did you check the permission and ownership of php.ini ?
     
  3. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    -rw-r--r-- 1 root root
     
  4. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Can you paste the exact error message...

    Also check the attribute of that file..
     
  5. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami

    Zend Optimizer installation was NOT completed successfully. │
    │ │
    │ Cannot open file: /usr/local/Zend/etc/php.ini for writing │
    │ │
    │ For further assistance, please contact Zend Support at │
    https://www.zend.com/support/

    0644 on the file
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Are you running the install as root?

    If so, are there any attributes set onyour php.ini:

    lsattr /usr/local/Zend/etc/php.ini

    If so, remove them.
     
  7. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    this is what that showed

    root@pub1 [/scripts]# lsattr /usr/local/Zend/etc/php.ini
    ----i-------- /usr/local/Zend/etc/php.ini
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    So, you've made the file immutable for some reason which is why you cannot modify it. As I said you need to remove that flag. If you don't know how:

    chattr -i /usr/local/Zend/etc/php.ini
     
  9. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    we havent messed with this server in awhile

    that worked.. now hopefully we can fix this darn php issue

    Thanks
     
  10. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    Chirpy, if your still around

    would you maybe know why we see this now

    Warning: Illegal offset type in /usr/local/sqmail/src/redirect.php on line 192

    Warning: Illegal offset type in /usr/local/sqmail/src/redirect.php on line 193

    Warning: Illegal offset type in /usr/local/sqmail/src/redirect.php on line 192

    Warning: Illegal offset type in /usr/local/sqmail/src/redirect.php on line 193


    and things like Mambo dont work

    we installed domxml for a site using a yahoo api and things went downhill from there
     
Loading...

Share This Page