Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 2004 14:04:39 +0100
From:      Steve Hodgson <steve@acidy.com>
To:        freebsd-questions@freebsd.org
Cc:        Richard Collyer <richard@firebadger.net>
Subject:   Re: PHP Install Options Problem
Message-ID:  <200409261404.39993.steve@acidy.com>
In-Reply-To: <20040926133332.A156.RICHARD@firebadger.net>
References:  <20040926133332.A156.RICHARD@firebadger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 26 September 2004 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.
>
this is becoming a FAQ

from /usr/ports/UPDATING

20040719:
  AFFECTS: users of PHP
  AUTHOR: ale@FreeBSD.org

  The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP,
  PEAR, and shared extensions to allow more flexibility and add new features.
  Upgrading your current PHP installation will result in a 'base' PHP
  installation (no PEAR and no extensions).
  PEAR can be found in the new devel/php4-pear and devel/php5-pear ports, 
while
  the set of PHP extensions to install can be choosen via the meta-ports
  lang/php4-extensions and lang/php5-extensions, or installing singular
  extensions individually.
  If you have a previous php.ini configuration file, be sure to comment out
  the extension_dir parameter, since the correct path is statically compiled
  into the PHP binary.
  For an overview of the modules used with the old PHP binary, use
  the command "php -m".

Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409261404.39993.steve>