phpinfo(); not working

Paul A. Procacci pprocacci at
Fri Oct 26 21:00:39 PDT 2007

Tipper wrote:
> I have FreeBSD-6.2 and I'm having trouble setting up apache, mysql and 
> php for my business. I can't get  phpinfo(); to display. If I run php 
> -i, I get several pages of information which means php is working.  
This only means you have the php binary installed, and that's it.  It's 
unrelated to the apache module.

cd into /usr/ports/lang/php4 or /usr/ports/lang/php5

Do a 'make config'.  Ensure that the WITH_APACHE item is checked.

make / make install etc....restart apache....done.

More information about the freebsd-questions mailing list