> Cannot Run
> Cannot Run As Forbidden Uid 33/php5
Cannot Run As Forbidden Uid 33/php5
try on mine it is /var/log/apache2/suexec.log permissions are 640 (root/adm) you should probably create it manually first (using touch) then check permissions but that should be okay as the suexec runs Log in or register to post comments #50 Wed, 05/27/2009 - 17:16 (Reply to #49) andreychek Yeah, that all looks pretty good. I'm not sure that you're able to automate that using the GPL version -- the Pro version comes with some command line tools that can do that. This mailing list post also says that it isn't possible, and that CGIwrap should be used instead. news
How do I handle this? Would we find alien music meaningful? Once the permissions have been changed, I now get the following the logs: uid: (503/domain) gid: (504/504) cmd: php5.fcgi Cheers, Paul Log in or register to post comments #30 Thu, 02/19/2009 Log in or register to post comments #23 Fri, 07/15/2011 - 16:01 (Reply to #22) FrankVerdin86 I did a google search, but didn't really come up with anything like what I
I am sure I am looking in the wrong place but I am not sure. I found the following error: file has no execute permission: (/home/online-media/fcgi-bin/php5.fcgi) However, I think that this was messing with the permissions, so it is still not working even after I have I've followed the instructions laid out by the posts, and as far as I can see, everything should work ok......(but of course it isn't!) Folder/file structure: /home/domain/etc/php5/php.ini (644) (Owner/Group: domain) /home/domain/fcgi-bin/php5.cgi
I don't know if it works with standard suexec, I would guess it doesn't because apache runs as www-data and the fcgi-starter is owned by root. This looks like maybe you have incorrect permissions somewhere (too much, not too little). Thanks apache-2.2 virtualhost php5 suexec share|improve this question edited May 7 '12 at 22:17 asked May 5 '12 at 17:23 Fabio 115 add a comment| 2 Answers 2 active oldest votes Should be something like 0644 and 0755 respectively.
In my /var/log/apache2/error.log I noticed these, maybe the problem lies in here somewhere. As for how to automate converting all existing sites? Thanks all. [code:1]... [Thu May 28 00:20:49 2009] [notice] mod_fcgid: call /home/micahk/public_html/test.php with wrapper /home/micahk/fcgi-bin/php5.fcgi [Thu May 28 00:20:49 2009] [notice] mod_fcgid: server /home/micahk/public_html/test.php(4928) started [Thu May 28 00:23:04 2009] [notice] https://wincent.com/wiki/Troubleshooting_suexec_errors more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
meemu, Dec 7, 2007 #31 andreas.stoeffer New Member Suexec.log ? I was hoping that someone might have an idea on how to start frank verdin Log in or register to post comments #24 Fri, 07/15/2011 - 16:10 (Reply to #23) andreychek This is my virtual host file: SuexecUserGroup "#1001" "#1002" ServerName robertgrab.com ServerAlias www.robertgrab.com webmail.robertgrab.com admin.robertgrab.com lists.robertgrab.com server3.robertgrab.com DocumentRoot /home/grab/public_html ErrorLog /var/log/virtualmin/robertgrab.com_error_log CustomLog /var/log/virtualmin/robertgrab.com_access_log combined ScriptAlias /cgi-bin/ /home/grab/cgi-bin/ ScriptAlias /awstats However, you can update it individually for each existing website by first choosing the domain in question, then choosing Server Configuration -> Website Options, and modifying "PHP script execution mode". -Eric
I found various suggestions with regard to flush problems and fastcgi but despite trying everything, no joy. The only other approach I can think of is to abuse suEXEC's mod_userdir integration and somehow rewrite the requests to a user directory, but this is unlikely to work well. Easy. Log in or register to post comments #38 Tue, 08/18/2009 - 15:18 (Reply to #37) andreychek The directory /var/log/httpd would exist on CentOS / RHEL based distros.
Log in or register to post comments #2 Mon, 10/06/2008 - 16:19 andreychek Howdy, To enable it for all future sites, go into System Settings -> Server Templates -> Default Settings navigate to this website asked 4 years ago viewed 1488 times active 3 years ago Related 2SuExec for Tomcat?0suEXEC before Apache dead3NameVirtualHost 12.345.67.89:443 has no VirtualHosts after enabling and disabling suexec module1Why the php-cgi wrapper So, it can be entirely automatic, just like in Professional. The text leading up to this was: -------------------------- |1119c1119 |1119c1119 |< |--- |> -------------------------- Patching file config.lib.php using Plan A...
It's something you can configure by going into Server Configuration -> Website Options, and changing the PHP Execution Mode. -Eric Log in or register to post comments #25 Tue, 10/07/2008 - However, you can update it individually for each existing website by first choosing the domain in question, then choosing Server Configuration -> Website Options, and modifying "PHP script execution mode". -Eric
Do I have to manually configure the httpd.conf for users (or add it to the server templates settings that I've seen posted in other posts).
Thanks for your replys.
Now it works. I manually added the +ExecCGI part to the directives to work around this, but this problem does make the virtualmin modify-web --all-domains --mode fcgid command rather useless. I added 2 lines to the apache directives under the public_html section.
if this thread is going to be stickied.
Well, the location does but the label doesn't. Also, I wonder if I should do these steps with each and every virtual server account so that the PHP scripts won't be broken? Without suEXEC I made some simple PHP tests, it works fine as uid/gid www-data. Any ideas?