Skip to content

Tag: debian

Can not install php7.4-soap on Debian 9

I am using Debian 9, and I recently upgraded PHP from 5.6 to 7.4. I was hit by the Class ‘SoapClient’ not found error when running an old PHP script, which worked very well under PHP 5.6. The phpinfo() lists “SOAP” module but it doesn’t have a dedicated “soap” section…

PHP 7.2 fails to start when pm.max_children > 506

on Debian 10 when I set pm.max_children = 507 or more and try to start php7.2-fpm I get following error: When I set pm.max_children = 506 or less all is working fine. My www.pool config: My server config: 10-core CPU 256 GB RAM What can cause that? Is there some hard limit on how much php-fpm children can be …

Error when saving data on a specific date and time

I have a server with Debian 10,Apache/2.4.38, MySQLi, mongodb and Php. The server is running a custom PHP program which allows users to upload their measurements (in .csv files) which are then stored in mongodb. The uploaded .csv files must comply with a predetermined format in order to be uploaded, like so: …

php7 fpm sock file ownership on service restart

I have just installed PHP7 https://github.com/kasparsd/php-7-debian Everything works except each time I do service php7-fpm restart I need manually to set ownership on file /run/php7-fpm.sock to www-data After setting the permissions everything works.. But how to avoid this on every restart? The ownership is …

Mysqli not installed?

I get the following error: Fatal error: Class ‘mysqli’ not found in my php script I have php5.3.3-7 installed and I get this when I run apt-cache show php5-mysql There is nothing about mysql at all in php info. How do I find the extention and do I have to istall it? There are many references to my…