php-install Digest 25 Jun 2002 16:22:36 -0000 Issue 901
Topics (messages 7458 through 7463):
undefined symbol: png_get_error_ptr when starting apache
7458 by: Ostdeutschland.gmx.de
Re: installing PHP as mod_php on Apache 2.0.39
7459 by: B. PERRINE
Re: The requested URL /METHOD=POST was not found on this server.
7460 by: Denis Arh
7461 by: Denis Arh
safe_mode_include_dir not working?
7462 by: andi
mod_php4.c
7463 by: Peter Richards
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,
after setting up my server for the fifth this night I'm giving up..
Does anybody know, why I'm getting the following error?
[root@router bin]# ./apachectl startssl
Syntax error on line 239 of /usr/local/apache/1.3.26/conf/httpd.conf:
Cannot load /usr/local/apache/current/libexec/libphp4.so into server:
/usr/local/apache/current/libexec/libphp4.so: undefined symbol:
png_get_error_ptr
./apachectl startssl: httpd could not be started
[root@router bin]#
httpd.conf:
-> line237 <IfDefine SSL>
-> line238 LoadModule ssl_module libexec/libssl.so
-> line239 LoadModule php4_module libexec/libphp4.so
-> line240 </IfDefine>
I'm using apache 1.3.26, php 4.2.1, openssl 0.9.6d, mod_ssl 2.8.10, gd
1.8.4,
freetype 1.3.1 ans zlib-1.1.4
If I only do a ./apachectl start (without ssl + php) everything works fine.
So it
must depend on the phpinstall i think. png_get_error_ptr sound like
somethink with
the libpng libs, but they are already installed.
[admin@router src]$ locate libpng
/usr/lib/libpng.so.2.1.0.12
/usr/lib/libpng.so.2
/usr/lib/libpng12.so.0
/usr/lib/libpng.so.3.1.2.3
/usr/lib/libpng12.so.0.1.2.3
/usr/lib/libpng.so
/usr/local/lib/libpng.so
[admin@router src]$
[admin@router src]$ rpm -aq | grep libpng
libpng-1.2.3-1
libpng-devel-1.0.12-2
libpng-1.0.12-2
[admin@router src]$
Any ideas ?
thank you,
Sebastian
--- End Message ---
--- Begin Message ---
The option to use is :
--with-apxs2=/path/to/apxs
B.
Le lun 24/06/2002 � 10:57, Dapid Candra a �crit :
> Hello,
>
> I am trying to install PHP 4.2.1 and Apache 2.0.39 and I want to configure
> PHP to run as mod_php.
>
> Is anyone have a step-by-step installation documentation on this? I tried
> ./configure PHP using --with-apache, but I received
> 'configure: error: --with-apache does not work with Apache 2.x!'
>
> Thanks.
>
> dC
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
METHOD is an atribute of FORM tag, you don't put it in ACTION attribute...
with ACTION you tell a browser where to send data and with METHOD how to
send them, so:
<form action="script.php" method="POST">
and not
<form action="METHOD=POST">
right?
----- Original Message -----
From: "Estermann Patrick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 25, 2002 1:38 AM
Subject: [PHP-INST] The requested URL /METHOD=POST was not found on this
server.
> Hi
>
> I've installed php (dll version) on my existing apache webserver.
Everything seems to work fine except this
> painful error message : "The requested URL /METHOD=POST was not found on
this server." When I use POST or GET
> Method. Does anyone have a slight idea what the mess causes this ***
error?
>
> best thanks
> peep
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
what is the value of $PHP_X ?
is it "METHOD=POST" ?
----- Original Message -----
From: "Patrick Estermann" <[EMAIL PROTECTED]>
To: "Denis Arh" <[EMAIL PROTECTED]>
Sent: Tuesday, June 25, 2002 3:07 PM
Subject: Re[2]: [PHP-INST] The requested URL /METHOD=POST was not found on
this server.
> That's exactly what I did: Expressions with correct syntax like
> <FORM ACTION=<?php echo($PHP_X); ?> METHOD=GET>....
> are not processed correctly.
> I think its a problemem of php configuration on my apache but
> any other php command works. I do not have any idea how to configure php
> or apache to avoid this "The requested URL /METHOD=POST was not found on
> this server." error messages.
>
>
> On Tue, 25 Jun 2002 13:38:11 +0200
> "Denis Arh" <[EMAIL PROTECTED]> wrote:
>
> > METHOD is an atribute of FORM tag, you don't put it in ACTION
attribute...
> >
> > with ACTION you tell a browser where to send data and with METHOD how to
> > send them, so:
> >
> > <form action="script.php" method="POST">
> >
> > and not
> >
> > <form action="METHOD=POST">
> >
> >
> > right?
> >
> >
> > ----- Original Message -----
> > From: "Estermann Patrick" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, June 25, 2002 1:38 AM
> > Subject: [PHP-INST] The requested URL /METHOD=POST was not found on this
> > server.
> >
> >
> > > Hi
> > >
> > > I've installed php (dll version) on my existing apache webserver.
> > Everything seems to work fine except this
> > > painful error message : "The requested URL /METHOD=POST was not found
on
> > this server." When I use POST or GET
> > > Method. Does anyone have a slight idea what the mess causes this ***
> > error?
> > >
> > > best thanks
> > > peep
> > >
> > >
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> <>
>
--- End Message ---
--- Begin Message ---
Hello,
it seems that the config flag 'safe_mode_include_dir' is not
working (at least not in 4.0.x). I didn't find a note which php
version does include that configuration flag. Since i can't
change the production environment from 4.0 to 4.2 or something,
i hope that configuration flag works in 4.0 too.
I've specified an additional include path, but when executing a
script which includes something out of that include path, the
safe mode restrictions do not allow that. I tried to use
'safe_mode_include_dir', but there is no difference... same
error message.
Anyone an idea?
Andy
--- End Message ---
--- Begin Message ---
I have redhat 7.2 and default apache.rpm. i compiled PHP4 no problem and
have libphp4.so in the modules section
here is the errorlog messages on loading apache
[Mon Jun 24 00:04:40 2002] [error] Cannot remove module mod_php4.c: not
found in module list
[Mon Jun 24 00:04:40 2002] [alert] httpd: Could not determine the server's
fully qualified domain name, using 127.0.0.1 for ServerName
[Mon Jun 24 00:04:40 2002] [crit] (98)Address already in use: make_sock:
could not bind to port 80
[Mon Jun 24 00:04:45 2002] [error] Cannot remove module mod_php4.c: not
found in module list
[Mon Jun 24 00:04:45 2002] [alert] httpd: Could not determine the server's
fully qualified domain name, using 127.0.0.1 for ServerName
[Mon Jun 24 00:04:45 2002] [crit] (98)Address already in use: make_sock:
could not bind to port 80
[Mon Jun 24 00:04:56 2002] [error] (13)Permission denied: exec of
/var/www/cgi-bin/phpinfo.php4 failed
[Mon Jun 24 00:04:56 2002] [error] [client 127.0.0.1] Premature end of
script headers: /var/www/cgi-bin/phpinfo.php4
mod_php4.c is in the source directory of apache and if i point the
httpd.conf to this directory I get a "not in list of loaded modules'
can any one help
thanks
peter richards
--- End Message ---