Setting up OCI8 and Oracle XE with Docker on macOS

Integrating OCI8 with a PHP environment can be challenging, but recent updates have simplified the process significantly. Follow this guide to get everything set up seamlessly. Adding OCI8 support to PHP Oracle has streamlined the process for adding OCI8 support to PHP. Clear, user-friendly instructions are available in this Gist. Follow the steps outlined to prepare your PHP environment for OCI8. Setting up Oracle XE in Docker Once your PHP environment is ready, you can move on to Docker setup....

December 23, 2024 · 1 min

Working with PHP, Ollama and embeddings

While LLMs, such as the popular GPT family models, are incredibly advanced, they do have their limitations. Primarily, they rely on a static set of knowledge learned during their training phase, which means they might lack specific knowledge on certain topics. One of the key concepts in working with textual data is embeddings. These are representations of text in a dense vector space, where similar items are mapped to nearby points....

June 9, 2024 · 2 min

Generating a custom domain link in CodeIgniter 4

How can we handle generation of a custom domain link in CodeIgniter 4? Although this is not a built-in feature, we can deal with it in a fairly simple way. ...

July 31, 2022 · 2 min

Setting dynamic subdomains for every user account

What if we want every user in our application to have his data served through his own subdomain? I will show you how to do it in CodeIgniter 4 framework. ...

October 18, 2021 · 3 min