Hi all,
upon request of Tilman ("I need a FCGI PHP") and Jose ("Why
depends mod_php on mysql") I took a closer look at PHP, to
get an idea how we can optimize the current situation.
My proposed solution is based on four ports:
- php: the PHP CLI interpreter plus some extension modules and
support stuff like include-files
- php-fcgi: CGI/FastCGI version of the interpreter with start
script
- php-apache: DSO module for apache
- php-mysql: MySQL module as an example how to build extensions
which are depending on external libraries.
Some remarks:
- Configuration files are now in /etc/php and /etc/php/conf.d.
The later is scanned for *.ini files, see php-mysql for an
example.
- The modules build with php depends on core ports only, not
checked for completeness.
- php-fcgi and php-apache do not depend on php, so we have very
slim ports if only the default extensions are needed. Both
work, of course, together with php-mysql or other extensions
like that.
Please comment and test the attached ports.
Thanks
Juergen
--
Juergen Daubert | mailto:jue@jue.li
Korb, Germany | http://jue.li/crux
Hi,
I am maintaining the namenlos repostitory. The git repository is at repo.or.cz
[1] and the httpup directory is at the webserver of my company [2]. Every time I
update a port I have to update the httpup repository, too. So I was wondering,
whether it would be possible to tell ports(8) to fetch the files from the git
repository directly instead of doing all by myself. So I wrote a git driver for
ports (attached) and some example configuration files for the namenlos and opt
repositories (also attached).
What do you think? Imho it would be neat to get this driver into crux by
default.
bye
richi (namenlos)
[1] http://repo.or.cz/w/namenlos-ports.git
[2] http://www.sti2.at/~richardp/ports/
--
quoting guide: http://www.xs4all.nl/~hanb/documents/quotingguide.html