BBEdit Environment for html

189 views
Skip to first unread message

Bucky Junior

unread,
Jan 24, 2024, 3:40:24 PM1/24/24
to BBEdit Talk
I have BBEdit open ALL the time. I use it mostly to write web pages using a combination of HTML, mySQL, PHP, and apache to write and test my work before uploading it into the wild.

I've run into a problem I've been unable to surmount. Apple no longer supports PHP. In Ventura, I was able to internally codesign PHP so that I could use it on my machine. With Somoma, I've codesigned PHP but run into a barrier of some PHP component that's not signed and so apache fails.

What are other developers, more capable than I are doing with BBEdit, apache, and PHP. I've considered the homebrew version of apache but am hesitant to make the plunge.

Suggestions?

Kerri Hicks

unread,
Jan 24, 2024, 4:22:05 PM1/24/24
to bbe...@googlegroups.com
I have moved to using Local, by WP Engine. It's free, and it basically creates a containerized LAMP/LNMP architecture (which contains a WordPress installation). It lets you build/update with whatever version of PHP/Apache/Ngnx you want, and update them with just a click. 

If you're not using WordPress, you can edit your .htaccess file to ignore all the WordPress stuff, and just create files and folders.

--Kerri

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/C5D624C8-D494-4CA1-9028-9D5AFE6C8E93%40gmail.com.

James Reynolds

unread,
Jan 24, 2024, 7:33:28 PM1/24/24
to bbe...@googlegroups.com
I've used Docker and containers. It can be a pain and probably not worth it if you don't understand Docker well.

The guy who made Homebrew has made another package manager that fixes a lot of Homebrew's problems: https://pkgx.sh. For example, pkgx is really easy to uninstall, you just `rm -r` it's directory. It's all self contained. I haven't tried the pkgx version of php but it should work and if it doesn't they'll fix it if you submit an issue. And they're pretty responsive, sometimes fixing things within an hour.

James Reynolds
> To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAEmA4uZRBJ1%2Bv0EzOjhgL6Y4LT7ETSytOJHR%3DM3gFXMEPJ%3DzjQ%40mail.gmail.com.

Massimo Rainato

unread,
Jan 25, 2024, 8:34:33 AM1/25/24
to BBEdit Talk


Massimo Rainato



Rick Yentzer

unread,
Jan 29, 2024, 11:35:35 AM1/29/24
to BBEdit Talk
I think Local is the easiest to quickly get up and running. Mamp is good too. DevKinsta is another one that Docker containers, but it really easy to use. Of these three, I'd choose Local or Mamp.
If you want to piece it together yourself, you can install php with Homebrew on the command line.

Bucky Junior

unread,
Jan 29, 2024, 10:49:09 PM1/29/24
to BBEdit Talk
Thank you all for your suggestions of problem with PHP and Apache. For a person who is old and who has had no formal computer/language training, it has been a challenge.

I tried installing Local by WP in a Linux instance on Virtual Box as one trial. Even though it was a recent instance of Linux and the latest Local, it got itself lost and failed to find some of the files it needed to install. I’ll admit that I have a prejudice about Word Press. When I see WP, I always think of Word Perfect. Although clunky, in its day, I did a lot of page layout with it. Thanks anyway Kerri. It sounds like it works for you.

James, I looked at pkgx.sh and it looks like it could be quite thorough but perhaps more than I needed. I was a little hesitant to start the installation as I didn’t quite understand what what might be installed and I failed to see what might be expected or what to do if something went wrong.

Massimo. MAMP looked good and I recall the MAMP acronym from ages past when Apple did not include Apache in its installation. As a whole package, it looks like there is a lot you can do with it in terms of configuration.

Rick, your suggestions came in after I had solved my immediate issues late last night.

What I did to solve my particular issue was to use HomeBrew to create another instance of Apache2. It was able to deal with my previous installation of PHP (with HomeBrew) without additional certification. I did have some permission issue that was finally solved by adding permissions to the locations where I keep my draft sites.

Now I’m a happy BBEdit camper again. There certainly wan’t anything wrong with my BBEdit, in fact, it has been highly instrumental in tracking down files, comparing the old and new installations, and making minor (and major) edits to configuration files.

Thanks again all. Is this a great group, or what? GREAT.
Bucky

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages