Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2020-12-17 08:40:18

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,637
Website

Re: PHP 8, MAMP, alternatives for local development

PS – one thing i might have added; I had installed Sandspace theme in the Admin themes folder; it, of course, appeared for selection in the last set up panel, and I, of course…selected it. when accessing the login panel, the Hive theme was in use. I don’t remember that happened under PHP 7.4 and 7.3.

That is another indication that stuff might not have been registered in the mamp DB (MySQL 5.7.x).


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#17 2020-12-17 08:41:32

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,443
Website GitHub

Re: PHP 8, MAMP, alternatives for local development

That sounds like a frustrating experience. Very odd that the end of the installation process kicked you back to the start of setup. I’ve not experienced that here, but I haven’t “upgraded” MAMP yet so I’m still on some minimum version of PHP 5 for testing purposes.

I agree I don’t like the way MAMP keeps trying to give you “free” MAMP-Pro trials and sneaking you into the premium product. But it does rather sound like MAMP and its supporting apps aren’t as battle ready for PHP 8 as they think.

EDIT: Does MAMP misbehave in the same way if you switch back to PHP 7.4?

Last edited by Bloke (2020-12-17 08:42:50)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#18 2020-12-17 08:49:02

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,637
Website

Re: PHP 8, MAMP, alternatives for local development

Bloke wrote #327573:

But it does rather sound like MAMP and its supporting apps aren’t as battle ready for PHP 8 as they think.

Yes, I had just started drafting an additional post noting that.

I think Mamp is a fine product, kudos for 1/ fairly good, readable documentation (comprehensive, I think), and 2/ correct use of the .pkg installer.

All testing was done on macOS 11.1 on the battle tested MBA.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#19 2020-12-17 22:40:58

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,192
Website GitHub

Re: PHP 8, MAMP, alternatives for local development

phiw13 wrote #327569:

First step I downloaded the mamp/mamp-pro installer, which does everything possible to kick me into the mamp-pro application …

Bloke wrote #327573:

I agree I don’t like the way MAMP keeps trying to give you “free” MAMP-Pro trials and sneaking you into the premium product. But it does rather sound like MAMP and its supporting apps aren’t as battle ready for PHP 8 as they think.

FWIW: Even though I’m attempting to move away from it (it’s got slow but then again my Mac is nearly 10 years old), MAMP Pro does make handling things a lot easier on a per-site basis than the bare MAMP. You can set up multiple hosts with different PHP versions, apache or nginx, with or without local certificates all with a few clicks. Great if you’re upgrading a site to get over the php 5.6->7 hump. You can put the sites where you want on your Mac and if you use the same setup often, you can also start from a standard folder setup. Mailhog to catch outgoing local web server email is also useful, as is the ability to do mobile testing on a local network. You can do those things manually, of course, or add another hosts file manager on top of MAMP but the Pro version makes that a whole lot easier in an integrated system. I’m not defending their method of pushing their product, but I don’t regret having paid for it in the past.

As mentioned earlier, I’m trying Laravel Valet for now and it’s working nicely so far, but it’s nginx only so no Apache modules and no htaccess (clean urls work fine, though). It sits on top of homebrew and composer so requires some command-line use to get set up or to switch PHP versions but thereafter one only really needs Sequel Ace to manage mysql. If I find I can’t do without htaccess or absolutely need per-site php switching, then I may go back to MAMP.


TXP Builders – finely-crafted code, design and txp

Offline

#20 2020-12-18 01:03:05

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,252
Website Mastodon

Re: PHP 8, MAMP, alternatives for local development

i have Mamp Pro 5.7 and it was worth the price when i had to manage a number of sites. Now i hardly ever use it as i do all my testing on a live server. i just use a dormant domain. Then deploy to the live one.
(ps i am constantly implored to update to version 6.0, which i ignore)


…. texted postive

Offline

#21 2020-12-18 10:18:36

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,637
Website

Re: PHP 8, MAMP, alternatives for local development

Jacob, I opened a discussion on possible options to install local dev. environment here.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#22 2020-12-18 10:53:04

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,723
GitHub

Re: PHP 8, MAMP, alternatives for local development

jakob wrote #327586:

(it’s got slow but then again my Mac is nearly 10 years old)

Aside: I love how many folks around here have vintage Macs that just keep on going. Brilliant.

Offline

#23 2020-12-18 11:24:28

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,443
Website GitHub

Re: PHP 8, MAMP, alternatives for local development

