#42059 [Opn->Fbk]: Since some days php 5.2.4-dev does not work on fedora
ID: 42059
Updated by: jani@php.net
Reported By: spam2 at rhsoft dot net
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Fedora 7
PHP Version: 5CVS-2007-07-21 (snap)
New Comment:
Try building with this configure line instead (and do not set any
cflags/etc):
# rm config.cache && ./configure --with-apxs2 --disable-all
--enable-debug
Previous Comments:
------------------------------------------------------------------------
[2007-07-21 13:17:05] spam2 at rhsoft dot net
Description:
------------
Since some days the snapshot-builds from source under fedora 7 does
produce a white page with HTTP-Status 500 and without any messages in
logfiles.
I have built it every second day and now it will not run, the cli semms
to work normal
If i use the 5.2.3-sources with the same build--script all works
perfect
Reproduce code:
---------------
export CFLAGS="-O3 -march=i686 -mcpu=i686 -mtune=i686 -mmmx -msse3
-fopenmp"
export CXX=gcc
export CXXFLAGS="-O3 -march=i686 -mcpu=i686 -mtune=i686 -mmmx -msse3
-fopenmp"
export PHP_PREFIX="/usr"
# In den Source-Folder wechseln
cd /data/development/src/php/
# Config-Cache falls vorhanden entfernen und aufräumen um Probleme zu
vermeiden
rm -f ./config.cache > /dev/null
make clean > /dev/null
# Configure-Optionen setzen
./configure \
--with-apxs2=/usr/sbin/apxs \
--with-pear=/usr/share/pear \
--build=i686-redhat-linux-gnu \
--host=i686-redhat-linux-gnu \
--target=i686-redhat-linux-gnu \
--prefix=$PHP_PREFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-debug \
--disable-rpath \
--disable-ipv6 \
--disable-dba \
--without-odbc \
--without-unixODBC \
--without-gdbm \
--enable-inline-optimization \
--enable-exif \
--enable-ftp \
--enable-sockets \
--enable-yp \
--enable-wddx \
--enable-memory-limit \
--enable-calendar \
--enable-mbstring \
--enable-soap \
--enable-bcmath \
--enable-gd-native-ttf \
--enable-zip \
--with-readline \
--with-libdir=lib \
--with-config-file-path=/etc \
--with-exec-dir=/usr/bin \
--with-freetype-dir=/usr \
--with-png-dir=/usr \
--with-jpeg-dir=/usr \
--with-expat-dir=/usr \
--with-pcre-regex=/usr \
--with-libxml-dir=/usr \
--with-mysql=/usr/local/mysql \
--with-mysql-sock=/var/lib/mysql \
--with-mysqli \
--with-curl \
--with-gettext \
--with-iconv \
--with-openssl \
--with-png \
--with-bz2 \
--with-zlib \
--with-layout=GNU \
--with-xml \
--with-xmlrpc \
--with-mssql \
--with-pgsql \
--with-pdo-mysql \
--with-pdo-pgsql \
--with-pdo-sqlite \
--with-tidy \
--with-mcrypt \
--with-mhash \
--with-gd \
--with-ttf \
--with-kerberos \
--with-ldap \
--with-imap \
--with-imap-ssl \
&& make \
&& strip .libs/libphp5.so \
&& strip sapi/cli/php \
&& sudo make install \
&& sudo /sbin/service httpd restart
# Aufräumen
make clean > /dev/null
rm -f ./config.cache > /dev/null
Expected result:
----------------
a running apache-module
Actual result:
--------------
a white page
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42059&edit=1
Thread (6 messages)