glfs/content/web/php/php-inst.xml
Igor Živković 6683a006b2 added PHP submitted by Jeremy
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1193 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-09-25 21:00:10 +00:00

26 lines
1.1 KiB
XML

<sect2>
<title>Installation of <application><acronym>PHP</acronym></application></title>
<para>Install <application><acronym>PHP</acronym></application> by
running the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr --with-apxs2=/usr/sbin/apxs \
--with-config-file-path=/etc --with-openssl=/usr \
--with-zlib=/usr --enable-bcmath --with-bz2=/usr \
--with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr \
--enable-gd-native-ttf --with-db4 --with-png-dir=/usr \
--with-freetype-dir=/usr --with-gettext --with-mysql=/usr \
--with-ncurses --sysconfdir=/etc &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
cp php.ini-dist /etc/php.ini</command></userinput></screen>
<note><para><acronym>PHP</acronym> has many more configure options that
will enable support for certain things. You can use
<command>./configure --help</command> to see a full list of the
available options. Also, use of the
<ulink url="http://www.php.net/"><acronym>PHP</acronym> web site</ulink>
is highly recommended, as their online docs are very good.</para></note>
</sect2>