php-extension Questions
3
Solved
I am trying to install memcached in my mac. I have downloaded and installed it. I added it to php.ini as well. But still memcached doesnt load. I realized that the problem is with the API version m...
Tisbee asked 15/1, 2013 at 4:5
3
Solved
I have Windows 7 64 bits, PHP 5.4.3 installed through WAMP 2.2 and imagick (ImageMagick-6.8.3-9-Q16-x64-dll.exe). I tried to use the php's dll of imagick from a lot of sources but all of them give ...
Colorific asked 16/3, 2013 at 4:16
4
Solved
I am trying to build the memcached extension on OS X 10.9 Mavericks for use with the built in PHP 5.4, initially I tried pecl install memcached but that threw the following.
checking for zlib loca...
Sodomite asked 23/10, 2013 at 1:34
1
Solved
In my C extension, I can throw a PHP exception to the calling function with zend_throw_exception. The first parameter to that function is a zend_class_entry that specifies what type of exception to...
Homeland asked 6/8, 2014 at 17:46
2
Solved
I am writing a PHP extension in C, and I would like to put the classes, functions, and variables I am creating in a namespace. I have not been able to find anything in the extension documentation r...
Eckstein asked 10/7, 2014 at 22:43
2
Solved
I downloaded an API that uses this php function http_build_url().
Everytime I run my application it says:
Fatal error: Call to undefined function http_build_url()
I made a research and found ou...
Abuttal asked 13/10, 2011 at 8:58
3
Solved
I have followed the following steps in http://bytehash.appspot.com/2012/02/Installing-imagick-for-php-in-windows-under-xampp i have downloaded the dll file for imagick and added this into xampp/php...
Middleoftheroad asked 30/8, 2013 at 10:20
2
I want to setup webpay on my local
Installed SWIG
Added webpay extension to php.ini
Then I tried to execute the test.php it shows the following error:
--------error while opening file [libwebp...
Townspeople asked 20/4, 2011 at 10:4
1
Solved
When I run the command
php -v
this error comes up
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/module.so' - /usr/lib/php/modules/module.so: cannot open shar...
Ollieollis asked 21/5, 2013 at 19:2
2
I created 4 files to wrap a c++ class in php Extension.Now I want to run the code for wrapping.But I have no idea about that.How can I run the code?
I'm following the tutorial over at http://devzo...
Hangman asked 13/7, 2012 at 12:54
2
Solved
I've tried to create some php extension.
For the first I compiled php 5.3.6 with --enable-debug --enable-maintainer-zts.
Then I ceated my extension and use standart procedure for it
phpize
./conf...
Allure asked 24/6, 2011 at 17:22
1
Solved
I'm developing a PHP extension, using C. So far I'm working on the proper validation of arguments, passed to the extension's function from PHP userspace.
The macro ZEND_BEGIN_ARG_INFO_EX can be u...
Mclin asked 31/1, 2013 at 21:3
2
Solved
I created an extension for djondb, it's a wrapper of the library which is a C++ Library, I compiled it and it's available to be downloaded from djondb site, I'm not an expert on PHP and I've been h...
Hypothesis asked 27/1, 2013 at 18:37
2
Solved
I wrote a PHP extension to access functions in a static lib, I built PHP as a CGI, and everything seemed to work (after days of working on it..)
Thrilled once everything worked, I re-compiled PHP ...
Hillman asked 2/1, 2013 at 15:36
2
Solved
Ok, I'm running MAMP 1.9.5, which includes PHP 5.3.5, on my MacBook Pro.
The "intl" extension isn't included/activated and I've tried a lot of different ways to install it ("./pecl install intl" d...
Loyalist asked 29/3, 2011 at 7:48
1
Solved
I am trying to write an extension for php5.4 which basically wraps a very simple class in CPP.
This is for education purposes.
I find the way to do it in php5.4 has changed from php5.3
Where d...
Gide asked 31/12, 2012 at 19:47
1
Solved
So I decided to write an extension for php. Everything seems to be fine except I'm stuck on a tiny problem.
I have php-5.4.9 source codes. There is file ext/standard/mail.c with awesome function
...
Niddering asked 27/11, 2012 at 19:58
3
Solved
I need a way to find all the available PHP extensions whether they are loaded or not. I looked at How do I see the extensions loaded by PHP? but it only explains how to find loaded extensions. I wa...
Discontinuous asked 28/8, 2012 at 10:41
3
Solved
In PHP 5.3 is there a way to rename a function or "hook" a function.
There is the rename_function() within "APD" which has been broken since ~2004. If you try and build it on PHP 5.3 you'll get th...
Mordent asked 17/5, 2010 at 2:26
1
Solved
I am trying to install a 3rd party PHP extension (.so) into PHP 5.3.6-13 on Ubuntu 11.10 and use it in a web environment. The vendor's documentation suggests using the dl() function to dynamically ...
Thyroiditis asked 31/8, 2012 at 19:46
1
Solved
i'm writing a php extension for my c++ library which is defined something like this:
bool getPids(map<string,string> pidsMap, vector<string> ids);
now, i'm writing a php wrapper for ...
Streamline asked 6/8, 2012 at 18:49
2
Solved
I'd like to create and return an array of arrays in a PHP extension. From what I understand, I should allocate the space for the array elements using emalloc(), but what I don't understand is when ...
Feces asked 10/4, 2012 at 16:45
3
Solved
I'm dabbling with creating a PHP extension for a personal project. Beyond what's linked in the above article I have no knowledge of the zend_engine, and my C skills are 10 years out of date, and we...
Redness asked 19/3, 2012 at 16:31
2
I'm embeding PHP in my app (writen in Delphi 2010), using PHP4Delphi component to interface with php5ts.dll.
I guess my program acts as extension for the PHP (sapi module?) as it registers some fun...
Marchpast asked 25/4, 2011 at 12:36
1
Solved
I am trying to install the gearman PHP extension on Ubuntu 10.04 with PHP pinned to 5.2, but PHP is telling me it's not a valid Zend extension.
There are no errors when compiling from source (or i...
Testudo asked 21/12, 2011 at 20:57
© 2022 - 2024 — McMap. All rights reserved.