php-install Digest 8 Jul 2003 22:15:06 -0000 Issue 1454
Topics (messages 11250 through 11257):
Apache 2 Segfault with PHP on any signal
11250 by: Nicolas
Re: php5 on IIS6 (CGI Error)
11251 by: dooleys
How php handles file endings
11252 by: dooleys
11257 by: Chris Hewitt
apache 2 supported ?
11253 by: Daniel Wittenberg
11255 by: Stephen
Re: upgrade php
11254 by: Jürgen Richter
PHP 4.3.1 & Interbase/Firebird
11256 by: Jeff Patterson
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 ---
I got segfault on apache when php installed.
Apache 2.0.46 + PHP 4.3.3-RC1 + RH9 + Linux 2.4.21
My apache server segfault each time it receive a signal (SIGUSR1 or SIGHUP or
example).
Therefore, apache core at log rotation.
I got in error log :
"[notice] seg fault or similar nasty error detected in the parent process"
If a remove the line
"LoadModule php4_module modules/libphp4.so"
from my httpd.conf, apache DON'T core any more.
More, if I use the standard Redhat 9 kernel, every thing is Ok, but as soon as
I use my own kernel (2.4.20 or 2.4.21) the problem comes out.
My kernel works fine with any other applications or services.
I have the same problem
- with Apache 2.0.44, 2.0.45 or 2.0.46
- with PHP 4.3.1, 4.3.2, 4.3.3-RC1 or CVS-STABLE,
- with a custom 2.4.20 or 2.4.21 kernel (but not with standard RH9 kernel
!!!).
strace doesn't give any revelant information.
I have done lot of search, read apache and PHP mailing list and bugs report.
I found some people with the exactly the same problem but none got solutions!
Is there any incompatibility beetween some compilation of Linux kernel and PHP
?
Thanks for _any_ help
Nicolas
PS :
my php configuration :
./configure --with-mysql --with-ldap --with-gettext --enable-force-cgi-redirec
t --with-apxs2=/path_to_apache2/bin/apxs --enable-track-vars --with-config-fil
e-path=/etc
my apache 2 conf
./configure --prefix=/tmp/apache2 --libdir=/lib --with-mpm=prefork \
--disable-v4-mapped --enable-access --enable-auth --enable-auth-anon
--disable-auth-dbm --disable-auth-digest --disable-isapi --disable-file-cach
e
--disable-echo --disable-charset-lite --disable-cache --disable-disk-cache \
--disable-mem-cache --disable-example --disable-case-filter --disable-case-f
ilter-in \
--disable-ldap --disable-auth-ldap --disable-ext-filter --disable-include \
--enable-deflate --enable-log-config --enable-logio --disable-env \
--disable-mime-magic --disable-cern-meta --enable-expires --disable-headers
\
--disable-usertrack --disable-unique-id --enable-setenvif --enable-proxy \
--disable-proxy-connect --disable-proxy-ftp --enable-proxy-http --enable-ssl
\
--disable-optional-hook-export --disable-optional-hook-import \
--disable-optional-fn-import --disable-optional-fn-export \
--enable-bucketeer --enable-static-support --enable-static-htpasswd \
--enable-static-htdigest --enable-static-rotatelogs --enable-static-logresol
ve \
--enable-static-htdbm --enable-static-ab --enable-static-checkgid \
--enable-http --enable-mime --disable-dav --enable-status \
--disable-autoindex --disable-asis --enable-info --disable-suexec \
--enable-cgi --disable-cgid --disable-dav-fs --enable-vhost-alias \
--disable-negotiation --enable-dir --disable-imap --disable-actions \
--disable-speling --disable-userdir --enable-alias --enable-rewrite \
--enable-so
--- End Message ---
--- Begin Message ---
. Ma schrieb:
hi!
i'm running a test-server with windows 2003 and IIS6 i managed to get
PHP 4.3.2 running without any problems.
but i wanted to try php5 so i downloaded the zipped version renamed
c:\php to c:\php4 and extracted everything to c:\php
(so that the old php.exe is "replaced" by the new one)
for the old version everything worked fine - but now i get the following
error:
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers.
did somebody experience similar problems? is this only because its a
beta or is this a configuration-problem?
thx in advance, matthias
i've not too much to do with iis6 but have you tryed to send some
headerdata with header()
i think i'v heard something that the cgi version of php5 doesn't send
the default_mimetype, try to use the following on your script at the
beginning,
<?
header("Content-Type: text/HTML");
?>
--- End Message ---
--- Begin Message ---
Hi i've 2 apache servers with php thhe one is linux the other win2k
on the linux machine i have a file called article.php
and i can access it with localhost/article/4985 and i get the site so i
can handle everything that is after article with my php script, when i
try to do the same on win2k i get an 404 file not found, how can i
configure that i can acces the article.php file under win2k as
win2kserveradress/article/4985 on the win2k machine is there any apache
/php configuration failure ?
thanks for answers
--- End Message ---
--- Begin Message ---
dooleys wrote:
Hi i've 2 apache servers with php thhe one is linux the other win2k
on the linux machine i have a file called article.php
and i can access it with localhost/article/4985 and i get the site so
i can handle everything that is after article with my php script, when
i try to do the same on win2k i get an 404 file not found, how can i
configure that i can acces the article.php file under win2k as
win2kserveradress/article/4985 on the win2k machine is there any
apache /php configuration failure ?
Its the DirectoryIndex parameter under mod_dir.c in httpd.conf. Its an
apache not php thing.
Regards
Chris
--- End Message ---
--- Begin Message ---
I saw on the website long ago that php wasn't recommended for production
environments due to the threading in 2.0. The emails I found in the
archive suggested this would be fixed in 4.3.0, since we're almost at
4.3.3 is php safe yet to use with 2.0.46 yet ?
Thanks!
Dan
--
===========================
Daniel Wittenberg
Senior Unix Admin
University of Iowa - ITS
--- End Message ---
--- Begin Message ---
A number of people are using php 4.3 and Apache 2 successfully, but to my
knowledge it is still in the "beta" testing stages. Basically, it works
fairly well, but there may be unknown security risks. Use at your own risk.
Stephen
----- Original Message -----
From: "Daniel Wittenberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 4:10 PM
Subject: [PHP-INST] apache 2 supported ?
> I saw on the website long ago that php wasn't recommended for production
> environments due to the threading in 2.0. The emails I found in the
> archive suggested this would be fixed in 4.3.0, since we're almost at
> 4.3.3 is php safe yet to use with 2.0.46 yet ?
>
> Thanks!
> Dan
>
> --
> ===========================
> Daniel Wittenberg
> Senior Unix Admin
> University of Iowa - ITS
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hi
a simple solution is maybe to restart the webserver
also try the CLI:
host> php --version
or
host> whereis php
an further call php with absolute path like
host> usr/bin/php --version
<[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hi I have linux rh with apache+mysql+php the version of php is 4.2.3. I´ve
tried to upgrade to php 4.3.2 so I can use gd but I installed everything
ok but I run phpinfo() and it still has the older version, and I would like
to know how I can get to work the new version
Thank you.
Lino Avila
--- End Message ---
--- Begin Message ---
Hi All,
I have two Mandrake 9.1 machines with 4.3.1 installed. One is setup for
development and the other for testing. I downloaded and installed Firebird
Superserver 1.0.3 on both machines. On the development machine, I ran
Configure using --with-interbase=shared,/opt/interbase and ran make to
generate the interbase.so file. I moved the interbase.so file into
/usr/lib/php/extensions on both machines and created the file
11_interbase.php in the /etc/php directory on both machines.
On the development machine, Interbase shows up in the call to phpinfo(),
on the deployment machine it doesn't.
Any ideas on what else needs to be setup when installing the interbase.so
file on a machine that it's not compiled on ?
Thanks in advance.
--- End Message ---