I have a problem with pthreads in PHP.
When I start apache I see error like this:
php.exe - Entry point not found
The procedure entry point was not found _zend_hash_update@@12 in library D:\xampp\php\ext\php_pthreads.dll
When I execute script in…
PHP's mb_detect_encoding() doesn't understand the MacRoman encoding. My app allows users to upload data in csv format and I need to convert it to utf8 because the users are not tech-savvy. I will never be able to get all of them to understand how to…
I'm getting the error message below from a Symfony 2.8 application running PHP 7.2.8 on an Amazon Linux 2 server.
Fatal error: Uncaught RuntimeException: Extension DOM is required. in…
I have a server running on Ubuntu 16.04 running Laravel app version 5.6.29 on PHP version 7.2.8.
I have set up some queue jobs to upload videos to the server and compile them and upload to s3 bucket. Suddenly from the past few hours,I am facing the…
I am trying to access the query string parameters in Symfony 4
namespace App\Controller;
use Symfony\Component\HttpFoundation\RequestStack;
class Home extends Controller {
private $request;
public function __construct(RequestStack…
I'm currently preparing a development stack on macOS with docker-compose to be able to use Xdebug (Port: 9009) on PHP7-FPM (Port: 9000) and nginx (Port: 80) server.
Apparently the configuration is OK, but I am not able to debug through the…
I need to implement openSSL in my application, because we had to change the version from 5.6 to version 7.2
I would like to understand how to solve this problem.
Any doubts that arise about my environment, or how I am using the application, just ask…
I'm using TCPDF plugin to generate the PDF in PHP 7. The same code is working fine in the lower version PHP 5 but when I run this same code in the PHP 7 it's giving the below error message.
A PHP Error was encountered
Severity: 8192
Message: The…
I have a working php application and it is running fine on php 7.0 version. But when I upgrade a php version to 7.2. I am getting this error:
count(): Parameter must be an array or an object that implements Countable
I am getting errors on code…
I am installing a fresh kubuntu system 18.04, which is using by default php7.2
A composer install for my current software project gibves me this error message:
The requested PHP extension ext-mcrypt * is missing from your system.
Install or…
I try to install PHP 7.2 LDAP in Centos 7 with
yum install php-ldap
i also has uncomment extension=ldap.so in php.ini
but ldap still has no longer in phpInfo.
Anyone help? i use apache.
When you do array type-casting of json_decoded value (with $assoc = false), PHP creates an array with string indices:
$a = (array)json_decode('{"7":"value1","8":"value2","9":"value3","13":"value4"}');
var_export($a);
//array (
// '7' =>…
I installed php-apcu with apt-get install on PHP7.2-apache-stretch but not able to enable it. The apcu.so and apcu.ini files are created during installation . Service Apache is also restarted and the content of apcu.ini is also good but php -m is…
I have had a bitbucket pipeline setup which had been working flawlessly for a year yet it stopped working few days ago
Here is the beginning of my bitbucket config
image: atlassian/default-image:2
options:
max-time: 30
pipelines:
default:
-…