php-install Digest 29 Mar 2001 07:01:02 -0000 Issue 238

Topics (messages 2610 through 2614):

Build Apache/SSL/PHP/GD
        2610 by: Tino Hendricks

php4 test asks me if I want to download the file test.php ?
        2611 by: hi
        2614 by: Josh Lokot

Re: PHP3 + iPlanet (Windows 2000)
        2612 by: Alfred Lerch

Re: Apache with php + Oracle (yet again!)
        2613 by: houston

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]


----------------------------------------------------------------------


Dear List,

I am desperately trying to get my Apache 1.3.12/SSL to compile with PHP
4.0.4 and GD 1.8.3.

Apache and SSL is no problem, but I can't find out how bring PHP and GD in.
--------------------------------------------------------------------
If I try to compile PHP into Apache I configure:
./configure --with-exec-dir=/usr/lib/apache/bin --with-gd
--with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr
--with-mysql=/usr/local/mysql

And then I try to compile Apache with:
./configure --with-layout=Apache --enable-module=rewrite
--enable-module=unique_id --activate-module=src/modules/php4/libphp4.a

But then Apache complains about missing all undefined references of every
GD-command in PHP.
--------------------------------------------------------------------
Next I tried to do the DSO Version with:
./configure --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/lib/apache/bin
--with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr
--with-mysql=/usr/local/mysql

for PHP and this for Apache:
./configure --with-layout=Apache --enable-module=rewrite
--enable-module=unique_id --enable-module=so

But after putting the "AddModule .... libphp4.so" line into the httpd.conf
the httpsdctl complains: "libphp4.so is garbled, maybe no DSO?"

Any kind of help is very much appreciated.


Tino

www.interpool.de





Hi,

I have been trying to install and configure the win 32 binary download of
php4.0.4 on win98.  I got apache up and running, but when I tested php4, I
was presented with a dialog box asking me if I wanted to download the file I
was trying to parse.  Initially, when I launched IE, I came up with what
looked like an apache page that was titled:  INDEX OF/   with
http:/localhost/ in the browser address bar.  There were two links on the
page: Parent Directory and test.php, which is my test file.  I then typed in
test.php after the http:/localhost/ that was already in the address bar, and
when I hit return, a dialog box appeared asking me if I wanted to download
test.php to disk, or open it.  I chose open it, and the text of test.php was
displayed, but not the output.  Any suggestions?






Read the PHP Frequently Asked Questions at http://www.php.net

Your question is in there

-----Original Message-----
From: hi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 29 March 2001 3:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] php4 test asks me if I want to download the file
test.php ?


Hi,

I have been trying to install and configure the win 32 binary download of
php4.0.4 on win98.  I got apache up and running, but when I tested php4, I
was presented with a dialog box asking me if I wanted to download the file I
was trying to parse.  Initially, when I launched IE, I came up with what
looked like an apache page that was titled:  INDEX OF/   with
http:/localhost/ in the browser address bar.  There were two links on the
page: Parent Directory and test.php, which is my test file.  I then typed in
test.php after the http:/localhost/ that was already in the address bar, and
when I hit return, a dialog box appeared asking me if I wanted to download
test.php to disk, or open it.  I chose open it, and the text of test.php was
displayed, but not the output.  Any suggestions?



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]







Hola Sergio,

por qué no haces nsapi ?

why don't you go for PHP as NSAPI ?

http://benoit.noss.free.fr/php/install-php4.html

saludos

alfred

Sergio Anguirta wrote:
> 
> I try to configure iPlanet (Windows 2000) but it doesn't works. The error
> was:
> 
> [28/Mar/2001:11:56:13] config ( 1688): for host 172.17.7.86 trying to GET
> /hola.php, handle-processed reports: no way to service request for /hola.php
> 
> How can I solve it???
> 
> I read the document: http://benoit.noss.free.fr/php/install-php.html, but
> when I create the dummy shell-cgi directory and I remove it after, the
> iPlanet didn't create any line at obj.conf.
> 
> Thanks!
> 
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]




I don't know whether this will help but I had a similar problem--apache was
core-dumping on startup.  I removed mysql support and it started to work.  I
can't say why.  Also, have you run ldd against libphp4.so?  Make sure that
all of the shared libraries are able to resolve.

--Houston
"Marchelm Bomers" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am having the previously seen problem whereby apache will not start and
leaves
> no messages when I configure php "--with-oci8". I have tried a number of
> suggestions previously seen in this newsgroup without success. This
includes
> setting "LD_PRELOAD" in startup script, adding "-lpthread" in apache
LDFLAGS,
> configure php "--with-gnu-ld", and combinations thereof. Obviously I
haven't
> struck the right one.
>
> System details:
> Compaq (Digital) alpha 2100
> Tru64 Unix 5.0A
> Oracle 8.1.6
>
> Apache 1.3.12 config:
>         --enable-module=rewrite \
>         --enable-module=so \
>         --enable-module=proxy \
>         --enable-shared=rewrite \
>         --activate-module=src/modules/perl/libperl.a \
>         --with-perl=/bin/perl
>
> php 4.0.4pl1 config:
>         --with-apxs=/usr/local/www2/bin/apxs \
>         --with-mysql=/usr/local/mysql \
>         --with-ldap=/usr/local \
>         --with-oci8 \
>         --with-gnu-ld \
>         --without-gd
>
> I would very much appreciate assistance from anyone out there that has
> successfully included Oracle support in php.
>
> Tanx muchly.
>
> Marchelm Bomers
>


----------------------------------------------------------------------------
----


> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]




Reply via email to