php-install Digest 25 May 2002 08:36:33 -0000 Issue 852

Topics (messages 7098 through 7100):

Readline Problem
        7098 by: Peter Stoehr

installing php4 with xitami
        7099 by: Ryan Galloway
        7100 by: Phil Driscoll

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hi list!

Hi list. I tried to configure PHP
4.1.2 --with-readline=/usr/local/include/readline, but I get this error
back:

configure: error: readline extension can only be used with CGI build

I have SuSE Linux 7.1 with Apache 1.3.23, Readline-4.2a. The hole
_configure_ looks like that:

./configure \
--bindir=/usr/bin \
--datadir=/usr/share/php \
--enable-discard-path \
--enable-force-cgi-redirect \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars=yes \
--enable-trans-sid \
--enable-versioning \
--enable-wddx \
--enable-yp \
--with-apache=../apache_1.3.23 \
--with-config-file-path=/usr/local/Zend/etc \
--with-exec-dir=/usr/lib/php/bin \
--with-gettext \
--with-mysql \
--with-readline=/usr/local/include/readline \
--with-xml \
--with-dom \
--with-zlib=yes


Have anyone an idea?

Kind regards, Peter Stoehr

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PINK ADVERTISING - Gerd Eichler KEG
  A-1150 Wien, Wurmsergasse 35/17
V: +43 664 2339933 F: +43 1 7899737
ViennaGayGUIDE http://www.gaynet.at
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--- End Message ---
--- Begin Message ---
I installed Xitami and then PHP4 (the installer that automatically adds
to the filters in Xitami). I created a test page with a simple echo
command, and I get this:
 
----------------------------------
 
Security Alert! The PHP CGI cannot be accessed directly. 
This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means that a page will only be served up if the REDIRECT_STATUS CGI
variable is set, e.g. via an Apache Action directive.
For more information as to why this behaviour exists, see the manual
page for CGI security <http://php.net/security.cgi-bin> .
For more information about changing this behaviour or re-enabling this
webserver, consult the installation file that came with this
distribution, or visit the manual page <http://php.net/install.windows>
.
-------------------------------------
 
I'm sure some of you have seen this error. Does this have to do with
permissions on my machine? I tried the help link but didn't get much out
of it. Should I change this line in my php.ini tag from 1 to 0? I'm
confused. thanks in advance.
--- End Message ---
--- Begin Message ---
On Saturday 25 May 2002 12:47 am, Ryan Galloway wrote:

> I'm sure some of you have seen this error. Does this have to do with
> permissions on my machine? I tried the help link but didn't get much out
> of it. Should I change this line in my php.ini tag from 1 to 0? 

Yes!

Cheers
-- 
Phil Driscoll
--- End Message ---

Reply via email to