php-extension Questions
2
Solved
I'm working on a Windows workstation, on which I use WampServer as my development platform, to write PHP applications which are then run on Linux.
I'm pretty used to APC on Linux, which is blazing...
Thrill asked 4/7, 2011 at 18:35
1
Solved
I am trying to build my own zend module (.so)
We have multiple functionality that can be done in our own module which will improve our performance on a high traffic website (50k+ visits a day).
T...
Votary asked 20/11, 2011 at 17:2
3
Solved
I'm going to buy a (cheap) hosting space with apache/php 5/mysql. Because it's cheap i have no direct control over php.ini and extension loading.
My question is: can i load an extension putting th...
Incommodity asked 7/10, 2011 at 15:23
1
In the past i did create a shared library that now I would like to use it inside a php extension. Is it possible to do that? As I've seen in the config.m4 file PHP_NEW_EXTENSION() asks for the .cc ...
Parlance asked 2/9, 2011 at 13:13
0
I am writing a PHP extension. From the C code I try to invoke a static method in PHP code.
The PHP-method looks like this:
<?php
class Model {
static method GetModelById($id) { ... }
}...
Metabolize asked 31/7, 2011 at 18:12
3
Solved
After compiling my own php extension using VC9 (2008) and VC10 (2010) using the next steps:
http://blog.slickedit.com/2007/09/creating-a-php-5-extension-with-visual-c-2005/
I get the next error w...
Hangup asked 4/9, 2010 at 9:56
3
Solved
I have a copy of php_memcache.dll (from php_memcache-2.2.6-5.3-nts-vc9-x86.zip) which I have placed in my C:\wamp\bin\php\php5.3.5\ext folder.
In WAMP I can see php_memcache in my extensions list,...
Illassorted asked 11/2, 2011 at 15:49
2
Solved
What are first steps creating a loadable DLL module extension for PHP to create native support for my own library on Windows?
Would it require re-compiling PHP on windows? What are the tools neede...
Ildaile asked 26/3, 2010 at 8:34
3
Solved
Firstly this is about php4Delphi not RadPHP (formerly Delphi For PHP).
Using
Delphi 2010
PHP 5.3.6 (VC9, NTS)
php4Delphi 7.2 (compiled with VC9 directive)
Windows Server 2008 R2
IIS 7
When try...
Protectorate asked 15/6, 2011 at 8:28
2
Solved
Is it possible to create PHP extensions with Haskell?
Usually PHP extensions are written using C. Is using Haskell FFI to provide functionality for a stub C extension possible (or even a good idea...
Spice asked 17/5, 2011 at 12:36
1
Solved
how can i write my own module in C ?
is it possible ?
Quadrat asked 12/4, 2011 at 6:32
3
Solved
I created a PHP Hello World extension DLL with Microsoft Visual C++ 2008. I have the right php.ini (I know because when I enable and disable the gd2 extension, there is an effect), but when I load ...
Sniffle asked 5/2, 2011 at 15:34
3
Some php wamp/lamp packages come with php extensions packaged within like php_amf, php_db, php_gd2 and I just have to activate the extension, or install the extension if it doesn't come by default....
Precious asked 10/2, 2011 at 17:21
1
Solved
I've been reading about the commonly used interfaces of PHP from the SPL, such as Iterator, Countable, and ArrayAccess. However, I don't understand exactly how they work.
Do their implementations ...
Aleron asked 1/1, 2011 at 16:31
1
Solved
I'm trying to publish messages to RabbitMQ from a php (5.2.x) script on my windows X64 dev machine.
The problem is that I didn't find any dll extension for php. My collegue is actually trying to b...
Broncho asked 15/9, 2010 at 9:40
1
Solved
I can't find one and I don't know if any of PHP Compression and Archive Extensions will work.
Do you think I could use a compression stream to read data from a 7z file?
UPDATE
7z forums have a...
Serrate asked 8/10, 2010 at 7:31
2
Solved
I'm writing a PHP5 extension, and while I could write it in C, it would be easier to use C++ and take advantage of the STL and Boost.
Trouble is, the tutorials I've seen only deal with C, and I'm ...
Springlet asked 29/1, 2009 at 15:19
3
Please suggest help articles or tutorials about PHP "low" level С-modules programming interface.
Tenpin asked 21/8, 2009 at 11:19
1
I've created a PHP extension with SWIG and everything works fine, but I'm observing some strange garbage collection behavior when chaining method calls. For example, this works:
$results = $respon...
Guiltless asked 19/8, 2010 at 20:44
1
Solved
I want to convert Zval to char*. how do i do that in my php extension?
Sidran asked 31/8, 2010 at 4:54
1
Solved
I wrote an extension in C++ that uses libtidy, and it runs perfectly under PHP when I compile PHP --with-tidy.
However, it would be nice to have the extension run on a vanilla PHP. When I try to u...
Materiality asked 5/6, 2010 at 19:18
1
Solved
I have written some C/C++ extension modules for PHP, using the 'old fashioned way' - i.e. by using the manual way (as described by Sarah Golemon in her book).
This is too fiddly for me, and since ...
Naarah asked 31/5, 2010 at 6:5
3
Solved
I want to install the PHP ITL extension so I can use it.
Do I need to compile this, and if so, how do I compile it? I need it to work for both Windows and Linux.
Troubadour asked 9/2, 2010 at 0:7
3
Solved
I have a performance intensive routine that is written in PHP that I'd like to port to C++ for a performance increase. Is there any way to write a plugin or extension or something using C++ and int...
Lockhart asked 10/7, 2009 at 16:48
1
Solved
I'm currently rewriting a PHP Extension that was originally written for PHP 4.2.2. My issue is having the build/compile process generate a .dll instead of compiling the extension into the PHP core....
Glazed asked 7/7, 2009 at 18:17
© 2022 - 2024 — McMap. All rights reserved.