#4844: Build PHP without zts
-----------------------------+------------------------------
 Reporter:  pierre.labastie  |       Owner:  pierre.labastie
     Type:  defect           |      Status:  assigned
 Priority:  normal           |   Milestone:  7.6
Component:  BOOK             |     Version:  SVN
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by pierre.labastie):

 Here are the commands I use if someone wants to reproduce. DESTDIR install
 actually use INSTALL_ROOT:
 {{{
 cd /sources/php
 # the tarball is already present
 tar -xvf php-5.5.10.tar.bz2
 cd php-5.5.10
 sed -i -e 's/2.6.5 2.7/& 3.0/' configure
 ./configure --prefix=/usr                \
             --sysconfdir=/etc            \
             --mandir=/usr/share/man      \
             --enable-fpm                 \
             --with-fpm-user=apache       \
             --with-fpm-group=apache      \
             --localstatedir=/var/run     \
             --with-config-file-path=/etc \
             --with-zlib                  \
             --enable-bcmath              \
             --with-bz2                   \
             --enable-calendar            \
             --enable-dba=shared          \
             --with-gdbm                  \
             --with-gmp                   \
             --enable-ftp                 \
             --with-gettext               \
             --enable-mbstring            \
             --with-readline
 make -j5
 make INSTALL_ROOT=/sources/php/dest install

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4844#comment:5>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to