Bug 143564 - PHP5-fastcgi should be installed in /srv/www/fcgi-bin
Summary: PHP5-fastcgi should be installed in /srv/www/fcgi-bin
Status: RESOLVED INVALID
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Alpha 4
Hardware: Other All
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: Petr Ostadal
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 18:41 UTC by Cristian Rodríguez
Modified: 2006-01-20 23:53 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Rodríguez 2006-01-17 18:41:34 UTC
Hi.
php5-fastcgi binary, should be installed in  /srv/www/fcgi-bin and **not** in /srv/www/cgi-bin

adittionally it should be compiled without --enable-discard-path
see /usr/share/doc/packages/php5/README.FastCGI to know why.
Comment 1 Petr Ostadal 2006-01-19 15:28:41 UTC
Why it should be installed in /srv/www/fcgi-bin ? (I dind't find, that suse use this dir path). You are right with --enabling-discard-path , but which problem can caused I didn't chat it.
Comment 2 Petr Ostadal 2006-01-19 16:39:57 UTC
I found that /srv/www/fcgi-bin was owned by dropped apache2-mod_fastcgid , but new replacement apache2-mod_fcgid doesn't cover it. Peter, where is right place for this fastcgi binary?
Comment 3 Cristian Rodríguez 2006-01-19 16:41:27 UTC
$rpm -ql apache2-mod_fastcgi
/etc/apache2/conf.d/mod_fastcgi.conf
/srv/www/fcgi-bin
/usr/lib64/apache2/mod_fastcgi.so
/usr/share/doc/packages/apache2-mod_fastcgi
/usr/share/doc/packages/apache2-mod_fastcgi/CHANGES
/usr/share/doc/packages/apache2-mod_fastcgi/LICENSE.TERMS
/usr/share/doc/packages/apache2-mod_fastcgi/mod_fastcgi.html
/var/lib/apache2/fastcgi

as you can see , that dir is created by apache2-mod_fastcgi.
the reason I can argue, is only for consistency.
PHP5-fastcgi is a fastcgi binary, so it should be installed in fcgi-bin directory.

I have changed this bug,now it's a 10.1 suggested correction ;-)
Comment 4 Peter Poeml 2006-01-20 09:38:27 UTC
Starting with 10.1, we don't have apache2-mod_fastcgi anymore, we have
apache2-mod_fcgid instead. (It is a newer implementation.)

Marcus, what do you think? Should apache2-mod_fcgi provide this
directory? 

Should both packages provide the directory, or does php5-fastcgi depend
on apache2-mod_fcgid anyway?
Comment 5 Marcus Rückert 2006-01-20 10:23:19 UTC
/srv/www/cgi-bin imho. 

as the binary can be used for both modes.
actually we could even put it into /usr/bin as it doesnt matter where the binary is.

will test that stuff over the weekend as i will move my server to mod_fcgid and apache 2.2.0
Comment 6 Cristian Rodríguez 2006-01-20 23:53:50 UTC
I had opened this bug report without knowing  about the removal of mod_fastgi from the distribution.

now, I think my suggestion do not apply..and if that direcoty doesn't not exists now, the binary should exists in /srv/www/cgi-bin as it is right now.


Marcus:
no.. please no in /usr/bin :) 
since executable use the same name than the cli version of PHP in that case we will have,once again, a doggy slow and resoource hungry PHP Command line binary. :-)