php-extension Questions
7
Solved
I need to get the memory usage of the current process in C. Can someone offer a code sample of how to do this on a Linux platform?
I'm aware of the cat /proc/<your pid>/status method of gett...
Marrin asked 13/10, 2009 at 5:53
3
Solved
Is it possible to get extension version in php?
get_loaded_extensions returns only loaded extentions names, but not versions :(
Ockeghem asked 31/1, 2013 at 12:51
1
Solved
I am trying to install SPL_Types extension in my PHP 7.1.8 compiled from source.
I have tried with sudo pecl install SPL_Types and compiling the extension from source, but I get the following outp...
Exegete asked 28/8, 2017 at 2:54
3
Solved
I'm intermittently getting this issue in my PHP scripts (PHP 5.6, Apache 2.2):
Warning: Cannot modify header information - headers already sent in /path/to/index.php on line 55
This warning do...
Orator asked 16/3, 2017 at 7:17
2
Solved
I have a problem with Docker (docker-compose). I want to install some PHP extensions using docker-compose.yml, but I am unable to do this, because my .yml has FROM ubuntu and not FROM php. Is there...
Sirloin asked 19/2, 2017 at 20:53
5
I have a PHP class I want to convert to a PHP extension. I checked some tutorials (tuxradar's writing extensions, php.net's extending php, and zend's extension writing) and it's a bit complicated.
...
Watereddown asked 3/9, 2010 at 23:49
2
They seem to be the same thing, and yet different. I don't know which one is which: I know we can use PDO as new PDO() and use prepare() and query() methods, to fetch data from database. So, if thi...
Palembang asked 23/1, 2017 at 17:56
4
Solved
I've been tasked to create a PHP app which accesses an existing PostgreSQL database. This is my first time working with Postgre, not to mention the PHP has already been installed in the Linux box o...
Tungsten asked 14/5, 2010 at 7:35
4
Solved
After some days ago I installed Phalcon PHP, I am more and more exited about it. Now I want to try the Phalcon Devtools out. I've just installed it like in the installation manual via Composer (for...
Concertmaster asked 22/4, 2014 at 21:59
1
Solved
I'm having huge problems installing memcached extension for php.
Currently using:
OS: Windows 10 x64
PHP: 7.0.1 via XAMPP
Apache: 2.4.18 (Win32)
I have successfully installed memcached in C:/mem...
Ladykiller asked 23/8, 2016 at 17:6
10
Solved
I'm having a terribly difficult time getting the command "pg_connect()" to work properly on my Mac. I'm currently writing a PHP script (to be executed from console) to read a PostgreSQL database an...
Armilla asked 5/7, 2011 at 19:59
1
Solved
if you look at this documentation, the first parameter returns only Zend extensions.
What is exactly a Zend extension, as compared to a PHP ("simple") extension?
Colin asked 19/6, 2016 at 7:44
2
Solved
The bundled extension offer a lot of functionality. I have spent a lot of time how to compile extension for my version of PHP. So there are instructions.
Kingbolt asked 22/2, 2016 at 17:33
1
I'm currently working to put our project under php7.
When trying to compile the mailparse extension or use pecl to install it, I get this error:
#error The mailparse extension requires the mbstri...
Weksler asked 4/3, 2016 at 10:8
1
I want to build a PHP extension that can dynamically inspect every opcode generated from a PHP file and do some checking on that.
I came across several websites and found out a couple of function...
Liesa asked 12/1, 2015 at 14:29
3
Solved
To you gurus out there, is there any hidden gem in PHP that could unload a specific extension at runtime ?
Civics asked 23/5, 2012 at 8:10
1
I have a .so file generated with SWIG. I would like use the functions defined there as a php extension.
How do I add them as a php extension?
I added the .so to the extensions directory, and in p...
Parrot asked 16/2, 2016 at 19:31
5
Solved
I've already installed mongoDB on my VPS. It works well.
Now I want to install php driver to make php work with mongoDB.
I followed Mongo Installation but cannot find information I need. This man...
Mongolian asked 27/11, 2010 at 15:28
2
I'm trying to follow the instructions here: https://code.google.com/p/php-sweph/wiki/build to compile a PHP extension. My OS is Windows XP.
I'm unable to find "phpize" to do the command. However, ...
Scrappy asked 14/4, 2013 at 13:41
3
Solved
I was checking the PHP manual to understand the different types of PHP extensions (PHP modules). There are Zend modules (mainly for PHP gurus), built-in modules and external modules.
Is there a wa...
Osteoclast asked 23/1, 2013 at 11:44
3
I'm developing a PHP-extension, where an object method needs to return an array zval.
The method looks like:
ZEND_METHOD(myObject, myMethod)
{
zval **myArrayProperty;
if (zend_hash_find(Z_OBJPR...
Boorman asked 24/7, 2013 at 20:39
3
I'm starting to write a PHP extension and wish to just get my head around how to loop through an array that is passed (with the intention of changing the data value by value). Preferred method woul...
Insessorial asked 3/7, 2014 at 14:34
4
So I'm running MAMP on Mountain Lion and I've installed gmagick and imagick using pecl, both are relase candidates (mainly because gmagick doesn't have a stable release and imagick 3.0.0 doesn't in...
Paronychia asked 7/3, 2013 at 13:2
2
When writing a PHP extension, this documentation page indicates that a config.m4 file should be provided for autoconf to use. It gives a couple of examples of such files, but the documentation is i...
Teets asked 13/7, 2015 at 18:8
1
Please anybody help me out in installing gearman php extension on windows xp. I have xampp 1.7.7 installed on my system and i have installed Cygwin, libevent-1.4.14b-stable and gearmand on my syste...
Cedillo asked 7/7, 2012 at 7:59
© 2022 - 2024 — McMap. All rights reserved.