IT Tips

Access

Blog History

NGINX + PHP-CGI + MYSQL On Windows 11

This is my setup to serve CakePHP from a virtual subdirectory on Windows 11 where http://localhost/subdir/ points to C:/dev/cake_test/webroot/ Run Terminal as Administrator then: Install chocolatey https://chocolatey.org/install Install MySQL, PHP and Nginx using...

read more

CakePHP 4 + VSCode + DebugKit SETUP

There are three configurations this post covers Local Development Use the default if working locally If you are using CakePHP 4 and developing on the local file system (straight from Windows) use this: Debugger::setEditor('vscode'); If your project is in...

read more

Postgres restore COPY Error

Error while running a restore ERROR: invalid input syntax for type timestamp with time zone: "202" COPY 4 Restore Command (I use docker but that isn't the problem) zcat ${RECOVERY_FILE} | docker run --env PGPASSWORD -i --rm \ postgres:14.5 psql -d ${DB_NAME} \ -h...

read more

VS Code Killed by OOM ON UBUNTU VM

Problem: VS Code on Ubuntu 22.04 VM exits with "killed code 9" journalctl | grep -i oom May 17 12:58:03 tgn-vm-ln-02 kernel: Out of memory: Killed process 43215 (code) total-vm:1186602700kB, anon-rss:189300kB, file-rss:0kB, shmem-rss:36296kB, UID:1000 pgtables:1412kB...

read more

Mysql wont Start

Ubuntu 22.04 with mysql-server 8.0.32-0ubuntu0.22.04.2 mysql wouldn't start with error sudo systemctl status mysql.service # output Error: 99 (Cannot assign requested address) Cause I was using Docker on this host and had added the the Docker network host IP Address...

read more

Microsoft on an M1 Macbook Pro

I have a Microsoft Partner Action Pack Benefit which includes licenses to Microsoft Operating System licenses. Included is Windows 10 and 11 Pro on the ARM architecture Next step is paying a $99USD upgrade from VMWare Fusion Pro 12.x to 13.x which will run arm64...

read more