PHP

From CBLFS
Revision as of 13:50, 27 February 2007 by Mike (talk | contribs)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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

Install the package

make install &&


NOTE: NOT FINISHED YET! PLEASE WATCH OUT!

chown -v root:root /usr/lib/apache/httpd.exp \
    /usr/sbin/{apxs,apachectl,dbmmanage,envvars{,-std}} \
    /usr/share/man/man1/{dbmmanage,ht{dbm,digest,passwd}}.1 \
    /usr/share/man/man8/{ab,apachectl,apxs,htcacheclean,httpd}.8 \
    /usr/share/man/man8/{logresolve,rotatelogs,suexec}.8 &&
chown -Rv apache:apache /srv/www
Retrieved from "?title=PHP&oldid=7950"