Skip to content
Advertisement

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’ I also dont understand | meaning here also I don’t understand this part

“PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20160303/http.so'” after downgraded PHP from 8.1 to 7.1

We have a requirement that needs to downgrade PHP from 8.1 to 7.1 in our Ubuntu 18 server. After the downgrade, we’re seeing PHP Startup error everytime we check php -v Below is the exact error text: The missing libraries are really not found in the said directory as I checked. We have tried reinstalling as suggested from other forum

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 and all is working well EXCEPT, this system has a file upload/view/delete component to it.

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 yet for ubuntu 19.04:

cron command not found – CentOS 7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions about general computing hardware and software on Stack Overflow. You can edit the question so it’s on-topic for Stack Overflow. Closed 2 years ago. Improve this question I’m using CentOS 7. I want to run my laravel commands: but when I

PHP-FPM can’t access files in home directory — stat EACCES — “File not found”

I recently updated PHP-FPM to version 7.4.2 (on Arch Linux) and noticed it stopped working (everything was fine before) by responding “File not found” to all clients. The process, and also nginx, run under my personal user account (kevin UID 1000). Nginx serves static content from my home directory /home/kevin/.web just fine but PHP-FPM can’t execute PHP scripts in it.

Advertisement