PHP5 as apache module using packages

Gary Hartl ghartl at gmail.com
Tue Dec 16 16:18:06 UTC 2008


> 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





More information about the freebsd-questions mailing list