Re: php4-cli install with mod_php4

2003-12-08 Thread Jez Hancock
On Mon, Dec 08, 2003 at 12:37:32PM -0600, Redmond Militante wrote:
> i'd like to run a php file as a cron job on my apache box.  in order
> to do this, i'm trying to install /usr/ports/lang/php4-cli.
I seem to remember reading on the list that if you run make in
/usr/ports/lang/php4 without explicitly asking for either mod_php4 or
php4-cli/cgi, then by default it will install php4-cli and mod_php4 IF
it finds you have apache installed.

Worth trying out perhaps.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php4-cli install with mod_php4

2003-12-08 Thread Kevin D. Kinsey, DaleCo, S.P.
Redmond Militante wrote:

hi all

i'd like to run a php file as a cron job on my apache box.  in order to do this, i'm trying to install /usr/ports/lang/php4-cli.

i cd to the dir, make install clean, set php compile options, etc.  it errors out like this:

--snip--

# make install
===>  Installing for php4-cli-4.3.4_2
===>  php4-cli-4.3.4_2 conflicts with installed package(s):
 mod_php4-4.3.4_2,1
 They install files into the same place.
 Please remove them first with pkg_delete(1).
*** Error code 1
Stop in /usr/ports/lang/php4-cli.
*** Error code 1
Stop in /usr/ports/lang/php4-cli.
--snip--
what's the best way to get php4-cli installed on a box with mod_php4?  any suggestions would be appreciated

thanks
redmond
 

Maybe 3 options:

1.  Do as it says and uninstall mod_php4, then build
/usr/ports/lang/php4, which will install CGI, CLI and
Apache so module.
2.  If you've gotten this far, there's a CLI executable
built somewhere in the "work" subdirectory.  You
could install it yourself, but it wouldn't be registered,
I guess...a terrible hack, probably :-)
3.  Have you tried

$make FORCE_PKG_REGISTER=yes install

?  (Saving "make clean for later, just in case???")

HTH,

Kevin Kinsey

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php4-cli install with mod_php4

2003-12-08 Thread Redmond Militante
hi all

i'd like to run a php file as a cron job on my apache box.  in order to do this, i'm 
trying to install /usr/ports/lang/php4-cli.

i cd to the dir, make install clean, set php compile options, etc.  it errors out like 
this:

--snip--

# make install
===>  Installing for php4-cli-4.3.4_2
===>  php4-cli-4.3.4_2 conflicts with installed package(s):
  mod_php4-4.3.4_2,1

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/php4-cli.
*** Error code 1

Stop in /usr/ports/lang/php4-cli.
--snip--

what's the best way to get php4-cli installed on a box with mod_php4?  any suggestions 
would be appreciated

thanks
redmond





-- 
FreeBSD 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 3 21:30:51 CDT 2003
12:30PM  up 14 days,  9:42, 5 users, load averages: 0.00, 0.05, 0.09
 
Bare feet magnetize sharp metal objects so they point upward from the
floor -- especially in the dark.
 


pgp0.pgp
Description: PGP signature