Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 3 3 votes
1 answer 1 answer
176 views 176 views

Why do I need `zend_extension = xdebug`?

My system is: Windows 11 Pro Xampp PHP 8.2.12 xdebug v3.5.1 I define the binary in my php.ini as zend_extension = "D:\websites\php\ext\php_xdebug-3.5.1-8.2-ts-vs16-x86_64.dll" Everything ...
shoulders's user avatar
  • 31 reputation score 31
Score of 3 3 votes
1 answer 1 answer
199 views 199 views

Conditional jump or move depends on uninitialised value(s) with php_pcre_match_impl

I'm creating a simple function in PHP-C extension, I'm using PHP 8.3 from source, enable opcache and pcre.jit. I set ZEND_DONT_UNLOAD_MODULES is 1 and USE_ZEND_ALLOC is 0 for the Valgrind Inside my ...
Son Le's user avatar
  • 454 reputation score 454
Score of 0 0 votes
1 answer 1 answer
1241 views 1k 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: ...
JBubz's user avatar
  • 1 reputation score 1
Score of 0 0 votes
1 answer 1 answer
77 views 77 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 &...
Dylan's user avatar
  • 15 reputation score 15
Score of 1 1 vote
1 answer 1 answer
681 views 681 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: /...
user avatar
Score of 2 2 votes
1 answer 1 answer
74 views 74 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....
ond1's user avatar
  • 816 reputation score 816
Score of 2 2 votes
1 answer 1 answer
615 views 615 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 ...
Tyralcori's user avatar
  • 1,065 reputation score 1065
Score of 2 2 votes
2 answers 2 answers
101 views 101 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 ...
ond1's user avatar
  • 816 reputation score 816
Score of 0 0 votes
0 answers 0 answers
90 views 90 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....
MOM 74's user avatar
  • 21 reputation score 21
Score of -2 -2 votes
1 answer 1 answer
98 views 98 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 ...
PHPLover's user avatar
  • 13k reputation score 13037
Score of -1 -1 votes
1 answer 1 answer
75 views 75 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. ...
amalu's user avatar
  • 11 reputation score 11
Score of 0 0 votes
1 answer 1 answer
450 views 450 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 ...
XploD's user avatar
  • 377 reputation score 377
Score of 1 1 vote
1 answer 1 answer
68 views 68 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 ...
Richard Tyler Miles's user avatar
  • 695 reputation score 695
Score of 0 0 votes
1 answer 1 answer
358 views 358 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....
Noman Hameed's user avatar
  • 1 reputation score 1
Score of 0 0 votes
0 answers 0 answers
43 views 43 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 ...
Mastas's user avatar
  • 13 reputation score 13

15 30 50 per page
1
2 3 4 5
69
Morty Proxy This is a proxified and sanitized view of the page, visit original site.