Changeset 577eb27
- Timestamp:
- 12/22/2014 04:13:44 PM (9 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 78b797d
- Parents:
- 33ba445
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/php.xml
r33ba445 r577eb27 5 5 %general-entities; 6 6 7 <!ENTITY php-download-http "http:// us2.php.net/distributions/php-&php-version;.tar.xz">7 <!ENTITY php-download-http "http://www.php.net/distributions/php-&php-version;.tar.xz"> 8 8 <!ENTITY php-download-ftp "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.xz"> 9 <!ENTITY php-md5sum " 7635f344145a4edd7dff6ecec795aaea">9 <!ENTITY php-md5sum "bf824c5e5c7f49ca5f7350d72cba4881"> 10 10 <!ENTITY php-size "11 MB"> 11 <!ENTITY php-buildsize " 377MB (additional 1 MB to run the test suite and 102 MB for documentation)">12 <!ENTITY php-time " 4.1 SBU (additional 2.3SBU to run the test suite)">11 <!ENTITY php-buildsize "443 MB (additional 1 MB to run the test suite and 102 MB for documentation)"> 12 <!ENTITY php-time "3.7 SBU (additional 2.1 SBU to run the test suite)"> 13 13 ]> 14 14 … … 30 30 <title>Introduction to PHP</title> 31 31 32 <para><application>PHP</application> is the PHP Hypertext Preprocessor. 33 Primarily used in dynamic web sites, it allows for programming code to be 34 directly embedded into the HTML markup. It is also useful as a 35 general purpose scripting language.</para> 32 <para> 33 <application>PHP</application> is the PHP Hypertext Preprocessor. 34 Primarily used in dynamic web sites, it allows for programming code to be 35 directly embedded into the HTML markup. It is also useful as a 36 general purpose scripting language. 37 </para> 36 38 37 39 &lfs76_checked; … … 40 42 <itemizedlist spacing="compact"> 41 43 <listitem> 42 <para>Download (HTTP): <ulink url="&php-download-http;"/></para> 43 </listitem> 44 <listitem> 45 <para>Download (FTP): <ulink url="&php-download-ftp;"/></para> 46 </listitem> 47 <listitem> 48 <para>Download MD5 sum: &php-md5sum;</para> 49 </listitem> 50 <listitem> 51 <para>Download size: &php-size;</para> 52 </listitem> 53 <listitem> 54 <para>Estimated disk space required: &php-buildsize;</para> 55 </listitem> 56 <listitem> 57 <para>Estimated build time: &php-time;</para> 44 <para> 45 Download (HTTP): <ulink url="&php-download-http;"/> 46 </para> 47 </listitem> 48 <listitem> 49 <para> 50 Download (FTP): <ulink url="&php-download-ftp;"/> 51 </para> 52 </listitem> 53 <listitem> 54 <para> 55 Download MD5 sum: &php-md5sum; 56 </para> 57 </listitem> 58 <listitem> 59 <para> 60 Download size: &php-size; 61 </para> 62 </listitem> 63 <listitem> 64 <para> 65 Estimated disk space required: &php-buildsize; 66 </para> 67 </listitem> 68 <listitem> 69 <para> 70 Estimated build time: &php-time; 71 </para> 58 72 </listitem> 59 73 </itemizedlist> … … 62 76 <itemizedlist spacing="compact"> 63 77 <listitem> 64 <para>Pre-built documentation (optional): <ulink 65 url="http://www.php.net/download-docs.php"/></para> 78 <para> 79 Pre-built documentation (optional): <ulink 80 url="http://www.php.net/download-docs.php"/> 81 </para> 66 82 </listitem> 67 83 </itemizedlist> … … 76 92 77 93 <bridgehead renderas="sect4">Optional System Utilities and Libraries</bridgehead> 78 <para role="optional"><xref linkend="libxslt"/>, 79 <!-- <xref linkend="gamin"/>, --> 80 <xref linkend="pcre"/>, 81 <xref linkend="aspell"/>, 82 <xref linkend="enchant"/>, 83 <xref linkend="pth"/>, 84 an <xref linkend="server-mail"/> (that provides a 85 <command>sendmail</command> command) 86 <ulink url="http://www.ossp.org/pkg/lib/mm/">OSSP mm</ulink>, 87 <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>, 88 <ulink url="http://re2c.org/">re2c</ulink>, 89 <ulink url="http://xmlrpc-epi.sourceforge.net/main.php?t=php_about">XMLRPC-EPI</ulink>, and 90 <ulink url="http://dmalloc.com/">Dmalloc</ulink></para> 94 <para role="optional"> 95 <xref linkend="libxslt"/>, 96 <xref linkend="pcre"/>, 97 <xref linkend="aspell"/>, 98 <xref linkend="enchant"/>, 99 <xref linkend="pth"/>, 100 an <xref linkend="server-mail"/> (that provides a 101 <command>sendmail</command> command) 102 <ulink url="http://www.ossp.org/pkg/lib/mm/">OSSP mm</ulink>, 103 <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>, 104 <ulink url="http://re2c.org/">re2c</ulink>, 105 <ulink url="http://xmlrpc-epi.sourceforge.net/main.php?t=php_about">XMLRPC-EPI</ulink>, and 106 <ulink url="http://dmalloc.com/">Dmalloc</ulink> 107 </para> 91 108 92 109 <bridgehead renderas="sect4">Optional Graphics Utilities and Libraries</bridgehead> 93 <para role="optional"><xref linkend="libjpeg"/>, 94 <xref linkend="libtiff"/>, 95 <xref linkend="libpng"/>, 96 <xref linkend="libexif"/>, 97 <xref linkend="freetype2"/>, 98 <xref linkend="x-window-system"/>, 99 <ulink url="http://www.fastio.com/">ClibPDF</ulink>, 100 <ulink url="https://bitbucket.org/libgd/gd-libgd/downloads">GD</ulink>, 101 <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>, and 102 <ulink url="http://www.adobe.com/devnet/acrobat/fdftoolkit.html">FDF Toolkit</ulink></para> 110 <para role="optional"> 111 <xref linkend="libjpeg"/>, 112 <xref linkend="libtiff"/>, 113 <xref linkend="libpng"/>, 114 <xref linkend="libexif"/>, 115 <xref linkend="freetype2"/>, 116 <xref linkend="x-window-system"/>, 117 <ulink url="http://www.fastio.com/">ClibPDF</ulink>, 118 <ulink url="https://bitbucket.org/libgd/gd-libgd/downloads">GD</ulink>, 119 <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>, and 120 <ulink url="http://www.adobe.com/devnet/acrobat/fdftoolkit.html">FDF Toolkit</ulink> 121 </para> 103 122 104 123 <bridgehead renderas="sect4">Optional Web Utilities</bridgehead> 105 <para role="optional"><xref linkend="curl"/>, 106 <xref linkend="html-tidy"/>, 107 <ulink url="http://www.mnogosearch.org/">mnoGoSearch</ulink>, 108 <ulink url="http://www.hyperwave.com/">Hyperwave</ulink>, 109 <ulink url="http://www.roxen.com/products/webserver/">Roxen WebServer</ulink>, 110 <ulink url="http://sourceforge.net/projects/caudium/">Caudium</ulink>, and 111 <ulink url="https://wddxnet.codeplex.com/">WDDX</ulink></para> 124 <para role="optional"> 125 <xref linkend="curl"/>, 126 <xref linkend="html-tidy"/>, 127 <ulink url="http://www.mnogosearch.org/">mnoGoSearch</ulink>, 128 <ulink url="http://www.hyperwave.com/">Hyperwave</ulink>, 129 <ulink url="http://www.roxen.com/products/webserver/">Roxen WebServer</ulink>, 130 <ulink url="http://sourceforge.net/projects/caudium/">Caudium</ulink>, and 131 <ulink url="https://wddxnet.codeplex.com/">WDDX</ulink> 132 </para> 112 133 113 134 <bridgehead renderas="sect4">Optional Data Management Utilities and Libraries</bridgehead> 114 <para role="optional"><xref linkend="openldap"/>, 115 <!-- <xref linkend="gdbm"/>, --> 116 <xref linkend="db"/>, 117 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>, 118 <xref linkend="postgresql"/>, 119 <xref linkend="unixodbc"/>, 120 <xref linkend="sqlite"/>, 121 <ulink url="http://sourceforge.net/projects/qdbm">QDBM</ulink>, 122 <ulink url="http://cr.yp.to/cdb.html">cdb</ulink>, 123 <ulink url="http://www.hughes.com.au/products/msql/">Mini SQL</ulink>, 124 <ulink url="http://www.empress.com/">Empress</ulink>, 125 <ulink url="http://www.birdstep.com/">Birdstep</ulink>, 126 <ulink url="http://www.dbmaker.com/">DBMaker</ulink>, 127 <ulink url="http://www.softwareag.com/">Adabas</ulink>, 128 <ulink url="http://www.frontbase.com/">FrontBase</ulink>, and 129 <ulink url="http://www.mainstreetsoftworks.com/">Monetra</ulink></para> 130 131 <para><application>PHP</application> also provides support for many 132 commercial database tools such as <application>Oracle</application>, 133 <application>SAP</application> and 134 <application>ODBC Router</application>.</para> 135 <para role="optional"> 136 <xref linkend="openldap"/>, 137 <xref linkend="db"/>, 138 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>, 139 <xref linkend="postgresql"/>, 140 <xref linkend="unixodbc"/>, 141 <xref linkend="sqlite"/>, 142 <ulink url="http://sourceforge.net/projects/qdbm">QDBM</ulink>, 143 <ulink url="http://cr.yp.to/cdb.html">cdb</ulink>, 144 <ulink url="http://www.hughes.com.au/products/msql/">Mini SQL</ulink>, 145 <ulink url="http://www.empress.com/">Empress</ulink>, 146 <ulink url="http://www.birdstep.com/">Birdstep</ulink>, 147 <ulink url="http://www.dbmaker.com/">DBMaker</ulink>, 148 <ulink url="http://www.softwareag.com/">Adabas</ulink>, 149 <ulink url="http://www.frontbase.com/">FrontBase</ulink>, and 150 <ulink url="http://www.mainstreetsoftworks.com/">Monetra</ulink> 151 </para> 152 153 <para> 154 <application>PHP</application> also provides support for many 155 commercial database tools such as <application>Oracle</application>, 156 <application>SAP</application> and 157 <application>ODBC Router</application>. 158 </para> 135 159 136 160 <bridgehead renderas="sect4">Optional Security/Encryption Utilities and Libraries</bridgehead> 137 <para role="optional"><xref linkend="openssl"/>, 138 <xref linkend="cyrus-sasl"/>, 139 <xref linkend="mitkrb"/>, 140 <ulink url="http://mcrypt.sourceforge.net/">libmcrypt</ulink>, and 141 <ulink url="http://mhash.sourceforge.net/">mhash</ulink></para> 142 143 <para condition="html" role="usernotes">User Notes: 144 <ulink url="&blfs-wiki;/php"/></para> 161 <para role="optional"> 162 <xref linkend="openssl"/>, 163 <xref linkend="cyrus-sasl"/>, 164 <xref linkend="mitkrb"/>, 165 <ulink url="http://mcrypt.sourceforge.net/">libmcrypt</ulink>, and 166 <ulink url="http://mhash.sourceforge.net/">mhash</ulink> 167 </para> 168 169 <para condition="html" role="usernotes"> 170 User Notes: <ulink url="&blfs-wiki;/php"/> 171 </para> 145 172 146 173 </sect2> … … 149 176 <title>Installation of PHP</title> 150 177 151 <para>You can use <application>PHP</application> for server-side 152 scripting, command-line scripting or client-side GUI applications. This 153 book provides instructions for setting up <application>PHP</application> 154 for server-side scripting as it is the most common form.</para> 178 <para> 179 You can use <application>PHP</application> for server-side 180 scripting, command-line scripting or client-side GUI applications. This 181 book provides instructions for setting up <application>PHP</application> 182 for server-side scripting as it is the most common form. 183 </para> 155 184 156 185 <note> 157 <para><application>PHP</application> has many more 158 <command>configure</command> options that will enable support for various 159 things. You can use <command>./configure --help</command> to see a full 160 list of the available options. Also, use of the 161 <ulink url="http://www.php.net/">PHP web site</ulink> 162 is highly recommended, as their online docs are very good. An example of 163 a <command>configure</command> command that utilizes many of the most 164 common dependencies can be found at <ulink 165 url="&files-anduin;/php_configure.txt"/>. 166 </para> 167 168 <para>If, for whatever reason, you don't have <xref linkend="libxml2"/> 169 installed, you need to add <option>--disable-libxml</option> to the 170 <command>configure</command> command in the instructions below. Note that 171 this will prevent the <command>pear</command> command from being 172 built.</para> 186 <para> 187 <application>PHP</application> has many more 188 <command>configure</command> options that will enable support for 189 various things. You can use <command>./configure --help</command> to 190 see a full list of the available options. Also, use of the 191 <ulink url="http://www.php.net/">PHP web site</ulink> 192 is highly recommended, as their online docs are very good. An example 193 of a <command>configure</command> command that utilizes many of the 194 most common dependencies can be found at <ulink 195 url="&files-anduin;/php_configure.txt"/>. 196 </para> 197 198 <para> 199 If, for whatever reason, you don't have <xref linkend="libxml2"/> 200 installed, you need to add <option>--disable-libxml</option> to the 201 <command>configure</command> command in the instructions below. Note 202 that this will prevent the <command>pear</command> command from being 203 built. 204 </para> 173 205 </note> 174 206 175 <para>Install <application>PHP</application> by 176 running the following commands:</para> 207 <para> 208 Install <application>PHP</application> by running the following commands: 209 </para> 177 210 178 211 <screen><userinput>./configure --prefix=/usr \ … … 198 231 make</userinput></screen> 199 232 200 <para>To test the results, issue: <command>make test</command>. A few 201 tests may fail, in which case you are asked whether you want to send 202 the report to the PHP developpers. If you want to automate the test, 203 you may prefix the command with <command>yes "n" | </command>.</para> 204 205 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 233 <para> 234 To test the results, issue: <command>make test</command>. A few 235 tests may fail, in which case you are asked whether you want to send 236 the report to the PHP developpers. If you want to automate the test, 237 you may prefix the command with <command>yes "n" | </command>. 238 </para> 239 240 <para> 241 Now, as the <systemitem class="username">root</systemitem> user: 242 </para> 206 243 207 244 <!-- dev note: make INSTALL_ROOT=<DESTDIR> install --> … … 219 256 /usr/share/doc/php-&php-version;</userinput></screen> 220 257 221 <para>The pre-built HTML documentation is packaged in two forms: a tarball 222 containing many individual files, useful for quick loading into your 223 browser, and one large individual file, which is useful for using the 224 search utility of your browser. If you downloaded either, or both, of the 225 documentation files, issue the following commands as the 226 <systemitem class='username'>root</systemitem> user to install them (note 227 these instructions assume English docs, modify the tarball names below if 228 necessary).</para> 229 230 <para>For the <quote>Single HTML</quote> file:</para> 258 <para> 259 The pre-built HTML documentation is packaged in two forms: a tarball 260 containing many individual files, useful for quick loading into your 261 browser, and one large individual file, which is useful for using the 262 search utility of your browser. If you downloaded either, or both, of the 263 documentation files, issue the following commands as the 264 <systemitem class='username'>root</systemitem> user to install them (note 265 these instructions assume English docs, modify the tarball names below if 266 necessary). 267 </para> 268 269 <para> 270 For the <quote>Single HTML</quote> file: 271 </para> 231 272 232 273 <screen role="root"><userinput>install -v -m644 ../php_manual_en.html.gz \ … … 234 275 gunzip -v /usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></screen> 235 276 236 <para>For the <quote>Many HTML files</quote> tarball:</para> 277 <para> 278 For the <quote>Many HTML files</quote> tarball: 279 </para> 237 280 238 281 <screen role="root"><userinput>tar -xvf ../php_manual_en.tar.gz \ … … 242 285 243 286 <sect2 role="commands"> 244 <title>Command Explanations</title> 245 246 <para><parameter>--with-datadir=/usr/share/php</parameter>: This works 247 around a bug in the build machinery, which installs some data to a 248 wrong location.</para> 249 250 <para><parameter>--enable-fpm</parameter>: This parameter allows 251 building the fastCGI Process Manager.</para> 252 253 <para><parameter>--with-config-file-path=/etc</parameter>: This parameter 254 makes <application>PHP</application> look for the 255 <filename>php.ini</filename> configuration file in 256 <filename class='directory'>/etc</filename>.</para> 257 258 <para><parameter>--with-zlib</parameter>: This parameter adds 259 support for <application>Zlib</application> compression.</para> 260 261 <para><parameter>--enable-bcmath</parameter>: Enables 262 <command>bc</command> style precision math functions.</para> 263 264 <para><parameter>--with-bz2</parameter>: Adds support for 265 <application>Bzip2</application> compression functions.</para> 266 267 <para><parameter>--enable-calendar</parameter>: This parameter 268 provides support for calendar conversion.</para> 269 270 <para><parameter>--enable-dba=shared</parameter>: This parameter enables 271 support for database (dbm-style) abstraction layer functions.</para> 272 273 <para><parameter>--enable-ftp</parameter>: This parameter 274 enables FTP functions.</para> 275 276 <para><parameter>--with-gettext</parameter>: Enables functions 277 that use <application>Gettext</application> text translation.</para> 278 279 <para><parameter>--enable-mbstring</parameter>: This parameter 280 enables multibyte string support.</para> 281 282 <para><parameter>--with-readline</parameter>: This parameter 283 enables command line <application>Readline</application> support.</para> 284 285 <para><option>--with-mysql</option>: This option 286 includes <application>MariaDB/MySQL</application> support.</para> 287 288 <para><option>--disable-libxml</option>: This option 289 allows building PHP without <application>libxml2</application> 290 installed.</para> 291 292 <para><option>--with-apxs2</option>: Instead of building the fastCGI process 293 manager, it is possible to build an <application>apache</application> module. 294 This has some performance penalty for heavy loaded servers, but may be easier 295 to set up. This switch is incompatible with the 296 <parameter>--enable-fpm</parameter> and <parameter>--with-fpm-...</parameter> 297 switches.</para> 287 <title>Command Explanations</title> 288 289 <para> 290 <parameter>--with-datadir=/usr/share/php</parameter>: This works 291 around a bug in the build machinery, which installs some data to a 292 wrong location. 293 </para> 294 295 <para> 296 <parameter>--enable-fpm</parameter>: This parameter allows 297 building the fastCGI Process Manager. 298 </para> 299 300 <para> 301 <parameter>--with-config-file-path=/etc</parameter>: This parameter 302 makes <application>PHP</application> look for the 303 <filename>php.ini</filename> configuration file in 304 <filename class='directory'>/etc</filename>. 305 </para> 306 307 <para> 308 <parameter>--with-zlib</parameter>: This parameter adds 309 support for <application>Zlib</application> compression. 310 </para> 311 312 <para> 313 <parameter>--enable-bcmath</parameter>: Enables 314 <command>bc</command> style precision math functions. 315 </para> 316 317 <para> 318 <parameter>--with-bz2</parameter>: Adds support for 319 <application>Bzip2</application> compression functions. 320 </para> 321 322 <para> 323 <parameter>--enable-calendar</parameter>: This parameter 324 provides support for calendar conversion. 325 </para> 326 327 <para> 328 <parameter>--enable-dba=shared</parameter>: This parameter enables 329 support for database (dbm-style) abstraction layer functions. 330 </para> 331 332 <para> 333 <parameter>--enable-ftp</parameter>: This parameter 334 enables FTP functions. 335 </para> 336 337 <para> 338 <parameter>--with-gettext</parameter>: Enables functions 339 that use <application>Gettext</application> text translation. 340 </para> 341 342 <para> 343 <parameter>--enable-mbstring</parameter>: This parameter 344 enables multibyte string support. 345 </para> 346 347 <para> 348 <parameter>--with-readline</parameter>: This parameter 349 enables command line <application>Readline</application> support. 350 </para> 351 352 <para> 353 <option>--with-mysql</option>: This option 354 includes <application>MariaDB/MySQL</application> support. 355 </para> 356 357 <para> 358 <option>--disable-libxml</option>: This option 359 allows building PHP without <application>libxml2</application> 360 installed. 361 </para> 362 363 <para> 364 <option>--with-apxs2</option>: Instead of building the fastCGI process 365 manager, it is possible to build an <application>apache</application> 366 module. This has some performance penalty for heavy loaded servers, 367 but may be easier to set up. This switch is incompatible with the 368 <parameter>--enable-fpm</parameter> and 369 <parameter>--with-fpm-...</parameter> switches. 370 </para> 298 371 299 372 </sect2> … … 305 378 <title>Config Files</title> 306 379 307 <para><filename>/etc/php.ini</filename>, 308 <filename>/etc/pear.conf</filename> and 309 <filename>/etc/php-fpm.conf</filename></para> 380 <para> 381 <filename>/etc/php.ini</filename>, 382 <filename>/etc/pear.conf</filename>, and 383 <filename>/etc/php-fpm.conf</filename> 384 </para> 310 385 311 386 <indexterm zone="php php-config"> … … 326 401 <title>Configuration Information</title> 327 402 328 <para>The file used as the default <filename>/etc/php.ini</filename> 329 configuration file is recommended by the <application>PHP</application> 330 development team. This file modifies the default behavior of 331 <application>PHP</application>. If no <filename>/etc/php.ini</filename> 332 is used, all configuration settings fall to the defaults. You should 333 review the comments in this file and ensure the changes are acceptable 334 in your particular environment.</para> 335 336 <para>You may have noticed the following from the output of the 337 <command>make install</command> command:</para> 403 <para> 404 The file used as the default <filename>/etc/php.ini</filename> 405 configuration file is recommended by the <application>PHP</application> 406 development team. This file modifies the default behavior of 407 <application>PHP</application>. If no <filename>/etc/php.ini</filename> 408 is used, all configuration settings fall to the defaults. You should 409 review the comments in this file and ensure the changes are acceptable 410 in your particular environment. 411 </para> 412 413 <para> 414 You may have noticed the following from the output of the 415 <command>make install</command> command: 416 </para> 338 417 339 418 <screen><computeroutput>You may want to add: /usr/lib/php to your php.ini include_path</computeroutput></screen> 340 419 341 <para>If desired, add the entry using the following command as the 342 <systemitem class="username">root</systemitem> user:</para> 420 <para> 421 If desired, add the entry using the following command as the 422 <systemitem class="username">root</systemitem> user: 423 </para> 343 424 344 425 <screen role="root"><userinput>sed -i 's@php/includes"@&\ninclude_path = ".:/usr/lib/php"@' \ 345 426 /etc/php.ini</userinput></screen> 346 427 347 <para>To enable fastCGI support in the <application>Apache</application> 348 web server, two LoadModule directives must be added to the 349 <filename>httpd.conf</filename> file. They are commented out, so just issue the 350 following command as <systemitem class="username">root</systemitem> user:</para> 428 <para> 429 To enable fastCGI support in the <application>Apache</application> 430 web server, two LoadModule directives must be added to the 431 <filename>httpd.conf</filename> file. They are commented out, so just 432 issue the following command as 433 <systemitem class="username">root</systemitem> user: 434 </para> 351 435 352 436 <screen role="root"><userinput>sed -i -e '/proxy_module/s/^#//' \ … … 354 438 /etc/httpd/httpd.conf</userinput></screen> 355 439 356 <para>Those modules accept various <command>ProxyPass</command> 357 directives. One possibility is (as the 358 <systemitem class="username">root</systemitem> user):</para> 440 <para> 441 Those modules accept various <command>ProxyPass</command> 442 directives. One possibility is (as the 443 <systemitem class="username">root</systemitem> user): 444 </para> 359 445 360 446 <screen role="root"><userinput>echo \ … … 362 448 /etc/httpd/httpd.conf</userinput></screen> 363 449 364 <para>Additionally, it may be useful to add an entry for 365 <filename>index.php</filename> to the DirectoryIndex directive of the 366 <filename>httpd.conf</filename> file. Lastly, adding a line to setup the 367 <filename class='extension'>.phps</filename> extension to show 368 highlighted <application>PHP</application> source may be 369 desirable:</para> 450 <para> 451 Additionally, it may be useful to add an entry for 452 <filename>index.php</filename> to the DirectoryIndex directive of the 453 <filename>httpd.conf</filename> file. Lastly, adding a line to setup the 454 <filename class='extension'>.phps</filename> extension to show 455 highlighted <application>PHP</application> source may be 456 desirable: 457 </para> 370 458 371 459 <screen><literal>AddType application/x-httpd-php-source .phps</literal></screen> 372 460 373 <para>You'll need to restart the <application>Apache</application> web server 374 after making any modifications to the <filename>httpd.conf</filename> 375 file.</para> 461 <para> 462 You'll need to restart the <application>Apache</application> web server 463 after making any modifications to the <filename>httpd.conf</filename> 464 file. 465 </para> 376 466 377 467 </sect3> … … 423 513 <term><command>php</command></term> 424 514 <listitem> 425 <para>is a command line interface that enables you to parse and 426 execute PHP code.</para> 515 <para> 516 is a command line interface that enables you to parse and 517 execute PHP code. 518 </para> 427 519 <indexterm zone="php php-prog"> 428 520 <primary sortas="b-php">php</primary> … … 434 526 <term><command>pear</command></term> 435 527 <listitem> 436 <para>is the PHP Extension and Application 437 Repository (PEAR) package manager.</para> 528 <para> 529 is the PHP Extension and Application Repository (PEAR) package 530 manager. 531 </para> 438 532 <indexterm zone="php pear"> 439 533 <primary sortas="b-pear">pear</primary> … … 445 539 <term><command>php-fpm</command></term> 446 540 <listitem> 447 <para>is the fastCGI process manager for PHP.</para> 541 <para> 542 is the fastCGI process manager for PHP. 543 </para> 448 544 <indexterm zone="php php-fpm"> 449 545 <primary sortas="b-php-fpm">php-fpm</primary> -
introduction/welcome/changelog.xml
r33ba445 r577eb27 49 49 <itemizedlist> 50 50 <listitem> 51 <para>[pierre] - Update to php-5.6.4. Fixes 52 <ulink url="&blfs-ticket-root;5963">#5963</ulink>.</para> 53 </listitem> 54 <listitem> 51 55 <para>[igor] - Update to xorg-server-1.16.3. Fixes 52 56 <ulink url="&blfs-ticket-root;5974">#5974</ulink>.</para> -
packages.ent
r33ba445 r577eb27 266 266 <!ENTITY nasm-version "2.11.06"> 267 267 <!ENTITY npapi-sdk-version "0.27.2"> 268 <!ENTITY php-version "5.6. 3">268 <!ENTITY php-version "5.6.4"> 269 269 <!ENTITY python2-version "2.7.9"> 270 270 <!ENTITY python3-version "3.4.2">
Note:
See TracChangeset
for help on using the changeset viewer.