From:             [EMAIL PROTECTED]
Operating system: Linux RedHat8.0
PHP version:      4CVS-2002-11-14
PHP Bug Type:     PHP options/info functions
Bug description:  PHP and Zend Logos are missing in the output of phpinfo()

Hi all the php developers, I built succesfully RPMS for Linux RedHat 8.0,
httpd-2.0.40 and a lot of extensions of php-4.4.0-dev, when I call the
phpinfo() function to se the information page the PHP image Logo, and the
Zend image Logo is missing(any ideas why)..., well if is usefull here is
my configure...

# Add the Kerberos library path to the default LDFLAGS so that the IMAP
checks
# will be able to find the GSSAPI libraries.
# Just uncoment this if you plan to use IMAP with kerberos support.
LDFLAGS="-L/usr/kerberos/lib"; export LDFLAGS


# Configure may or may not catch these (mostly second-order)
dependencies.
#
LIBS="-lttf -lfreetype -lpng -ljpeg -lz -lnsl"; export LIBS


# This causes the shared extension modules to be installed into
%{_libdir}/php4.
#
EXTENSION_DIR=%{_libdir}/php4; export EXTENSION_DIR


# This pulls the static /usr/lib/libc-client.a into the IMAP extension
module.
#
IMAP_SHARED_LIBADD=-lc-client ; export IMAP_SHARED_LIBADD


# Regenerate configure scripts (patches change config.m4's)
#
./buildconf


# Shell function to configure and build a PHP tree.
#
build() {
ln -sf ../configure
%configure \
        --prefix=%{_prefix} \
        --with-config-file-path=%{_sysconfdir} \
        --enable-force-cgi-redirect \
        --disable-debug \
        --enable-pic \
        --disable-rpath \
        --enable-inline-optimization \
        --with-bz2 \
        --with-db3 \
        --with-curl \
        --with-dom=%{_prefix} \
        --with-exec-dir=%{_bindir} \
        --with-freetype-dir=%{_prefix} \
        --with-png-dir=%{_prefix} \
        --with-gd \
        --enable-gd-native-ttf \
        --with-ttf \
        --with-gdbm \
        --with-gettext \
        --with-pdflib=shared \
        --with-tiff-dir=%{_prefix} \
        --with-ncurses \
        --with-gmp \
        --with-iconv \
        --enable-xslt=shared \
        --with-jpeg-dir=%{_prefix} \
        --with-openssl \
        --with-png \
        --with-pspell \
        --with-regex=system \
        --with-xml \
        --with-expat-dir=%{_prefix} \
        --with-zlib \
        --with-layout=GNU \
        --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-yp \
        --enable-wddx \
        --without-oci8 \
        --with-pear=/usr/share/pear \
        --with-imap=shared \
        --with-imap-ssl \
        --with-kerberos=/usr/kerberos \
        --with-ldap=shared \
        --with-mcal=shared,%{_prefix} \
        --with-mcrypt=shared,%{_prefix} \
        --with-mhash=shared,%{_prefix} \
        --with-mysql=shared,%{_prefix} \
%if %{oracle}
        --with-oci8=shared \
%endif
        --with-pgsql=shared \
        --with-snmp=shared,%{_prefix} \
        --with-snmp=shared \
        --with-sybase-ct=shared,%{_prefix} \
        --with-xslt-sablot=shared,%{_prefix} \
        --with-sablot-js=shared,%{_prefix} \
        --enable-ucd-snmp-hack \
        --with-unixODBC=shared \
        --enable-memory-limit \
        --enable-bcmath \
        --enable-shmop \
        --enable-versioning \
        --enable-calendar \
        --enable-dbx \
        --enable-dio \
        --enable-mcal \
        $*

make
}


# First, build a CGI tree. Remember that nice handy build() { ... }
above?
#
pushd build-cgi
build \
        --enable-force-cgi-redirect
popd


# Second, build an Apache tree.
#
pushd build-apache


# Add the buildroot location to the front of the libexecdir.
# Again use the build() call
#
build \
        --with-apxs2=%{_sbindir}/apxs
popd


%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT


# First, install the CGI tree.
#
pushd build-cgi
make install INSTALL_ROOT=$RPM_BUILD_ROOT 
popd


# Second, install the Apache tree.  Note that this overwrites the modules
which
# were installed as part of the CGI build.  Lucky for us they're
compatible.
#
pushd build-apache
make install INSTALL_ROOT=$RPM_BUILD_ROOT INSTALL_IT="echo "
popd


# Install the default configuration file and some icons which can be used
to
# indicate that this site uses PHP.
#
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
install -m 644    php.ini-dist $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/


# Gurrrr @!!$#? apxs/buildroot mess
#
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/httpd/modules
install -m 755 build-apache/libs/libphp4.so
$RPM_BUILD_ROOT/usr/lib/httpd/modules


# Install the httpd configuration file
#
install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d
                                     Bye Aliet
-- 
Edit bug report at http://bugs.php.net/?id=20436&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20436&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20436&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20436&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20436&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20436&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20436&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20436&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20436&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20436&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20436&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20436&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20436&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20436&r=isapi

Reply via email to