1,036 questions
0
votes
0
answers
20
views
PHP extensions are not being installed correctly while using Docker [duplicate]
This is my first time trying to use Docker. I am trying to set up a PHP project that uses the mysqli PHP extension, but for some reason, it is not installed when I build my Docker container. I've been ...
0
votes
1
answer
801
views
PHP 8.4.3 unable to load extension intl despite being uncommented and at the path specified
I am attempting to install the latest version of MediaWiki (1.43), and I am using PHP version 8.4.3. The OS is Windows Server 2022 Datacenter.
Here is the error I get from command-line:
PHP Warning: ...
0
votes
1
answer
52
views
how can I get the result of openssl_public_decrypt?
The result is "Decrypted data is not a string", I don't know why
#include "php.h"
#include "ext/standard/info.h"
#include "ext/standard/php_string.h"
#include &...
1
vote
1
answer
45
views
Is it safe to invoke php callback on multiple threads? [closed]
In my PHP-CPP extension, I use C++ threads to implement asynchronous workers that invoke passed PHP callbacks. Is it safe to run PHP callbacks in parallel as long as they are not using shared data?
0
votes
0
answers
33
views
sqlsrv drivers in php8.2 not loading in
i have a php problem. i need to install the sqlsrv drivers. i did that. i added them in the ext folder (i am using xampp and had to create it myself). see image of finder window.
then i added the ...
1
vote
1
answer
517
views
Unable to install openswoole extension in php 8.3.6
I am trying to built and extension of openswoole from more than 13 hours but getting the same error again and again.
PHP Warning: PHP Startup: Unable to load dynamic library
'openswoole.so' (tried: /...
0
votes
0
answers
80
views
How to reproduce my server's PHP environment in Docker?
I have a server running PHP 5.5.38 and I want to make a Docker container to run the code locally so I can test my changes before pushing them to production over FTP.
Unfortunately the code doesn't run ...
2
votes
1
answer
66
views
How do you call an ArrayIterator instance method from within a PHP extension
In SaxonC PHP extension (written in C++) I am writing utility to allow users to write custom functions in their PHP script which will get called in XSLT, XPath or XQuery. I am using the zend framework....
2
votes
1
answer
504
views
FrankenPHP: How to use my own zend extension
I just found out about FrankenPHP - it's running really good so far. To make a benchmark test, i have to integrate my own PHP Zend Extension first, to see if it is viable to dig deeper into this. My ...
2
votes
2
answers
80
views
How do you know you have an ArrayIterator in a PHP extension
In SaxonC PHP extension (written in C++) I am writing utility to allow users to write custom functions in their PHP script which will get called in XSLT, XPath or XQuery. Therefore we have to handle a ...
0
votes
0
answers
74
views
How to expose functions from decrypted code in PHP extensions
I am trying to secure my laravel project, or at least the most critical parts of it. I am planning to make it a SaaS but it will take me sometime so I was going to just encrypt most of the project....
-2
votes
1
answer
88
views
What does it actually mean by "supporting ports of PHP extensions or features"?
I'm using Windows 10 Home Single Language 64-bit operating system, x64-based processor having Version 22H2 on my laptop.
Today I come across the below text on the website dedicated to supporting PHP ...
-1
votes
1
answer
58
views
php not loading mongodb extension in xampp
I am trying to connect my laravel project to a mongodb. My php version is 8.1. I downloaded the threadsafe x64 for php 8.1 from text and pasted the dll file in my ext folder in php folder of xampp. ...
0
votes
1
answer
393
views
How to install mongodb PHP extension for PHP 7.1 in 2024
I did a clean install of my system and currently running Ubuntu 24.04. I have a legacy project running on PHP 7.1 which uses MongoDB so I need to install the extension for PHP 7.1.
And here comes the ...
1
vote
1
answer
54
views
C Module for PHP expected expression during PHP_FE [closed]
I'm trying to write a Hello World repository that takes a standard C function and exposes it as an internal/built-in function to PHP (and other languages written in C).
[ 27%] Building C object ...