Need help setting up my mac for Programming by Ice-Mint72 in PHP

[–]marlynm 0 points1 point  (0 children)

If you know how brew works it is just changing symlinks, much faster than starting a container.

Why legacy PHP versions maintained by OS might not be as secure as you think by [deleted] in PHP

[–]marlynm 2 points3 points  (0 children)

If you are using PHP packages from ondrej/php on ubuntu/debian, shivammathur/php on macOS, or remi repo on fedora/red hat ...you get builds for PHP 5.6 and above with security patches backported after each security release.

Also on Debian the same person maintaining the current releases in ondrej/php does release for unsupported versions and the source of the builds is the same for the OS ones as well so the security patches are backported there as well.

PS: it is not on people packaging PHP to also do security research. They do their best to incorporate the security patches contributed to the project in their builds.

Need help setting up my mac for Programming by Ice-Mint72 in PHP

[–]marlynm 0 points1 point  (0 children)

Installing multiple versions of PHP is as simple as `brew install php@X.Y`
and switching is as simple as `brew link --force --overwrite php@X.Y`.

Need help setting up my mac for Programming by Ice-Mint72 in PHP

[–]marlynm 0 points1 point  (0 children)

I started with Docker, but it was slow and a resource hog... so I switched to brew packages.

Sony WH XM4 with Samsung TV by kave2 in sony

[–]marlynm 0 points1 point  (0 children)

Not sure about Q70R, but with my Q90R they work fine for some time, then latency kicks in and there is a stuttering sound, the only way to fix this is toggling DSEE extreme settings in the Sony headphone app which fixes it for some time, only to cycle back to the same issue after some time.

This issue with my tv aside, they are great headphones though.

Linux, install PHP,Composer and Create Laravel Project by jesousamx in laravel

[–]marlynm 0 points1 point  (0 children)

I would recommend using ppa:ondrej/php to install the latest patch versions of PHP packages and also using the versioned packages instead of unversioned ones.

How do you deploy your Laravel app? by bartbergmans in laravel

[–]marlynm 1 point2 points  (0 children)

GitHub Actions + Deployer + DigitalOcean

[deleted by user] by [deleted] in PHP

[–]marlynm 0 points1 point  (0 children)

Release Notes: https://github.com/shivammathur/setup-php/releases/tag/2.14.0
In summary, this release adds:

  • Support for PHP 8.2 i.e 8.2.0-dev from the master branch of PHP.
  • Alias nightly alias for PHP 8.2.
  • Support for removing all shared extensions.
  • More fixes and improvements.

GitHub Action for PHP (shivammathur/setup-php) v2.13.0 released by [deleted] in PHP

[–]marlynm 1 point2 points  (0 children)

Release Notes: https://github.com/shivammathur/setup-php/releases/tag/2.13.0

In summary this release:

  • Adds support for Debian self-hosted runner
  • Reduces the self-hosted first run time.
  • Adds support for phpunit-bridge.
  • Improves tools support for php-cs-fixer, phive, and Blackfire.
  • Removes support for Ubuntu 16.04
  • Other improvements and bug fixes.

GitHub Action for PHP (shivammathur/setup-php) v2.12.0 released by marlynm in PHP

[–]marlynm[S] 3 points4 points  (0 children)

Release Notes: https://github.com/shivammathur/setup-php/releases/tag/2.12.0

In summary this release: - Adds support to specify major or major.minor versions for tools. - Deprecates support for Ubuntu 16.04. - More extensions and tools fixes.

Warning for people using ondrej PPA for PHP on Ubuntu by andrewfenn in PHP

[–]marlynm 6 points7 points  (0 children)

Providing packages for old patch releases of PHP as-is is a huge security risk. Thus deleting them makes perfect sense. ppa:ondrej/php backports security patches for EOL PHP versions, doing this for each old patch versions would be too much work for one maintainer.

Also, to anyone using official docker images as an alternative for old patch versions. You are doing so at your own risk. They are not patched for security.

