mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-10 04:54:44 +08:00
26 lines
1.1 KiB
XML
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 &&
|
||
|
make &&
|
||
|
make install &&
|
||
|
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>
|