Re: Shell Programming with PHP, but where is the PHP?
| From: | Lindsay Adams | Date: | Tue, 03 Apr 2001 16:19:26 +0000 |
| Subject: | Re: Shell Programming with PHP, but where is the PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46840@lists.php.net to get a copy of this message | ||
Yes, download the source and compile it.
Do not turn on the module options in ./configure.
I was able to compile my own standalone cgi version of PHP on my ISP without
issue.
If you download it, unpack it
Do
./configure
Make
And look in the bin directory of the source directory for your cgi version.
Try it out, move it, whatever, then go back and recompile in other options
you might want.
If your ISP has development tools available, you should not have a problem.
Since you are not installing it as a module, you won't need root access to
compile it and make it work.
On 4/3/01 9:02 AM, "Brandon Orther" <orther@webintellects.com> wrote:
> Hello,
>
> It is installed as a module, Is there a way I can keep it installed as a
> module but install it so I can use it to shell script also?
>
> Thanks Ahead Of Time
> Brandon
>
> -----Original Message-----
> From: Renze Munnik [mailto:renze@datalink.nl]
> Sent: Tuesday, April 03, 2001 8:32 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Shell Programming with PHP, but where is the PHP?
>
>
> Brandon Orther wrote:
>>
>> Hello,
>>
>> I am looking for the path to my php so I can put it on the top of
> my php
>> script. Like this: #!/path/to/php
>>
>> All I can find that looks like this is libphp4.so Does anyone know where
> to
>> look for the binary?
>>
>> Thanks
>> Brandon
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>> For additional commands, e-mail: php-general-help@lists.php.net
>> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> Try locate and/or whereis.
> And you should make sure PHP isn't installed as module.
> --
>
> * R&zE:
>
> ***************************
> ** Renze Munnik
> **
> ** E: renze@datalink.nl
> ** M: +31 6 218 111 43
> ***************************
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>