Development / Docker / Kubernetes / PHP / Ubuntu

PHP Profiler SPX – A Another Simple Profiling Tool

SPX is a PHP Extension for Profiling, also open source, very simple, multimetric capable and with out-of-box web UI for listing, sorting and report details. For installation, we need to build our extension. We can of course put the building phases directly into our Dockerfile, but I want to know, what things (extension file, webUI Files and configuration changes) need to come through the extension. For this reason, I make a seperate build process in my Dockerfile and copy everything this extension needs. I follow the steps from official documentation (Timestamp: 20.05.2022), please check, if new or old steps were […]

Apple M1 / Development / PHP

PHP 8 with Xdebug 3 on Apple M1

We can install Xdebug via pecl on MacOS with Homebrew. Paste that in terminal. And see if the php interpreter with Xdebug working: to correctly configuration Xdebug, locate (or create) section in php.ini file. Finding your currently php.ini location, type this in terminal: php –ini Open the php.ini file. add it as follows at the last lines of file Enjoy! 😊 Views: 40

Apple M1 / Development / PHP

PHP 8 Installation on Mac M1 via homebrew

Install first homebrew, if it is not already installed. Paste that in macOS Terminal. And follow the ==> Next steps: after Installation add homebrew to your PATH Actually Default Image for php from Brew Package Repository is a PHP 8. Here we can see that: Thats means, we can simple install the php 8 in a macOS Terminal with this command brew install php, but we want to explicit install version 8, other versions can be declared as standard in the future. Paste that in terminal after that, you should be linked the installed php as system default php interpreter, […]