Tiny Core Extensions > TCE 2.x

php5

<< < (2/2)

Jason W:
Thanks to robc for an update:


--- Code: ---Title:          php5.tczl
Description:    PHP Server (TESTING)
Version:        5.3.0
Author:         various (http://www.php.net/credits.php)
Original-site:  http://www.php.net/
Copying-policy: PHP Liscense v3.01 (http://www.php.net/license/3_01.txt)
Size: 3.3M
Extension_by:   robc
Comments: This package requires libmcrypt, libxml2,
libxslt, pcre, and apache2

7176/7230 tests passed, 99.3% pass rate.

The php.ini configuration file is found in
/usr/local/lib. This file can be editted to
change the options for the PHP server.

A modified httpd.conf file is also included in
/usr/local/conf/httpd.conf.php. This file can
be editted to change the options for the
PHP/HTTP server. The original httpd.conf file
that is supplied with the apache2 extension is
found at /usr/local/conf/httpd.conf.bak.

Uncomment the following lines in the httpd.conf
file so the httpd server can use php scripts:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Other filetypes can be added be including them
on the AddType line. For Example:
AddType application/x-httpd-php .php .html .htm

----------------------------------------------

Please see the man page for additional
information.

Also see http://www.php.net/
for more information.

----------------------------------------------

Change-log:     2009/05/20 Original
2009/06/02  Rebuilt for TC2.x and with pcre support
2009/07/06  Updated to version 5.3.0, included mcrypt support
2009/10/09 Replaced user.tar.gz
Current: 2009/10/09 Replaced user.tar.gz


--- End code ---

Jason W:
Thanks to robc for an update:


--- Code: ---Title:          php5.tczl
Description:    PHP with cgi/fcgi (TESTING)
Version:        5.3.1
Author:         various (http://www.php.net/credits.php)
Original-site:  http://www.php.net/
Copying-policy: PHP Liscense v3.01 (http://www.php.net/license/3_01.txt)
Size: 5.9M
Extension_by:   robc
Comments: This package requires libxslt, libxml2, mysql,
perl5, libmcrypt, libgmp, bsddb, libgdbm, curl,
and openssl-0.9.8h.

Other extensions may be needed for additional
functionality. ie libmhash, gettext

8291/8353 tests passed, 99.3% pass rate.

The php.ini configuration file is found in
/usr/local/lib. This file can be editted to
change the runtime options.

Can be used with apache2 or lighttpd for a
HTTP/PHP server (probably others too).

For lighttpd (from lighttpd wiki):
make sure mod_fastcgi is loaded in your lighttpd.conf:
server.modules = (
"mod_fastcgi",
)

Then add this basic section to the same file:
fastcgi.server = ( ".php" => ((
"bin-path" => "/usr/local/bin/php-cgi",
"socket" => "/tmp/php.socket"
)))

Other server modules that may be needed:
mod_auth
mod_access
mod_accesslog
mod_rewrite


For apache2:
Make sure cgi.force_redirect = 0 in php.ini.
The following, or similar, must be included
in the httpd.conf file:
ScriptAlias /cgi-bin/ "/usr/local/cgi-bin/"
AddHandler cgi-script .php
Action cgi-script "/usr/local/bin/php-cgi"
The ExecCGI option must be enabled for the
HTTP server's root directory (htdocs).


----------------------------------------------

Please see the man page for additional
information.

Also see http://www.php.net/
for more information.

----------------------------------------------

Change-log:     2009/5/20 Original
2009/6/2  Rebuilt for TC2.x and with pcre support
2009/7/6  Updated to version 5.3.0, included mcrypt support
2009/7/8  Rebuilt without Apache module and with cgi/fcgi, mhash, and openssl
2009/11/20 Updated to v5.3.1, added support for gd, gdbm, db4, mysql,
gettext, gmp, dropped apache2 module
Current: 2009/11/20 Updated to v5.3.1, added support for gd, gdbm, db4, mysql,
gettext, gmp, dropped apache2 module


--- End code ---


--- Code: ---Title:          php5-devs.tczl
Description:    PHP with cgi/fcgi devs (TESTING)
Version:        5.3.1
Author:         various (http://www.php.net/credits.php)
Original-site:  http://www.php.net/
Copying-policy: PHP Liscense v3.01 (http://www.php.net/license/3_01.txt)
Size: 948k
Extension_by:   robc
Comments: Development headers, build files, and test files.

----------------------------------------------

Please see the man page for additional
information.

Also see http://www.php.net/
for more information.

----------------------------------------------

Change-log:     2009/5/20 Original
2009/6/2  Rebuilt for TC2.x and with pcre support
2009/7/6  Updated to version 5.3.0, included mcrypt support
2009/7/8  Rebuilt without Apache module and with cgi/fcgi, mhash, and openssl
2009/11/20 Updated to v5.3.1, added support for gd, gdbm, db4, mysql,
gettext, gmp, dropped apache2 module
Current: 2009/11/20 Updated to v5.3.1, added support for gd, gdbm, db4, mysql,
gettext, gmp, dropped apache2 module


--- End code ---


--- Code: ---Title:          php5-docs.tcz
Description:    PHP Documentation (TESTING)
Version:        5.3.1
Author:         various (http://www.php.net/credits.php)
Original-site:  http://www.php.net/
Copying-policy: PHP Liscense v3.01 (http://www.php.net/license/3_01.txt)
Size: 48k
Extension_by:   robc
Comments: Documentation for PHP

----------------------------------------------

Please see the man page for additional
information.

Also see http://www.php.net/
for more information.

----------------------------------------------

Change-log:     2009/5/20 Original
2009/6/2  Rebuilt for TC2.x and with pcre support
2009/7/6  Updated to version 5.3.0, included mcrypt support
2009/7/8  Rebuilt without Apache module and with cgi/fcgi, mhash, and openssl
2009/11/20 Updated to v5.3.1, added support for gd, gdbm, db4, mysql,
gettext, gmp, dropped apache2 module
Current: 2009/11/20 Updated to v5.3.1, added support for gd, gdbm, db4, mysql,
gettext, gmp, dropped apache2 module


--- End code ---

vinnie:
I have request for this package.
if you can remove dependencies on perl and mysql for those who not need it (and reduce the space required), and if you can understand why I can not unzip the file, perhaps zlib?

Navigation

[0] Message Index

[*] Previous page

Go to full version