Re: PHP5 as apache module using packages
Mel wrote: On Wednesday 17 December 2008 16:08:43 Ott Köstner wrote: Nothing special needed. Just a regular Apache, MySQL, and PHP. 5...10 minute install from FreBSD ports. [...snip...] And thus, can run as php-cgi. There are performance and configuration management reasons to use the module, but these come more into play with mass virtual hosting, rather then a dedicated server for one web app. Oh, sorry! A little misunderstanding. By "regular" I actually meant PHP installed as an Apache module. Don't actually no anybody or any reason to run it as cgi. Best regards, O.K. -- Testi oma Interneti kiirust / Test Your Internet speed: http://speedtest.zzz.ee/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PHP5 as apache module using packages
On Wednesday 17 December 2008 16:08:43 Ott Köstner wrote: > Nothing special needed. Just a regular Apache, MySQL, and PHP. 5...10 > minute install from FreBSD ports. > > Port: elgg-0.9.1 > Path: /usr/ports/www/elgg > Info: Blogging and social networking platform > > make > make install > > create database and it starts like any other PHP/SQL application... And thus, can run as php-cgi. There are performance and configuration management reasons to use the module, but these come more into play with mass virtual hosting, rather then a dedicated server for one web app. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PHP5 as apache module using packages
On Wednesday 17 December 2008 4:02:05 pm Gary Hartl wrote: > The software is elgg.org, it is social software, i'm working on a project > for a world of warcraft guild (yes this is a money deal), they are looking > for a facebookish type site with some custom world of warcraft stuff done. Just experimented with Elgg. Here it is: http://elgg.zzz.ee/index.php Nothing special needed. Just a regular Apache, MySQL, and PHP. 5...10 minute install from FreBSD ports. Port: elgg-0.9.1 Path: /usr/ports/www/elgg Info: Blogging and social networking platform make make install create database and it starts like any other PHP/SQL application... Greetings, O.K. -- Mõõda oma inteneti kiirust / Test Your Internet speed http://speedtest.zzz.ee/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: PHP5 as apache module using packages
> Hi all; > > Ok so i've reinstalled fBSD-7 and i'm running apache 2.2 installed using > pkg_add > > I need to also run php as a module for apache (the web software i'm using > requires php as module no cgi). Curious: what software and why? The only valid reason is that the sofware writes php_value/php_flag options to .htaccess files. This has many other implications and I would carefully examine the software and all other websoftware I have installed, before allowing this. The software is elgg.org, it is social software, i'm working on a project for a world of warcraft guild (yes this is a money deal), they are looking for a facebookish type site with some custom world of warcraft stuff done. I haven't really looked too much at the software yet although I'm going to. This is going to be on a dedicated server, not doing anything else. Cheers, Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PHP5 as apache module using packages
On Tuesday 16 December 2008 15:36:01 Gary Hartl wrote: > Hi all; > > Ok so i've reinstalled fBSD-7 and i'm running apache 2.2 installed using > pkg_add > > I need to also run php as a module for apache (the web software i'm using > requires php as module no cgi). Curious: what software and why? The only valid reason is that the sofware writes php_value/php_flag options to .htaccess files. This has many other implications and I would carefully examine the software and all other websoftware I have installed, before allowing this. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: PHP5 as apache module using packages
> Ok so i've reinstalled fBSD-7 and i'm running apache 2.2 > installed using > pkg_add > > I need to also run php as a module for apache (the web > software i'm using > requires php as module no cgi). > > Now I pkg_add'ed php5 from sparc64/all tree on ftp.freebsd.org, > > I think I missed passing a variable throu to php. > > My question is how do I know what variables I can pass throu > to a package to > adjust its installation. Gary: If you want to configure things differntly to the compiled default of a package, then you probably should be using ports instead of packages. This chapter in the handbook explains some differences. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html - Barry Thanks Barry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: PHP5 as apache module using packages
> -Original Message- > From: owner-freebsd-questi...@freebsd.org > [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Hartl > Sent: 16 December 2008 14:36 > To: FreeBSD Questions > Ok so i've reinstalled fBSD-7 and i'm running apache 2.2 > installed using > pkg_add > > I need to also run php as a module for apache (the web > software i'm using > requires php as module no cgi). > > Now I pkg_add'ed php5 from sparc64/all tree on ftp.freebsd.org, > > I think I missed passing a variable throu to php. > > My question is how do I know what variables I can pass throu > to a package to > adjust its installation. Gary: If you want to configure things differntly to the compiled default of a package, then you probably should be using ports instead of packages. This chapter in the handbook explains some differences. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html - Barry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"