How to install PHPStorm, PHP, Composer and Node on your macMini

I want to have a small developer environment on my old intel macMini. So I write down my steps for my further use if I need to reinstall this on a newer Mac.

Install Homebrew

Visit https://brew.sh and install Homebrew on your Mac. This allows you to easy install packages normally not available on your Mac like PHP, Node.js, Composer and stuff.

Just follow the instructions on the homepage, open your Terminal and copy & paste the command and run it. The rest is sit and wait. The install routine will install everything needed to have homebred up and ready for installing packages. BE PATIENT! ๐Ÿ™‚

Install PHP

Open your Terminal and type brew install php and run this command. Also sit and wait and watch the magic happens. Homebrew will install the newest PHP version. if you want to have a special version just modify your command like brew install php@8.3

Install NodeJS

On https://nodejs.org/en/download you can download a pkg for macOS. Simply installl it – done. This will install NODE and NPM

Install Composer

Install PHPStorm

Download The ToolBox for Jetbrains to install PHPStorm at https://www.jetbrains.com/toolbox-app/

Start the Jetbrains Toolbox and install PHPStorm

Problems adding two Lenovo Displays to MacBook Pro Mx via Lenovo ThinkPad Docking Station

I’ve bought a ThinkPad Docking-Station from Lenovo and two Lenovo 27″ Displays but if I connected the USB-C Cable of the Docking Station to the MacBook Pro the displays keep black. No Singnal ๐Ÿ™ – Direct Connection of one of the Displays to the HDMI-Port of the MacBook worked fine,m so I expected to have a problem with the Docking-Station.

After searching around I’ve found this software from Synaptics called DIsplayLink. Check the details on their page.

After installing and giving access to the system the displays are working and everything is fine. as long as I have seen, the software is free.

curl does not work on laravel with php 8

first be sure you have activated the curl-extension in your php.ini file.

After that get the cacert.pem file from curl – Extract CA Certs from Mozilla and safe it o your computer. i saved it into my php-directory. after that edit php.ini again and modify the following entry to point to the .pem.file:

[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
curl.cainfo = "C:\php\php80\cacert.pem"

How to install PHP 7.3 on Windows 10

First of all download the PHP-Version you want to install. In my case it will be the PHP 7.3 x64 Thread Save versio. This is the link to the download section on php.net: https://windows.php.net/download#php-7.3 In my case i downloaded the ZIP-file of VC15 x64 Thread Safe (2020-Oct-27 16:52:12). Unzip the ZIP archive to a new folde which will be your php installation folder. So choose wisely ๐Ÿ™‚ I used c:\php\php73 for that. After you have unzipped the PHP-Archive you need to locate the file php.ini-development and rename it to php.ini.

Open the php.ini file in any texteditor and change the extension_dir settings to the choosen directory, followed by an /ext. In my case its c:\php\php73\ext. Or you can set it like below:

; On windows:
extension_dir = "ext"

After that you need to add your path to the php-directory (in my case: C:\php\php73) to the Windows PATH variable. Search for “PATH” in the Windows Search-Bar to edit the environment variables.

Edit Environment Variables

Search in the system variable for the Path entry and edit this to add your PHP-path

After you have added your line click ok on all Windows to save your settings

To verify everything worked correctly open your command shell by typing cmd into the windows search bar

and type php -v in your command shell. You shall get the version information of your php installation. And now everything is done.

The same procedure is for every other php version like 7.x or 7.4. To install php in different directories (in my case C:\php\phpVERSION) gives you the chance to use different php version on Command Line Interface by setting the direct pth to the executable CLI.

I work hard on RolandRadio

Because of the Corona pandemic I finally have time to take care of my little RolandRadio and since the beginning of March the project is making great progress. New servers, new homepage and the complete development from one source. If I used to use WordPress I now use Laravel and the possibility to implement new functions by myself. And I learn programming on the side.

Check it out @ https://rolandradio.net

Really nice favicon-generator

If you want to do some favicons for all plattforms and get sourcecode and images done at ease, you shall give

https://realfavicongenerator.net

a try. It’s incredible easy. For all browser, all platforms and your favourite technology.

I used it for a small project i am working on and was stunned how easy it was to generate all kind of icons from one source with adding som enice options to the image itself.

Mr. Beam II arrived

Yes! After a very very long time (November 2016) yesterday my Mr Beam II laser cutter arrived. I pledged this thing on Kickstarter. ย But: I have no time to unpack this thing. Damn. At the Weekend there is the European Song Contest, so I need to cheer to Belarus’ music entry ๐Ÿ™‚ Whatever. I hope to unpack the Mr. Beam II soon and start my first steps into laser cutting.

First thing I will cut: my name. Second: Amstrad CPC 464 keyboard case ๐Ÿ˜€

Everything “new” again

I wanted to start today with my small Arduino project but realized, that i only can activate my computer’s operating system while being connected to my company’s active directory and domain. Damn Windows 10 Enterprise ๐Ÿ™‚ So i just started over again installing Windows 10 Pro. And I also set up my Arduino IDE. At the beginning I had some troubles connecting the NodeMCU board as i didn’t knew, that there must be separate board-settings loaded to the Arduino IDE. But the internet helped my very well with this blogpost. And I installed the settings and also already tested them with my board. works very well.

The Nectarine Scenemusic Radio Meeting at Revision

I like the photo. But i donโ€™t get all the names. I have a really bad name to face and face to name memory ๐Ÿ™‚ So i am sorry, i only can name three persons in this picture. Maybe someone can help me out with some names? Put it in the comments, so i have learned those names until next year!

From left to right: #1 Dont know, #2 Starchaser i think, #3 Kangaroo MusiQue, #4 Octoate, #5 i forgot her name, #6 Dingens, #7 some guy from the Netherlands, #8 Thexder, #9 Fan with beer, #10 is this maep behind him?, #11 have no clue but remember the name of the Wodka ๐Ÿ™‚

Update: Thexder sent me a message on Nectarine and gave me a list of the peoples names.

From left to right:
#1 Prowler
#2 Starchaser
#3 Kangaroo MusiQue
#4 Octoate
#5 Killerspoon
#6 Nosferatu
#7 Phlubby_Gnome
#8 Thexder
#9 Epso
#10 maep
#11 DJ Joge

Iโ€™ll learn those until Revision 2019. I promise!