Skip to content

Tag: php

PHP Thread compilation not working

I am attempting to use pthreads with Apache FPM. Step 1. After installing and recompiling php according to: https://blog.programster.org/ubuntu16-04-compile-php-7-2-with-pthreads The server works as expected and I can run pthreads from CLI. Step 2. Then I need to run threads from a web server so I followed th…

Difference between PHP 5.6u and PHP 5.6w

I’ve been going through running PHP 5.6 and now looking at 7 running on CentOS 7 (typically 5.4) and I had been installing php56u and now I’ve been seeing php56w and I can’t find anywhere what the difference is. Answer The last letter represents some sort of informal way of designating the o…

PHP – Concern running bash scripts through website

I am working on a game panel and I building it in PHP and BASH. So, the web panel controls the game severs by running bash scripts when buttons are pressed. So far so good. My problems come when I need to run the bash scripts because the user running them needs sudo privileges or the scripts will have a

Remove PHP errors from CLI and PHPMyAdmin

I’m currently getting the following errors when using PHP via command line and on PHPMyAdmin. Command line error PHPMyAdmin error What’s the easiest way to disable these errors? The command line errors don’t make sense because all them work correctly. When I navigate to the directory where i…