1,033 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
928 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
60 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
564 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: /...
2 votes
1 answer
68 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
536 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
85 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
77 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
91 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
65 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
404 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
59 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 ...
0 votes
1 answer
335 views
Getting Error when try to enable bcmath extension on heroku using composer.json file
I am trying to enable bcmath php extension on heroku using composer.json file as per documentation instructions article. When try to build i got error remote: Problem 1 remote: - Root composer....
0 votes
0 answers
34 views
Define variable to auto run extension on file load
Is it possible to predefine some type of constant inside my own php extension, so php compiler will recognise it in file and then passes php code to my extension? I want to write some sort of custom ...
1 vote
1 answer
455 views
compiling shared php-module as dll (windows)
i'm trying to compile a shared extension for php 8.3.6 x64 for windows i basicly followed these instructions: https://ourcodeworld.com/articles/read/804/how-to-compile-a-php-extension-dll-file-in-...