Difference between revisions of "PHP"

From CBLFS
Jump to navigationJump to search
Line 47: Line 47:
 
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 --libdir=/usr/lib --localstatedir=/var --with-apxs2=/usr/sbin/apxs --with-mysql &&
 
  make && make install
 
  make && make install
  
  
 
NOTE: NOT FINISHED YET! PLEASE WATCH OUT!
 
NOTE: NOT FINISHED YET! PLEASE WATCH OUT!

Revision as of 13:53, 27 February 2007

Download Source: http://de.php.net/get/php-4.4.5.tar.bz2/from/a/mirror

Download Source: http://de.php.net/get/php-5.2.1.tar.bz2/from/a/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.

PHP has MANY options that can be used. please refer to the ./configure --help script and see whats possible.


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 ./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 && make install


NOTE: NOT FINISHED YET! PLEASE WATCH OUT!