[nycbug-talk] php 4 on freebsd 5.4 coring

pete wright nomadlogic
Wed Jun 1 14:36:17 EDT 2005


On 6/1/05, Steve Rieger <steve.rieger at tbwachiat.com> wrote:

> >> php will display properly via apache but when running via command line
> >> i get the above
> >>
> >> example
> >>
> >> #!/usr/local/bin/php
> >> <?php
> >> echo "test";
> >> ?>
> >
> > Did you compile PHP yourself?  Chances are it's a library version
> > mismatch, usually seen when installing precompiled binaries, or
> > rarely, from ports.
> >
> >
> 
> all from ports
> 

hmm...i guess you did a cvsup /usr/ports before installing php.  also
which php port did you install?  I have mod_php5 installed with no
issues, but this is just the apache module not intended for stand
alone execution.You may need to install either /usr/ports/lang/php5 or
/usr/ports/lang/php5-cli to get the behaviour you are expecting.

-pete



-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group




More information about the talk mailing list