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.

Updated PHP and now it's Causing Issues in WP

Discussion in 'General Discussion' started by Garrettj94, Oct 27, 2015.

  1. Garrettj94

    Garrettj94 Active Member

    Joined:
    Oct 1, 2015
    Messages:
    36
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Arizona
    cPanel Access Level:
    Website Owner
    I updated PHP on my dedicated server since one of the sites required 5.5. Previously I had 5.3 and Apache 2.2, now I have 5.5 and Apache 2.4. When updating a plugin in WordPress it asks for FTP info, this is caused by PHP running as the apache user (mod_php or CGI) rather than the user that owns your WordPress files. I know there are fixes with the wp-config, but I have a lot of WordPress sites and don't want to go through all of them. Is there an easier fix?
     
  2. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    This is permission issue of php, your way of executing PHP has changed and now PHP files are not being executed under user provileges. You need to probably recompile or select other way of running PHP under "Configure PHP and suExec". If you select DSO and want PHP run under user privileges - you should recompile with mod_ruid support. Otherwise you should choose FastCGI. Both options have their strong and weak sides.. ;)
     
    Garrettj94 likes this.
  3. Garrettj94

    Garrettj94 Active Member

    Joined:
    Oct 1, 2015
    Messages:
    36
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Arizona
    cPanel Access Level:
    Website Owner
    Edit* I switched from dso to cgi and it fixed it. Thanks!
     
    #3 Garrettj94, Oct 28, 2015
    Last edited: Oct 28, 2015
  4. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    oki.. if you encounter speed problems, try recompiling Apache with FastCGI support. that works faster, than traditional CGI. ;)
     
Loading...

Share This Page