Hi all,
Montery/MacOS12 no longer includes php and this breaks some bundle commands.
Does the group have suggestions about a preferred way for a user who just wants it to work without hassles to use going forward?
Options seem to be
homebrew, e.g. https://github.com/shivammathur/homebrew-php
or https://www.macports.org port install php
Thoughts? t
On 26 Jun 2021 22:44:44, Tim Bates via TextMate wrote:
Does the group have suggestions about a preferred way for a user who just wants it to work without hassles to use going forward?
I switched to using Docker containers for development. It introduces a new level of hassle, but once you learn how to set it up and get your system set up, it's a perfectly seamless way to run multiple projects with different dependences (not just PHP) and never need to install those dependencies on your host OS. I switched to using Docker after PHP 7 was released, when I had to work on PHP 5 and PHP 7 projects simultaneously; trying to maintain multiple versions of PHP, MySQL, et al, and having to re-install them every time I reinstalled macOS was the worst kind of hassle.
I have a custom `php:7.4-apache` image that I build with the PHP extensions I need. Each of my projects has a docker-compose.yml file that is used by `docker compose` to boot two containers: my custom php image, and the standard mariadb image. It also specifies the config for mounting my local development files at /var/www/, and some other environment variables that customize the container's functionality. So I use the same two generic images for all LAMP projects.
One downside is not being able to run PHP cli scripts or mysql commands directly in the mac terminal; you have to run those in a container using `docker exec -it mysqldump`, etc, but that's a minor inconvenience.
Quinn
Having used both macports and homebrew, I definitely find brew easier to use and relatively painfree.
Henry
On 2021-06-26, at 17h44, Tim Bates via TextMate textmate@lists.macromates.com wrote:
Hi all,
Montery/MacOS12 no longer includes php and this breaks some bundle commands.
Does the group have suggestions about a preferred way for a user who just wants it to work without hassles to use going forward?
Options seem to be
homebrew, e.g. https://github.com/shivammathur/homebrew-php
or https://www.macports.org port install php
Thoughts? t _______________________________________________ TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com
On Jun 26, 2021, at 4:44 PM, Tim Bates via TextMate textmate@lists.macromates.com wrote:
Montery/MacOS12 no longer includes php and this breaks some bundle commands.
Does the group have suggestions about a preferred way for a user who just wants it to work without hassles to use going forward?
Did a quick triage of all the the bundles and found that this will affect 13 bundles, three being directly PHP related. Installing PHP will be the course of action for the cases where PHP is strictly required, will look at removing the dependance where possible in the other bundles though.
(Currently affected bundles: bulletin-board, graphviz, html, javascript-yui, less, mediawiki, mx, ocaml, openmx, php, php-drupal, php-symfony, wikidot)
—
Michael Sheets
Me three.
And I have in the past also used Fink.
el
— Sent from Dr Lisse’s iPhone On 27. Jun 2021, 03:05 +0200, Henry Olders via TextMate textmate@lists.macromates.com, wrote:
Having used both macports and homebrew, I definitely find brew easier to use and relatively painfree.
Henry
On 2021-06-26, at 17h44, Tim Bates via TextMate textmate@lists.macromates.com wrote:
Hi all,
Montery/MacOS12 no longer includes php and this breaks some bundle commands.
Does the group have suggestions about a preferred way for a user who just wants it to work without hassles to use going forward?
Options seem to be
homebrew, e.g. https://github.com/shivammathur/homebrew-php
or https://www.macports.org port install php
Thoughts? t _______________________________________________ TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com
TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com