On 06/27/2011 10:13 PM, Grant Peel wrote:
> Hi all,
>
> Up to this point we have been running PHP as an Apache 22 module.
>
> We would like to rebuild PHP over the next few weeks to run it as a CGI/CLI
> PHPSuexec system.
>
> I am hoping there may be others that have made this migration and might
Binay wrote:
But when after lotttsss of hair pulling couldn't make turck run with 4.3.8 ,
finally decided to check type (mode) of PHP installation. I m sorry for
convience caused.
I admire your attitude. Many others would have come out with a flame in
response to my message. Please let me tip
x27;t make turck run with 4.3.8 ,
finally decided to check type (mode) of PHP installation. I m sorry for
convience caused.
Thanks
Binay
- Original Message -
From: "raditha dissanayake" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 24, 2004 1:40
Binay wrote:
Hi
How to check whether PHP is installed as CGI or Apache module?
Thanks
Binay
I assume this is a spin of from your thread on turck mmcache. I am
pretty sure you have not read the mmcache docs or searched for google
on this. Because there are countless articles on installing turc
David T-G wrote:
Peter --
...and then Peter Risdon said...
%
% David T-G wrote:
%
% > bash-2.05a$ /usr/local/bin/php -v
% > PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52)
%
% You probably need the cgi version - not the command line one you
% actually have.
Ooohhh... Ouch. So there are
Curt, et al --
...and then Curt Zirzow said...
%
% * Thus wrote David T-G ([EMAIL PROTECTED]):
% >
% > bash-2.05a$ /usr/local/bin/php -v
% > PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52)
%
% that cli should be cgi.
%
% I'm assuming you compiled php with something like:
%configure --wit
* Thus wrote David T-G ([EMAIL PROTECTED]):
> Peter --
>
> ...and then Peter Risdon said...
> %
> % David T-G wrote:
> %
> % > bash-2.05a$ /usr/local/bin/php -v
> % > PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52)
> %
> % You probably need the cgi version - not the command line one you
> % actu
Peter --
...and then Peter Risdon said...
%
% David T-G wrote:
%
% > bash-2.05a$ /usr/local/bin/php -v
% > PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52)
%
% You probably need the cgi version - not the command line one you
% actually have.
Ooohhh... Ouch. So there are *three* possibl
* Thus wrote David T-G ([EMAIL PROTECTED]):
> Curt, et al --
>
> ...and then Curt Zirzow said...
> %
> % * Thus wrote David T-G ([EMAIL PROTECTED]):
> % >
> % > My code is as simple as
> % >
> % > #!/usr/local/bin/php
> %
> % What does '/usr/local/bin/php -v' show?
>
> Doesn't seem to scary
David T-G wrote:
Curt, et al --
...and then Curt Zirzow said...
%
% * Thus wrote David T-G ([EMAIL PROTECTED]):
% >
% > My code is as simple as
% >
% > #!/usr/local/bin/php
%
% What does '/usr/local/bin/php -v' show?
Doesn't seem to scary to me:
bash-2.05a$ /usr/local/bin/php -v
PHP 4.3.4
Curt, et al --
...and then Curt Zirzow said...
%
% * Thus wrote David T-G ([EMAIL PROTECTED]):
% >
% > My code is as simple as
% >
% > #!/usr/local/bin/php
%
% What does '/usr/local/bin/php -v' show?
Doesn't seem to scary to me:
bash-2.05a$ /usr/local/bin/php -v
PHP 4.3.4 (cli) (built:
* Thus wrote David T-G ([EMAIL PROTECTED]):
>
> and know that it works as intended, but now I seem completely unable to
> get any $_POST (or even $_GET) data into the script. I suspect, from
> reading the manual and noting the warnings, that any GET data will be
> ignored, and that's fine, but I
* Thus wrote Andy B ([EMAIL PROTECTED]):
> is it possible to have php installed with apache as cgi and module both at
> the same time...??
Yes. See php.net/install
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
that's what I already did (--enable-static=db4), but after that a 'ldd
php' still showed me references to libdb.so. I don't want to build php
with absolutely no dynamic libaries, only certain libaries shall be
compiled in statically.
Still no answer? Is noone experienced enough in the building-p
Hello,
You will need to build php yourself, take a look at configure --help:
$ ./configure --help | grep static
--enable-static[=PKGS] build static libraries [default=yes]
that's what I already did (--enable-static=db4), but after that a 'ldd
php' still showed me references to libdb.so. I don
On Sun, 2004-02-15 at 17:19, Marten Lehmann wrote:
> when I'm building php as a cgi-module, a 'ldd php' shows a list of some
> libraries, that are linked in dynamically. How can I link some of them
> statically into the php-binary? I can't rely of external libs in some cases.
You will need to bu
Thanks very much to all,
Ok, I understand now.. so I need to install php as a
cgi oppose to the module apache.
Do you have some good page that can help me to
configure and compile correctly the php as cgi?
Thanks in advance,
Kisses,
Ivone
--- Kelly Hallman <[EMAIL PROTECTED]> wrote:
> On Fri, 28
On Fri, 28 Nov 2003, Nicole Lallande wrote:
> Ivone --
> You are using a PERL invocation for php. PHP scripts begin the # sign is a comment in PERL - not in PHP.
# also denotes a comment in PHP. Though #! is not a comment, per se.
(However, if you feed the file directly to some interpreter lik
Hi Nicole!
Thanks for your reply!
I'm a little confused:
Do I need to compile the php as cgi? I thought it was
when you wanted to run php from commanline: as
./pruebacgi.php
(Servers-CGI/Commandline)
But in my case I want to call a php like that:
http://xx.yy.zz/cgi-bin/pruebacgi.php
and this
Ivone --
You are using a PERL invocation for php. PHP scripts begin with
the # sign is a comment in PERL - not in PHP.
To run php as cgi you need to install the php cgi version (as opposed to
the apache modular installation.) That will allow you to run cgi
scripts on the command line.
http:
you need to:
./configure [whatever options]
make
make test
make install (as root)
then you need to edit Apache httpd.conf
appropriately and restart the daemon.
then, it should work
> -Original Message-
> From: Beech Rintoul [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 16, 2001
gt; -Original Message-
> From: Hrishi [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 19, 2001 03:31
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] PHP as CGI
>
>
> >
> > AddType application/x-httpd-php .php
> > Action application/x-httpd-php /usr/local/
>
> AddType application/x-httpd-php .php
> Action application/x-httpd-php /usr/local/php
>
> A) I'm not sure you need the "." on ".php"
>
i've tried both with and without the '.' , but the server always responds :
---
Not Found
The requested URL /usr/bin/php4/test.php was not found on this ser
>Hi, I've compiled PHP as CGI in /usr/local/php/ . Does anyone know what I
can write in >httpd.conf file?
>
>Tanks
I think it's:
AddType application/x-httpd-php .php
Action application/x-httpd-php /usr/local/php
A) I'm not sure you need the "." on ".php"
B) You can add more extensions: ...x-htt
24 matches
Mail list logo