sebobo

@sebobo@neos.social

Neos CMS core team member, IT Freelancer, father, baker, SciFi, Gaming, GameDev, searchable

This profile is from a federated server and may be incomplete. Browse more on the original instance.

sebobo, to php

Been having problems with 2 local projects on my Mac closing the connection when using PHP-FPM. Finally after almost 1 year (since Sonoma apparently) I found the solution:

https://stackoverflow.com/questions/77554102/php-pg-connect-does-not-return-in-php-fpm-after-macos-sonoma-upgrade

The 2 projects were the only ones using PostgreSQL.
I was able to work on them with the PHP Server, so I only tried debugging the issue once in a while.

sebobo, to node

Best addition to any package.json, composer.json or other dependency managers file would be a mandatory „why“ field for each single dependency which requires a minimum number of sensible words.

Could make devs think twice before adding and help (me) when upgrading projects after some time.

sebobo,

Also this is probably the reason I dislike JSON for configuration as I cannot add comments.
Browsing old git commits sometimes helps to find out reasons for dependencies but I also want to understand the same for the tree.

Every dependency in addition to the base framework you might use is a cost and it adds up.
So I would love to see the „cost“ of a dependency before even installing it. Several times I added one and removed it again after seeing what it came with.

#Node #PHP #WebDev

sebobo, to fediBots

I’ve updated my blog post about blocking various "AI“ #bots from crawling your #NeosCMS website: https://mind-the-seb.de/blog/how-to-disallow-the-gptbot-from-crawling-your-neoscms-site

I've also decided to apply the same configuration to my own website.

#WebDev

sebobo, to macos

Das Feature von #MacOS (ab 13.0 glaube ich) Text aus pausierten Videos herauskopieren zu können ist einfach fantastisch bei Coding Tutorials usw.

Die Schnipsel enthalten zwar öfters kleine Fehler, aber die sind ja dann schnell behoben.

sebobo, to random
syntaxseed, to php
@syntaxseed@phpc.social avatar

So I have a Wordpress website which is deployed to the apache+nginx server with Ansible. A symlink in the webapp's document root is updated to point to the new release.

I'm encountering Apache (I think) caching the results and serving the index.php page in the old release until I modify the file. Even though the symlink points to the new release.

Any suggestions as to how to fix this other than tweaking the modified date on the old release?

#PHP #Devops #Ansible #Webdev

sebobo,

@syntaxseed the PHP realpath setting could help, checkout this blog post https://sandstorm.de/de/blog/post/realpath-cache-in-depth-or-fixing-a-tricky-neos-deployment-issue.html

Or you flush the PHP opcache, which should also help.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • modclub
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • megavids
  • provamag3
  • normalnudes
  • Leos
  • lostlight
  • All magazines