Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2016-07-01 12:45:27

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

Re: chmod madness, enlightened advice welcome

A propos of nothing, I used to develop directly on OS X but the now-yearly OS bump just broke too many things and I lost a whole glob of time fixing ‘em. In the end I opted for a Raspberry Pi (Raspbian) attached to my router (powered off USB, ethernet to the router) and I’m indescribably pleased with the way it works. No need to fix Apache each year, no mucking around with modules that Apple decide to disable for reasons unknown.

Offline

#17 2016-07-02 02:23:14

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: chmod madness, enlightened advice welcome

gaekwad wrote #300104:

… but the now-yearly OS bump just broke too many things …

Yes it can be a bit painful, but I’ve found these guides to be invaluable.

I upgraded my PHP recently* using this which describes obtaining PHP from here – a source I’ve used several times over the years.

*to be fair there was a slight hiccup – the comment from “info” is me!

Offline

#18 2016-07-02 10:05:34

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: chmod madness, enlightened advice welcome

gaekwad wrote #300104:

I used to develop directly on OS X but the now-yearly OS bump just broke too many things

This had nothing to do with OS X, exactly, something just went a bit south with the php upgrade, typical. And I’ve never been very savvy about permissions and all that, so this has been a bit of worthwhile learning experience.

That said, who knows what Sierra will bring. ;)

Offline

#19 2016-07-02 18:07:05

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

Re: chmod madness, enlightened advice welcome

using MAMP pro i have never had any hiccups


…. texted postive

Offline

#20 2016-07-04 07:36:39

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: chmod madness, enlightened advice welcome

bici wrote #300132:

using MAMP pro i have never had any hiccups

That’s because it’s a redundant install of an AMP stack on your machine, and the whole package is updated at once by vendor design (MAMP). I prefer using Mac’s native A-P binaries and installing M myself to keep my old machine free of redundant software. Homebrew makes adding/updating MySQL (the missing piece of the stack on Mac) super easy.

I can also put PHP under Homebrew care, but L//P was just as easy to install in this case and can be removed in 2 seconds when updating to Sierra. (httpd-conf and php.ini file adjustments are almost always needed in upgrade actions anyway.)

Btw, none of the permissions issues I was having affected my Txp installs at all (though they may still be using 777 on the writable directories), only Flarum. That said, I’ve never understood before why I could never chmod directories to 775 (always having to use 777), and this is a common problem with people in this community (search on “chmod” and you’ll see). And that fix has as much to do with the operating system, apparently, as it does with the flavor of AMP install. It’s also a problem with web hosts who don’t have servers configured to allow you to make directories 775.

There really should be a series of tutorials on how to change your gear to make 775 work, but that’s a bit out of Txp scope. Though this thread is a step in the right direction, thanks to Bloke, the man!

Offline

#21 2016-07-04 07:53:16

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 607

Re: chmod madness, enlightened advice welcome

There’s also virtualhostX

After many a mishap trying to get a local webserver up and running on my Mac, I’ve decided to try setting up and running an Ubuntu server on my Raspberry Pi (a nice little project for me over the summer).

Offline

#22 2016-07-04 08:12:36

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: chmod madness, enlightened advice welcome

Algaris wrote #300154:

There’s also virtualhostX

Interesting! That looks a lot nicer than MAMP, albeit not free as in love. ;)

The RaspberryPi route is interesting too, but one downside for me is I’m often on the go and lugging around extra hardware in order to do a little cafe work isn’t practical.

Offline

#23 2016-07-04 08:45:49

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

Re: chmod madness, enlightened advice welcome

Destry wrote #300157:

The RaspberryPi route is interesting too, but one downside for me is I’m often on the go and lugging around extra hardware in order to do a little cafe work isn’t practical.

Keep meaning to post photos of my Pi 2’s custom case made out of Lego. Keeps it reasonably well-protected with flaps and stuff for port access. All I need is the lightweight PSU, plus an HDMI cable if I want to see the screen. Or, for a more wireless experience, a £6 wifi dongle means I can ssh in from any device that’s networked. Yeah, the pi is extra hardware and you need to plug it in somewhere. But soooo tiny :-)


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

Board footer

Powered by FluxBB