Fixing PHP OPcache mysql_xdevapi Uncaught Error: Call to a member function limit()
I have Been playing with the X DevApi on MySQL 8. It’s really cool idea and I think I will need to write up about it in the near future. Anyway check it out on PHP Docs, https://www.php.net/manual/en/book.mysql-xdevapi.php and on the MySQL site https://dev.mysql.com/doc/x-devapi-userguide/en/devapi-users-introduction.html.
Disable IPv6 in Ubuntu
IPv6 is the next internet protocol, but most equipment is not ready for this yet. So running a small server on my intranet I have no use for it and frankly it started causing me some problems.
View Post
Installing PHP 7 on Ubuntu 16.04
In my last post Compiling PHP 7 on CentOS I showed how to compile PHP 7 on CentOS. In this post I will use the basis of that post and transfer the instructions for Ubuntu Linux. This will be a truncated example so if you want the details please refer to that post.
View Post
Disable Iptables in CentOS 6.4
I was setting up a test server using CentOS 6.4 and I couldn’t reach my webserver so I did a quick check of the firewall with:
View Post
Compiling PHP 7 on CentOS
This will install the development packages and libraries will will need. next we make the directory where we are going to put PHP I normally choose ‘/usr/local/php7’, instead of making a directory called ‘php’ I append the version number I am installing doing this will makes things easier if we want different versions of PHP installed so type
View Post
Installing Nginx in CentOS 7
Following on from my last post of upgrading MySQL to MariaDB my next task was to install Nginx as a replacement web server to Apache. I’ve been using Nginx for over a year now and am really impressed with it’s performance compared to Apache. I will also be enabling Nginx to use OpenCart.
View Post
Upgrading MySQL to MariaDB in CentOS 7.2
In my last post Upgrading CentOS 6.5 to CentOS 7.2 I upgraded the CentOS server, my next job was to upgrade MySQL to MariaDB. In CentOS 7 the default database is now MariaDB so in this post I will show the steps I took to do this.
View Post
Upgrading CentOS 6.5 to CentOS 7.2
I just recently had the job of upgrading a clients CentOS server from 6.5 to 7.2, this can be a little daunting at first but running some tests first in a VM worked well so I was OK to go. Here’s how I did it.
View Post
How to solve MySQL Error: Cannot load from mysql.proc
I recently updated my MySQL server to MariaDB without removing the original databases and got this error ‘Cannot load from mysql.proc. The table is probably corrupted’. It wasn’t stopping me do anything but was very annoying.
View Post
Installing Nginx, php-fpm, HHVM on Ubuntu 14.04
In this post I am going to show you how to setup PHP in a different way, instead of using the our old friends Apache and mod_php we will use Nginx web server, php-fpm and HHVM stack.
View Post
Getting .local domain working on OS X and iOS
I have been playing around with the Raspberry Pi recently and came across a problem, it happened when I put a web server on it and wanted to view it on my local network.
View Post