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

    Oct 6, 2009
    Likes Received:
    Trophy Points:

    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:


    "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 '' >> /usr/user-ini/*/php.ini

    but I get this error:

    ambiguous redirect

    How else can I do this?

    thanks in advance

Share This Page