Fwd: PHP80

Craig Treleaven ctreleaven at cogeco.ca
Fri May 6 13:14:53 UTC 2022


> Begin forwarded message:
> 
> From: JEFFRY KILLEN <jekillen at prodigy.net>
> Subject: Re: PHP80
> Date: May 5, 2022 at 11:14:04 PM EDT
> To: Craig Treleaven <ctreleaven at cogeco.ca>
> 
> 
> 
>> On May 5, 2022, at 5:12 PM, Craig Treleaven <ctreleaven at cogeco.ca> wrote:
>> 
>>> On May 5, 2022, at 2:13 PM, JEFFRY KILLEN <jekillen at prodigy.net> wrote:
>>> 
>>> Hello:
>>> 
>>> I am new to macports. My current interest to so install php on
>>> MacOS Monterey. But I do no see specific info on what PHP80
>>> installs. Is it just a CLI installation, or is there a module that can
>>> be used with localhost Apache?
>>> 
>>> If not for web server, is there a port that will install php. Or do I
>>> have to reinstall Apache with configuration for using php? It has
>>> been a while since I have had to negotiate these details.
>>> 
>>> Some 12 years ago I compiled and installed Apache with php 
>>> from source on a FreeBSD system.
>>> 
>>> Thanks for time and attention:
>>> JK
>> 
>> Hi:
>> 
>> Have you had a look at the howto page on for PHP?
>> 
>> https://trac.macports.org/wiki/howto/PHP
>> 
>> Craig
> 
> Thank you for the reference:
> 
> I installed php80 and ran php -v in the terminal. 
> Command not found was the response.
> 
> I looks like there was no command line version of
> php with Monterey as well as no module. But it is not
> clear where the php executable would be stored.
> 
> For that matter where would ports put the php executable
> it installs?
> 
> I do have MAMP installed on this system and it does work.
> But I would prefer that the server with php would run on port
> 80 for localhost.
> 
> I do not know what Apple really has a problem with:
> They could offer updates to php as well as other resources.
> The rational I have seen is that the builting php is not up to
> date from system to system. But why would they wait for a
> completely new system to update php?
> 
> Thank you for time and attention
> JK
> 

Please reply to the list.  I’m no php expert.

Re your question about what is installed where, you can see the details via:  

port contents php80

Craig


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220506/c5f09bbe/attachment.htm>


More information about the macports-users mailing list