Skip to content

Tag: php

dont understand Linux command

I’m working on existing php project and I’m totally beginner with that . I ‘m trying to understand this line of code . I’ve searched alot and I know that exec is used to run unix command . But I don’t understand the first part /usr/local/sbin/clog ‘/var/log/filter.log&#8217…

Docker nginx php permissions issue

I’m just learning Docker and took on a little pet project and wondering if something is possible permission wise with docker/nginx/php. I’m attempting to convert an old IIS-Windows/php/MySql project of mine to Docker/nginx/php/mysql I’m most of the way there and have the 3 containers linked …

Class ‘IlluminateSupportfacadesHttp’ not found

My Laravel app was running successfully locally on my PC using WAMP server When I deployed my app on a RedHat server, I faced the below error when I make an HTTP request: The only difference is the PHP version composer.json And please note that locally, i upgraded my laravel version from laravel 5 to laravel …

is shell_exec() sub-process supposed to inherit euid?

i’m running php-cli 7.3.19 as root (on a Debian 10 Buster, linux kernel 4.19.0-8-amd64), and after using posix_seteuid() to change my euid, is sub-processes supposed to inherit my euid? i thought the answer was yes, but testing it, it seems whoami inherits my uid as it’s euid, rather than inheriti…

How can I install php7.4 on Ubuntu 19.04?

After adding the ppa ondrej/php, I try sudo apt-get install php7.4, but the output is I have checked and there is a package that should install with that command, but I must be doing something wrong? Answer have you tried updating your rep? I didn’t pay enough attention, this package doesn’t exist…