PHP Install Options Problem

Mick Walker mwalker at
Sun Sep 26 06:35:02 PDT 2004

On Sun, 2004-09-26 at 14:00, Richard Collyer wrote:

> Hi All,
> I'm running FBSD 4.10 and recently had some problems with php. So i
> decided to de-install it and start again to see if that would help.
> Basically functions started to fail in "Fatal Errors" after upgrading
> to a newer  version.
> Now when installing the package (from ports)  it does not give any
> options to select what i want to install (i.e. no window saying mysql,
> xml support etc.). 
> Is I think this is the root of the problem and php must not be
> installing the requred modules to handle the pages I am asking it to
> serve. PHP installs fine and the test page ( echo php_info(); ) works
> fine however alot of functons dont work such as preg_match() and
> mysql_connect() i get Fatal Error: etc... if these are called.
> Is thier a way to force the install to bring up these options or is
> thier a file where the values are installed that i could edit?
> when doing make it says:
> ===>  Found saved configuration for mod_php4-4.3.8_2,1
> Is thier a way to locate and delete this file.
> Atm using:
> cd /usr/ports/www/mod_php4/
> make clean
> make
> make install
> make clean
> I have googled and searched the archive and nothing (as of yet) has
> turned up to be of much help. 
> Found this:
> and followed what it said however when doing "make config" i only get 3
> options Apache2, Debug and IPV4.
> Cheers in advance
> Richard

Check /usr/ports/lang/php4-extensions

More information about the freebsd-questions mailing list