Hello, I installed all PHP-RPMs on Suse 10.1, they contain the Apache modul and the CLI, but I also need the CGI. But I can not find it in the installation or I can not find a hint which package could include it. Does anybody know something about? Thanks Markus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Markus Bach escribió:
Hello,
I installed all PHP-RPMs on Suse 10.1, they contain the Apache modul and the CLI, but I also need the CGI. But I can not find it in the installation or I can not find a hint which package could include it. Does anybody know something about?
Thanks
Markus
install the php5-fastcgi package. if you need a newer PHP version, check http://software.opensuse.org/download/server:/php/SUSE_Linux_10.1/
----- Original Message -----
From: "Cristian Rodriguez R."
Hello,
I installed all PHP-RPMs on Suse 10.1, they contain the Apache modul and the CLI, but I also need the CGI. But I can not find it in the installation or I can not find a hint which package could include it. Does anybody know something about?
Why does not apache's mod_php5 suffice? Anyway, you could solve it by putting #!/usr/bin/php5 at the top lines and let mod_cgi do the rest. -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello!
I installed all PHP-RPMs on Suse 10.1, they contain the Apache modul and the CLI, but I also need the CGI. But I can not find it in the installation or I can not find a hint which package could include it. Does anybody know something about?
Why does not apache's mod_php5 suffice? Anyway, you could solve it by putting #!/usr/bin/php5 at the top lines and let mod_cgi do the rest.
You could use suPHP (www.suphp.org), which will use php5-fcgi without the exe-line #!/usr/bin/php5 . After installing the fcgi-rpm you will find php5 not inside /usr/bin/ but in /srv/www/cgi-bin/php5. I myself usually copy /srv/www/cgi-bin/php5 to /usr/bin/php (so php is fcgi and php5 is CLI). Regards, Johannes P.S suPHP describes itself like suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Johannes Nohl escribió:
You could use suPHP (www.suphp.org),
nope. which will use php5-fcgi without
the exe-line #!/usr/bin/php5 .
php5-fastcgi does the same thing instead of uing usPHP, run separate php fascgi instances running as a normal user You can do that somewhat easily with lighttpd.
Cristian Rodriguez R. wrote:
Johannes Nohl escribió:
You could use suPHP (www.suphp.org),
nope.
which will use php5-fcgi without
the exe-line #!/usr/bin/php5 .
php5-fastcgi does the same thing
instead of uing usPHP, run separate php fascgi instances running as a normal user
You can do that somewhat easily with lighttpd.
And with apache as well... Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Cristian Rodriguez R.
-
J Sloan
-
Jan Engelhardt
-
Johannes Nohl
-
Markus Bach