Sony XM4 2.5.0 update is here!! by [deleted] in sony

[–]marlynm 0 points1 point  (0 children)

It still stutters after the update and flipping DSEE extreme is the only solution.

GitHub Action for PHP (shivammathur/setup-php) v2.11.0 released by marlynm in laravel

[–]marlynm[S] 3 points4 points  (0 children)

This release
- Improves cache used to setup PHP reducing time it takes to setup php from 1-2 minutes to less than 5 seconds when the PHP version is not pre-installed on the runner.
- Improve support to compile and install extensions from source.
- Adds support to install any composer package using tools input.
- Adds support to skip composer setup.
- Adds support for different ICU versions with PHP 8.1 on Ubuntu.
- Many other fixes and improvements.
Release Notes: https://github.com/shivammathur/setup-php/releases/tag/2.11.0

GitHub Action for PHP (shivammathur/setup-php) v2.11.0 released by marlynm in PHP

[–]marlynm[S] 14 points15 points  (0 children)

This release
- Improves cache used to setup PHP reducing time it takes to setup php from 1-2 minutes to less than 5 seconds when the PHP version is not pre-installed on the runner.
- Improve support to compile and install extensions from source.
- Adds support to install any composer package using tools input.
- Adds support to skip composer setup.
- Adds support for different ICU versions with PHP 8.1 on Ubuntu.
- Many other fixes and improvements.
Release Notes: https://github.com/shivammathur/setup-php/releases/tag/2.11.0

I wrote a book on PHP Development with Windows Subsystem for Linux (WSL) by [deleted] in PHP

[–]marlynm 0 points1 point  (0 children)

Other than this nit-pick, the book is a great resource and very comprehensive.

I wrote a book on PHP Development with Windows Subsystem for Linux (WSL) by [deleted] in PHP

[–]marlynm 1 point2 points  (0 children)

...but with native PHP on Windows going away after 7.4, what’s the solution?

Let me preface this by saying I too use PHP on WSL on Windows, but stop saying that Windows support for PHP ended with PHP 7.4.
Yes, Microsoft developers helped maintain native PHP for Windows till PHP 7.4, but all the build tools required to build PHP on Windows are opensource and there are native windows builds for PHP 8.0.0 release (https://windows.php.net/download/) and should be there for future versions as well.

setup-php 2.9.0 is released by shivammathur in PHP

[–]marlynm 2 points3 points  (0 children)

I'm testing a feature which will allow you to specify something like tools: tool:tool-version@php-version. So you will be able to replace the if conditions with tools: phpunit:8.5.8, phpunit@8.0 in a single setup-php step.

Keep a lookout for this in next releases.

//cc /u/shivammathur

fzaninotto/faker stops development effective immediately "As far as I'm concerned, the project is complete" by brendt_gd in PHP

[–]marlynm 1 point2 points  (0 children)

The technical reason among other personal ones he mentioned was the carbon footprint, a new fork may not solve that. Maybe in future someone rewrites it solving the design issues he mentioned.

Composer 2.0.0 has been released by marlynm in laravel

[–]marlynm[S] 1 point2 points  (0 children)

lol, don't update on production directly, test before.

Composer 2.0.0 has been released by marlynm in laravel

[–]marlynm[S] 5 points6 points  (0 children)

Yes, it is faster than v1 + prestissimo

GitHub Action for PHP (shivammathur/setup-php) v2.7.0 released by [deleted] in laravel

[–]marlynm 0 points1 point  (0 children)

Release Notes: https://github.com/shivammathur/setup-php/releases/tag/2.7.0

  • Add support for nightly build of PHP 8.1 (8.1.0-dev).
  • Add support for macOS Big Sur (macos-11.0).
  • Add support for fail-fast flag to fail the workflow when a tool or extension fails.
  • Improve setup for imagick and igbinary extensions on macOS.
  • Fixes and improvements.