Skip to content
Advertisement

Tag: php

Php Imagick error: undefined symbol FT_Done_MM_Var, how can i fix it?

Complete output: Warning: PHP Startup: Unable to load dynamic library ‘imagick.so’ (tried: /opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/lib64/libharfbuzz.so.0: undefined symbol: FT_Done_MM_Var), /opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 My OS: Fedora 36 Installed packages: ImageMagick ImageMagick-devel ImageMagick-perl php php-common php-pear php-devel gcc php-imagick. Imagics.so installed via pecl in xampp Answer Ok, to install imagick

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

Failed to start The PHP 8.0 FastCGI Process when update to php8.0

I am trying to update from php7.4 to php8.0 I applied the following steps But I got the error Knowing that there is no “php-fpm.conf” file in “/etc/php/8.0/fpm/” Answer By logs I see somehow You’ve lost config file: /etc/php/8.0/fpm/php-fpm.conf So I found one in my server and put to Gist. Need to put that on Your server. In terminal: if

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.

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 7 from the beginning.

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 inheriting my euid as it’s euid, is that intended behavior? to

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:

Advertisement