Re: Installing Php5 on Apache2.2 (Freebsd 6.1)



i think that you should be able to porce the installation of the
package of php5 with the -f command, after it finished, run pkgdb -F
to fix the dependency of php5 for apacha13 to apache22.


On 8/22/06, Muhammad Omer Iqbal <omer@xxxxxxxxxxxxx> wrote:
Hi,
(Please include me in the reply as I am not subscribed to this list.)

I am trying to use Ports to install php5 on top of Apache 2.2. However, when

I do pkg_add, it says that the prereq Apache 1.3 is not installed. I also
tried forcing it (using -f), but even then it did not seem to have installed

Php5 properly.

I tried this:
cd /usr/ports/lang/php5
pkg_add php5

That did not work.

Then I ftp-ed to <ftp://ftp.freebsd.org> ftp.freebsd.org and downloaded the
tbz file from the same
location (/ports/lang/php5) and did pkg_add with that file name as
parameter. Is that the right thing to do?

After I did that, I got the error that I explained above (i.e. Apache 1.3
not installed)

As you might imagine, I am pretty new to FreeBSD.

Thanks,
Omer


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



--
Best Regards,

Ivan Levchenko
levchenko.i@xxxxxxxxx
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: port-MESS with apache22
    ... I had run portsnap on 7.2 but did not update the ports. ... apache was working. ... Sommehow the installation of apache22 stumbled over some configuration ... mod_php5 isn't built by default when you install php5. ...
    (freebsd-questions)
  • Re: port-MESS with apache22
    ... Sommehow the installation of apache22 stumbled over some configuration ... I found that apache was running ok, ... mod_php5 isn't built by default when you install php5. ... that sort of port consists almost entirely of copying files into place) ...
    (freebsd-questions)
  • Re: [PHP] php4 / php5 unable to locate module
    ... library object I added a new line with php5 entry... ... On Mon, 11 Sep 2006, Zbigniew Szalbot wrote: ... will have to upgrade for apache 2.x so I ran pkg_delete and the went for ... installation of my server level of applications. ...
    (php.general)
  • RE: PHP5 and MySQL
    ... My installation also completed without any problems. ... only when you try to connect to mysql from a php web-page. ... Subject: PHP5 and MySQL ... on Freebsd 6.1 system. ...
    (freebsd-questions)
  • [SLE] PHP5 not running
    ... Pointing a Firefox browser at a page on the above server yields a dialog asking what firefox should do with this, ... One thing which is common among several archives is that a re installation wipes away the problem. ... My first suspicion is that the SuSE 10 builds of Apache and php5 are not compatible but I am not sufficiently versed in Linux to be confident in messing with the YaST installed applications. ...
    (SuSE)