Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1370 - php-4.1.2-r4.ebuild (Update) && php-cgi-1.0.ebuild
Summary: php-4.1.2-r4.ebuild (Update) && php-cgi-1.0.ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-27 20:36 UTC by Stephen Hansen
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Hansen 2002-03-27 20:36:16 UTC
The attached php-cgi.tgz contains a modification of php-4.1.2-r3 which allows it 
to be installed without Apache, and thus, as a CGI binary. In addition, there is a 
"dummy" php-cgi-1.0.ebuild file which does nothing but calls "NO_APACHE=1 
emerge php" so that whatever the latest version of PHP is, it will be installed.

The reason that I believe it is best to have a fake-seperate-package for php-cgi 
is so that other packages which rely on having a php binary (such as 
PHP-Mole, which i'd love to port to portage) can list it as a dependency. It also 
allows you to have both a CGI binary and the apache modules at the same time.

I don't know if this is the "best" way to accomplish this with ports--but i'm 
submitting this solution to raise awareness :)
Comment 1 Stephen Hansen 2002-03-27 20:46:11 UTC
Hell if I know why, but when I try to submit a file attachment, it says, 'File 
was not provided, or is empty.' Except its so not.

Anyways. http://ixokai.net/php-cgi.tgz is the file mentioned.
Comment 2 Stephen Hansen 2002-03-28 00:10:53 UTC
Nevermind. I could have swore it worked :P It didn't, though. :)