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.

Updateing PHP i think

Discussion in 'General Discussion' started by sepi, Jul 19, 2006.

  1. sepi

    sepi Registered

    Joined:
    Jul 19, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    well when i try to install this forum i get this problem, my friend thats good at this he says its that "frwite" isnt allowed. well my hosting company thats my friends small company uses Cpanel and he said if i find out how to fix it i can. can help me?
     
  2. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hi there,

    If fwrite() isn't working, please check the servers php.ini and check to see if you're in Safe Mode. If you are, you may need to get out of it, try it again and see if it helps.

    Also, you might wanna check the php.ini to see if disable_functions = has fwrite in there. If it does, you may want to ask your host friend to remove it. It might be a security issue, however, if you require it in order to run, he may be able to make an exception? ;)

    Hope this helps!

    Jamie
     
  3. sepi

    sepi Registered

    Joined:
    Jul 19, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    ok.

    thnx for now i told him to try this . but i dont no its sounds like your talking about going IN the files but i dont think he has teh files because he but RESELLER hosting . so let me know.
     
  4. Dj-Goatz

    Dj-Goatz Registered

    Joined:
    Jul 19, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hosting Friend

    Hello i am the Hosting friend he is speaking of and we have incountered this problem while trying to install things not listed on the installatron or fantastico and from my point of view i think it would be somthing the admin of the servers would have to do, due to me only being a reseller i think its the Admins panel that needs to be changed.:rolleyes:
     
  5. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hi Sepi,

    Perhaps he will need to contact his webhost then to get the admin to leak the truth out. I mean, sometimes they are very anal, especially in the reseller hosting.

    For example, they probably have SAFE MODE on with tons of denied functions.

    Many functions can give hackers a way into the system, but really, only cowardly admins will be that tight. A good admin will have a flexible system and if your host is AOK, he'll probably give you a workaround using a php.ini in the local directory. (if he's running phpsuexec; if not a .htaccess fix)

    Take care, let me know what your buddy says,

    Jamie
     
  6. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Yeah, read my reply, I think it's admin realted.

    Personally, I unlock it all for my users and deal with case per case abuse.

    Users tend to be happier when they can use all of it.

    I just manage the security aspects more. Like, for example, why would you disable a ton of functions because someone could potentially exploit a PHP script? Just enable all functions and be vigilant on updates. Use mod_security and don't worry about it all that much.

    ;)

    Abuse - after all - on a non-root level won't do much except load /tmp folders with garbage which is track-backable via PhpSuExec/CGISuExec. If it's a root exploit, than obviously your admin is lazy and doesn't update his kernels or software that often and/or is using a rediculously easy password.

    Tell your provider to be a tad bit more relaxed. ;) Hehehehe.

    Take care,

    Jamie :rolleyes:
     
  7. sepi

    sepi Registered

    Joined:
    Jul 19, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    hey thnx

    thnx for your help so far ill let you know what happens while me and Dj-Goatz try to fix the problems . :) peace
     
Loading...

Share This Page