|
Posted by anne001 on 10/10/22 11:43
I tried using darwinport but got an error message, it seems you can't
use darwinport
with both apache and fastcgi.
is this what you meant?
>I recommend something like Fink or Darwinports to get the libraries,
>tools and addons you want to play with.
this is what I tried.
sudo /opt/local/bin/port -v install php5 +apache +mysql5 +fastcgi
The following dependencies failed to build: libmcrypt libpng libxml2
libxslt mhash mysql5 tidy tiff
I have the configure file compiling without error with
./configure --prefix=/usr/local --program-suffix=5 --enable-fastcgi
--enable-discard-path --enable-force-cgi-redirect
--with-mysqli=/usr/local/mysql/bin/mysql_config
make
sudo make install
I need to find the option to tell it where to put the directories, and
then modify the apache config file
I think.
php -v command not found.
I moved the package php5 to a php5old so I would know if my install
would work, and so test
does not work either. Before I moved the folder though php-v no longer
worked.
guess php5 by the entropy package is not on the path!
indeed if I move the entropy package back to php5 folder and type
/usr/local/php5/bin/php -v
I get
PHP 5.1.2 (cli) (built: Jan 14 2006 23:57:00)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
good to know php-v works if php is set properly etc.
anne
Navigation:
[Reply to this message]
|