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.

How to echo a line into multipul files

Discussion in 'General Discussion' started by martynh, Oct 11, 2010.

  1. martynh

    martynh Active Member

    Joined:
    Oct 6, 2009
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I have custom php.ini files setup on my server under my control using the functions of SuPHP. All PHP.INI files are located in:

    /usr/user-ini/username/php.ini

    "username" been the users account username.

    I have found a new extention which needs placing in all the php.ini files but their are alot of them.

    I have tried to echo the line using:

    echo 'extension=mod.so' >> /usr/user-ini/*/php.ini

    but I get this error:

    ambiguous redirect



    How else can I do this?

    thanks in advance
     
Loading...

Share This Page