Changeset 4a93a3c for content/web
- Timestamp:
- 07/30/2004 11:43:58 PM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 71fc777d
- Parents:
- 7d4fb1d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/web/php.xml
r7d4fb1d r4a93a3c 7 7 <!ENTITY php-download-http "http://us2.php.net/distributions/php-&php-version;.tar.bz2"> 8 8 <!ENTITY php-download-ftp "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.bz2"> 9 <!ENTITY php-size " 3.8MB">10 <!ENTITY php-buildsize " 57MB">11 <!ENTITY php-time " 0.90SBU">9 <!ENTITY php-size "4.4 MB"> 10 <!ENTITY php-buildsize "101 MB"> 11 <!ENTITY php-time "1.42 SBU"> 12 12 ]> 13 13 … … 36 36 <sect4><title>Required</title> 37 37 <para> 38 <xref linkend="apache"/> and 39 <xref linkend="mysql"/> 38 <xref linkend="apache"/> 40 39 </para></sect4> 41 40 <sect4><title>Optional</title> 42 41 <para> 42 <xref linkend="libxml2"/>, 43 <xref linkend="libxslt"/>, 43 44 <xref linkend="openssl"/>, 44 45 <xref linkend="bc"/>, 46 <ulink url="http://www.fastio.com/">ClibPDF</ulink>, 47 <xref linkend="libjpeg"/>, 48 <xref linkend="libtiff"/>, 45 49 <xref linkend="curl"/>, 50 <ulink url="http://qdbm.sourceforge.net/">QDBM</ulink>, 51 <xref linkend="gdbm"/>, 46 52 <xref linkend="db"/>, 47 <xref linkend="libjpeg"/>, 53 <xref linkend="fam"/>, 54 <ulink url="http://www.boutell.com/gd/">GD</ulink>, 48 55 <xref linkend="libpng"/>, 56 X (<xref linkend="xorg"/> or <xref linkend="xfree86"/>), 49 57 <xref linkend="freetype2"/>, 50 <xref linkend="gdbm"/>, 51 <ulink url="../server/mail.html">MTA</ulink>, 58 <ulink url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">t1lib</ulink>, 59 <xref linkend="gmp"/> 60 <xref linkend="mysql"/>, 52 61 <xref linkend="pcre"/>, 53 62 <xref linkend="postgresql"/>, 54 <xref linkend="libtiff"/>, 63 <xref linkend="openldap"/>, 64 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>, 65 <ulink url="http://mcrypt.hellug.gr/">libmcrypt</ulink>, 66 <ulink url="http://mhash.sourceforge.net/">mhash</ulink>, 55 67 <xref linkend="expat"/> and 56 < xref linkend="gmp"/>68 <ulink url="../server/mail.html">MTA</ulink> 57 69 </para></sect4> 58 70 </sect3> … … 63 75 <title>Installation of <application><acronym>PHP</acronym></application></title> 64 76 77 <note><para>You can use <application><acronym>PHP</acronym></application> 78 for server-side scripting, command line scripting or client-side 79 <acronym>GUI</acronym> applications. The book provides instructions for 80 setting up <application><acronym>PHP</acronym></application> for 81 server-side scripting as it is the most common form.</para></note> 82 65 83 <para>Install <application><acronym>PHP</acronym></application> by 66 84 running the following commands:</para> 67 85 68 <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \ 69 --with-apxs2 --with-config-file-path=/etc \ 70 --with-zlib --with-bz2 --enable-ftp --with-gettext \ 71 --with-iconv --with-mysql=/usr --with-ncurses && 86 <screen><userinput><command>./configure --prefix=/usr \ 87 --sysconfdir=/etc \ 88 --with-apxs2 \ 89 --with-config-file-path=/etc \ 90 --with-zlib \ 91 --with-bz2 \ 92 --enable-ftp \ 93 --with-gettext \ 94 --with-iconv \ 95 --with-ncurses && 72 96 make && 73 97 make install && … … 95 119 <para>To enable <acronym>PHP</acronym> support in the 96 120 <application>Apache</application> web server, 97 a new AddType directive must be added to the 121 a new LoadModule (this one should be handled automatically by the 122 <command>make install</command> command) and AddType directives must be added to the 98 123 <filename>httpd.conf</filename> file:</para> 99 124 100 <screen><userinput>AddType application/x-httpd-php .php</userinput></screen> 125 <screen><userinput>LoadModule php5_module lib/apache/libphp5.so 126 AddType application/x-httpd-php .php</userinput></screen> 101 127 102 128 <para>Also, it can be useful to add an entry for index.php to the
Note:
See TracChangeset
for help on using the changeset viewer.