Hi,
I've installed *AMP on my FreeBSD 9 machine and now would like to extend PHP with support for Curl. OK, I'm stood in /usr/ports/lang/php5-extensions and issue the following commands:
I select options I would like: Curl, Xml etc...
then
All looks good until I reach:
You'rer thinking well, the message is there plain to see, so get on with it. If only things were that simple. Looking around at some posts, and stood in /usr/ports/lang/php5-extensions I try:
However in /usr/local/www/apache22/data/info.php
Browse to info.php and PHP shows no information for Curl.
Help
I've installed *AMP on my FreeBSD 9 machine and now would like to extend PHP with support for Curl. OK, I'm stood in /usr/ports/lang/php5-extensions and issue the following commands:
# make config
I select options I would like: Curl, Xml etc...
then
# make clean install
All looks good until I reach:
Code:
===> Checking if lang/php5-extensions already installed
===> php5-extensions-1.6 is already installed
You may wish to ''make deinstall'' and install this port again
by ''make reinstall'' to upgrade it properly.
If you reall wish to overwrite the old port of lang/php5-extensions
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
*** Error code 1
You'rer thinking well, the message is there plain to see, so get on with it. If only things were that simple. Looking around at some posts, and stood in /usr/ports/lang/php5-extensions I try:
# make FORCE_PKG_REGISTER=1 install
Code:
===> Installing for php5-extensions-1.6
===> php5-extensions-1.6 depends on file: /usr/local/include/php/main/php.h - found
...
found
...
found all OK
===> Generating temporary packing list
===> Registering installation for php5-extensions-1.6
However in /usr/local/www/apache22/data/info.php
PHP:
<?php
phpinfo();
?>
Browse to info.php and PHP shows no information for Curl.
Help