PHP: Difference between revisions

From CBLFS
Jump to navigationJump to search
Zlib is assumed to be installed from the base system.
No edit summary
Line 1: Line 1:
{| style="text-align: left; background-color: AliceBlue;"
{| style="text-align: left; background-color: AliceBlue;"
|-
|-
Download Source: http://de.php.net/get/php-4.4.5.tar.bz2/from/a/mirror
!Download Source:
|
| http://www.php.net/get/php-5.2.1.tar.bz2/from/this/mirror
Download Source: http://de.php.net/get/php-5.2.1.tar.bz2/from/a/mirror
|
|}
|}


Line 11: Line 9:
== Introductin to PHP ==
== Introductin to PHP ==


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
 
PHP has MANY options that can be used. please refer to the ./configure --help  script and see whats possible.
 


== Warning: ==
== Warning: ==
Line 36: Line 31:
== Configuration Information ==
== Configuration Information ==


See '''./configure --help''' for more configuration options.
See the output of '''./configure --help''' for more configuration options.
 
----


== Non-Multilib ==
== Non-Multilib ==
Line 44: Line 37:
Compile the package:
Compile the package:


  ./configure --prefix=/usr --sysconfdir=/etc/php --libdir=/usr/lib --localstatedir=/var --with-apxs2=/usr/sbin/apxs --with-mysql &&
  ./configure --prefix=/usr --sysconfdir=/etc/php \
  make && make install
    --libdir=/usr/lib --localstatedir=/var \
    --with-apxs2=/usr/sbin/apxs --with-mysql &&
  make
 
Install the package:


make install


NOTE: NOT FINISHED YET! PLEASE WATCH OUT!
NOTE: NOT FINISHED YET! PLEASE WATCH OUT!

Revision as of 16:10, 27 February 2007

Download Source: http://www.php.net/get/php-5.2.1.tar.bz2/from/this/mirror

Introductin to PHP

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Warning:

The PHP Developer team means:

"We do not recommend using a threaded MPM in production with Apache2. Use the prefork MPM instead, or use Apache1. For information on why, read the related FAQ entry on using Apache2 with a threaded MPM"[1]"

Dependencies

Required

Optional

Configuration Information

See the output of ./configure --help for more configuration options.

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc/php \
    --libdir=/usr/lib --localstatedir=/var \
    --with-apxs2=/usr/sbin/apxs --with-mysql &&
make

Install the package:

make install

NOTE: NOT FINISHED YET! PLEASE WATCH OUT!

Retrieved from "?title=PHP&oldid=7970"