For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > June 2006 > Re: [PHP-INSTALL] PEAR doesn't run with "fast-cgi" installation!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] PEAR doesn't run with "fast-cgi" installation!
Peter Hodge

2006-06-18, 6:58 pm

Hi Tamer,

You need to edit your php.ini, which is usually located in
/etc/php.ini
or
/usr/local/php/etc/php.ini
or something like that (there are ways to find it easily).


Inside php.ini you will find a line which says:

register_argc_argv = Off

And you need to change it to

register_argc_argv = On

If you had installed PHP as an apache module, you would need to restart Apache
so that PHP re-reads the php.ini file. I'm not sure if the same applies for a
fast-cgi installation.

HTH,
Peter



--- Tamer Higazi <tameritoke2@arcor.de> wrote:

> Hi!
> I have PHP 5.1.4 as a fast-cgi installation on my linux machine.
> However, I can't run PEAR, even after I have followed the installation
> instructions in detail.
>
> The errormessage:
>
> ERROR: either use the CLI php executable, or set register_argc_argv=On
> in php.ini
>
> For any help, solving my problem.
>
> Thank you
>





________________________________________
____________
On Yahoo!7
Answers: Real people ask and answer questions on any topic.
http://www.yahoo7.com.au/answers
Tamer Higazi

2006-06-19, 7:05 pm

Hi Peter!
This is what I did before and the error-message does still appear on my
screen.

Do you have any idea what it could else be?

Tamer

Am Montag, den 19.06.2006, 09:23 +1000 schrieb Peter Hodge:
> Hi Tamer,
>
> You need to edit your php.ini, which is usually located in
> /etc/php.ini
> or
> /usr/local/php/etc/php.ini
> or something like that (there are ways to find it easily).
>
>
> Inside php.ini you will find a line which says:
>
> register_argc_argv = Off
>
> And you need to change it to
>
> register_argc_argv = On
>
> If you had installed PHP as an apache module, you would need to restart Apache
> so that PHP re-reads the php.ini file. I'm not sure if the same applies for a
> fast-cgi installation.
>
> HTH,
> Peter
>
>
>
> --- Tamer Higazi <tameritoke2@arcor.de> wrote:
>
>
>
>
>
> ________________________________________
____________
> On Yahoo!7
> Answers: Real people ask and answer questions on any topic.
> http://www.yahoo7.com.au/answers

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com