despairing with apache httpd + php

Carlos decvt100 at gmail.com
Mon Mar 31 16:07:44 UTC 2014


>
> I think I need some basic help on getting apache with mod_php installed
> using the "pkg" tool.  Firstly, is it even possible?  Or am I barking up
> the wrong tree?
>
> What packages do I need and which order do I install them?
>
> $ sudo pkg install apache24
> $ sudo pkg install php55-mysql
>
> this doesn't result in an web server that executes php.  I have no idea
> what to add to the httpd.conf to make it load php since there doesn't seem
> to be a "mod_php" file in the php package.
>
> Aled
> _______________________________________________

Have you read this entry on port's UPDATING file?

20140327:
  AFFECTS: users of lang/php5 and lang/php55 with Apache module
  AUTHOR: ale at FreeBSD.org

  The Apache PHP module has been separated from the main PHP port.
  If it is needed, install either www/mod_php5 or www/mod_php55.

Best regards


More information about the freebsd-hackers mailing list