gaekwad wrote #327601:

I love how many folks around here have vintage Macs that just keep on going.

Me too!

Mid-2012 MBP upon which I type this, “dead” according to the genius bar, lovingly stripped back to the motherboard and resurrected by me over many hours using a toothbrush and water to remove the spilled gin and tonic.

Sure, it’s had a few pimps – 16GB RAM, SSD+HDD internal caddy in place of the Superdrive, and I’m on my second (soon third, I expect) keyboard. Plus, Pete’s helped me out with immense knowledge regarding fixing things like the SATA cable when the machine went wonky recently. But damn, the i5 Mac still outperforms my desktop Windows 10 PC with its quad core Intel CPU and crunjo Nvidia GT Gfx card.

That’s why the newer breed of ‘throwaway’ Macs with unreplaceable/unupgradeable parts make no sense to me as a hacker and fixer-upper. I don’t throw nuthin’ away unless it’s way beyond repair (and even then I’ll harvest it for bits, just in case… and that’s saved my bacon more than once).

Anyway, sorry, carry on.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#24 2020-12-18 11:25:29

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,192
Website GitHub

Re: PHP 8, MAMP, alternatives for local development

gaekwad wrote #327601:

Aside: I love how many folks around here have vintage Macs that just keep on going. Brilliant.

Agree but I am careful with it and it is still in pretty good shape. My work colleagues have gone through 2-3 windows laptops in the same period and mine is still quieter. But its days are numbered: while there’s no hurry to update to a newer OS, it can’t go beyond Catalina (or not without tricks).


TXP Builders – finely-crafted code, design and txp

Offline

#25 2020-12-18 11:31:18

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,723
GitHub

Re: PHP 8, MAMP, alternatives for local development

Bloke wrote #327607:

[…] many hours using a toothbrush and water […]

For all that is holy, I hope you mean isopropyl alcohol…

I’m on my second (soon third, I expect) keyboard.

This reminds me of the time I changed a MacBook Pro keyboard on a client laptop. So many tiny screws, grain of rice for scale:

Offline

#26 2020-12-18 11:31:36

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: PHP 8, MAMP, alternatives for local development

Sorry guys, 2019 iMac 5K with 40GB RAM here. But I need that sort of power just to run Adobe Illustrator satisfactorily.

Offline

#27 2020-12-18 11:43:22

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,443
Website GitHub

Re: PHP 8, MAMP, alternatives for local development

gaekwad wrote #327610:

For all that is holy, I hope you mean isopropyl alcohol…

Yeah, IPA for the mobo, soapy water for the individual keys I popped off and scrubbed clean. G&T is sticky.

So many tiny screws

Ain’t that the truth! And not just one type. No, two or three different screwdriver bits required. Triangle head, star head, cross head, …

Changing/cleaning the keyboard is my least favourite maintenance job. Especially since any such intricate work is a massive cat attractant and then my carefully-laid-out array of screws so I know where they all came from is for nothing. Note to self: invest in a magnetic work board so the screws stay put in the orientation I set them out.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#28 2020-12-18 11:47:46

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,723
GitHub

Re: PHP 8, MAMP, alternatives for local development

Bloke wrote #327613:

Note to self: invest in a magnetic work board so the screws stay put in the orientation I set them out.

Invest in and curate a magnetic board, otherwise you get this (mine, just now):

Ahem. I mean, I know what they all do…it’s just…yeah, it’s chaos.

Offline

#29 2020-12-18 12:25:39

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,192
Website GitHub

Re: PHP 8, MAMP, alternatives for local development

Not seen one of those magnetic boards before. I used the lid of the small ifixit toolkit. I forgot that I also replaced the keyboard and the battery in the MBP and also had to deal with the 100 tiny screws. Taking out the existing keyboard meant disassembling the innards, peeling off the backlit foil and then literally ripping the faulty keyboard free of the aluminium body. Unfortunately a lot of the aluminium pegs didn’t pop out with it, so need removing individually with a flathead screwdriver placed on one side and a tap with a hammer. Felt very archaic taking a hammer to a piece of electronics … but it worked :-)


TXP Builders – finely-crafted code, design and txp

Offline

#30 2020-12-18 12:27:44

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,723
GitHub

Re: PHP 8, MAMP, alternatives for local development

I’ve had that board for years, it’s showing its age now. There are many generic ones out there, back when I purchased it they were quite new and priced accordingly.

Offline

Board footer

Powered by FluxBB