php-install Digest 17 Jul 2003 07:39:12 -0000 Issue 1464

Topics (messages 11289 through 11290):

[PHP5/Apache 2] Unable to stop apache
        11289 by: Jasper

PHP binary too big
        11290 by: Bhavin Modi

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,

Got PHP5 beta1 and Apache 2.0.47 on a Gentoo Linux box. Apache was installed
through emerge,
PHP5 was compiled manually
with --prefix=/usr/local/php5 --with-apxs2=/usr/sbin/apxs2.

Everything works fine, except when I want to stop or restart the Apache
server, one process (the one
that runs as root) keeps running (the other processes terminate
successfully), and consumes 100% cpu.

There is nothing in the apache access or error logs. This <only> happens
when I enable PHP, standalone
Apache stops and restarts correctly.

I've also tried the latest CVS snapshot, but to no avail.

Any ideas ?

Thanks !






--- End Message ---
--- Begin Message ---
I compiled php 4.3 with apache2 and found out that the binary (libphp4.so)
was almost 7.5MB. Then figured out that I had compiled in a few
modules(gd,openssl,domxml,bz2,iconv,curl) so I recompiled PHP to make all
the modules shared and still the libphp4.so is almost 6.5MB. I dont
understand why is the binary so fat even with all the modules shared. I
compiled on a Redhat 8.0 system.

Here is my configure command
./configure \
--with-apxs2=/usr/sbin/apxs \
--host=i686-pc-linux-gnu \
--build=i686-pc-linux-gnu \
--target=i686-redhat-linux-gnu \
--prefix=/usr \
--with-layout=GNU \
--with-config-file-path=/etc \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2=shared \
--with-db3=shared \
--with-curl=shared \
--with-dom=shared,/usr \
--with-exec-dir=/usr/bin \
--with-freetype-dir=/usr \
--with-png-dir=/usr \
--with-gd=shared \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-iconv=shared \
--with-jpeg-dir=/usr \
--with-openssl=shared \
--with-png \
--with-regex=system \
--with-xml=shared \
--with-expat-dir=/usr \
--with-zlib=shared \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mysql=shared,/usr \
--with-mssql=shared,/usr \
--with-mhash=shared,/usr \
--with-mcrypt=shared,/usr/local \
--enable-ucd-snmp-hack \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-versioning \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 7/14/2003



--- End Message ---

Reply via email to