Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    56
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice