Want mod_php4 AND php4-cli but they conflict

Chris Shenton chris at shenton.org
Fri Apr 2 12:04:49 PST 2004

I have mod_php4 installed from ports a couple days ago.  The port
doesn't appear to build the php cli which I also need (why not?).
So I try to build the php4-cli port. Upon install it complains about

    chris at PECTOPAH<118> sudo make install
    ===>  Installing for php4-cli-4.3.5_7

    ===>  php4-cli-4.3.5_7 conflicts with installed package(s): 
          They install files into the same place.
          Please remove them first with pkg_delete(1).
    *** Error code 1

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

Yeah, I know I have a point-version mismatch.  But I think if I update
mod_php I'd get the same thing. 

How can I have both mod_php4 and php4-cli? I see that the mod_php4
makefile explicitely sets "WITHOUT_CLI" which prevents the CLI build
in the lang/php4 port.

Is there a way to tell any of the php4 port variants (php4, php4-cli,
mod_php4) to install both?


More information about the freebsd-ports mailing list