Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Apache processes not running as user?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Locked
  • Print view
Advanced search
15 posts
  • Previous
  • 1
  • 2
skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Apache processes not running as user?

Post by skid » Thu Jan 10, 2013 7:54 pm

That's weird... so you can reproduce this bug on fresh system?
Top

Omar
Posts: 24
Joined: Sun Dec 16, 2012 9:59 pm

Re: Apache processes not running as user?

Post by Omar » Fri Jan 11, 2013 4:34 am

skid wrote:That's weird... so you can reproduce this bug on fresh system?
yes.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Apache processes not running as user?

Post by skid » Sat Jan 12, 2013 9:34 am

Ok thank you, investigating.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Apache processes not running as user?

Post by skid » Mon Jan 14, 2013 12:48 pm

I found it! You was right about SetHandler, for some reason it overrides AddHandler directives for virtualhost. This bug appeared when remi repo switched to php-5.4. Here is the fix:

Code: Select all

# Update control panel to version 0.9.7-15
yum update vesta

# Download new templates
cd /usr/local/vesta/data/templates/web/
wget http://c.vestacp.com/0.9.7/templates/web/apache_phpfcgid.stpl -O apache_phpfcgid.stpl
wget http://c.vestacp.com/0.9.7/templates/web/apache_phpfcgid.tpl -O apache_phpfcgid.tpl

# Rebuild web domain configuration
for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user;done
Top

Omar
Posts: 24
Joined: Sun Dec 16, 2012 9:59 pm

Re: Apache processes not running as user?

Post by Omar » Tue Jan 15, 2013 1:51 am

skid wrote:I found it! You was right about SetHandler, for some reason it overrides AddHandler directives for virtualhost. This bug appeared when remi repo switched to php-5.4. Here is the fix:

Code: Select all

# Update control panel to version 0.9.7-15
yum update vesta

# Download new templates
cd /usr/local/vesta/data/templates/web/
wget http://c.vestacp.com/0.9.7/templates/web/apache_phpfcgid.stpl -O apache_phpfcgid.stpl
wget http://c.vestacp.com/0.9.7/templates/web/apache_phpfcgid.tpl -O apache_phpfcgid.tpl

# Rebuild web domain configuration
for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user;done
Excellent!, now works perfectly :)

thanks
Top


Locked
  • Print view

15 posts
  • Previous
  • 1
  • 2

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password