The PHP language can be enhanced through the use of extensions, which provide to PHP scripts new internal functions, classes, resource types, streams (also stream wrappers and filters) and, in general, can do anything a native program would be able to do.

learn more… | top users | synonyms (1)

2
votes
0answers
87 views

a confuse about POST or GET variables in PHP c extensions?

I an now working on a php extension writing in C . In the extension, i need get the GET or POST variables and do some work. But problems occurred, if i declare a variable in PHP script like this : ...
2
votes
0answers
457 views

Installing php_svn.dll extension in the Zend Server CE

I've been trying to add the php_svn.dll extension into the zend server for a few days now. Below is my setup: Zend Server Community Edition: 5.5.0 PHP:5.3.8-ZS5.5.0 Web Server Server ...
2
votes
0answers
934 views

php gd lib is installed but not working

On the localhost the library is working fine, when the function is called on production,php throws a fatal errer. i checked the phpinfo() its there and it is enabled. I tired to see if there is ...
1
vote
0answers
114 views

“Call to undefined function” in PHP-FPM during second request in my own PHP extension

I am writing a PHP extension. Inside it I have my own function which only writes one string argument passed to this function. I am using Apache 2.4 and PHP-FPM with PHP 5.4.8. In PHP-FPM configuration ...
1
vote
0answers
152 views

Installing memcached - class exists but not found

This is a very strange problem - I've installed Memcached 2.1.0 on my 10.7.4 Mac, running 1.7.3 XAMPP with developer tools. I've followed the instructions here I've also installed memcache ...
1
vote
0answers
445 views

Loading PHP Extensions using Plesk

I am trying to load the php_memcache.dll extension using the Plesk Additional Directives section under the PHP Settings for a domain, subscription or subdomain. No matter what I do, I cannot get Plesk ...
1
vote
0answers
81 views

How in php extensions get access to http header

I am writing PHP extensions in C/C++ and I need to get access (read only) to http header which is send with the request. I tryied SAPI but I failed. :( Is there is any portable solution (with working ...
1
vote
0answers
39 views

How can I catch an exception in a php extension (written in c)?

I know how to throw an exception using zend api zend_throw_exception, but how can I catch the exception in the extension source?
1
vote
0answers
25 views

Invoke php extensions and dll functionalities dynamically

Invoke php extensions which I made externally using php script... Is there any way to achieve it..?
1
vote
0answers
101 views

PHP C++ Extension with a Static Method

I have a C++ class containing a static method. The declaration: class QConfig { public: static int testStatic(); }; Implementation: int QConfig::testStatic() { return ...
1
vote
0answers
167 views

How can I generate skeleton of classes from PHP extension for code completion in IDE?

Some years ago I found somewhere simple script that was able to generate skeletons for classes, functions and constants from some extension. U think it used Reflection. I don't remember, but I think ...
0
votes
0answers
13 views

Building custom PHP extension from PHP 5.4.3 source

Long time ago i made an extension on -win 7 32bit -php-5.3.5 on my new computer i run WAMPSERVER (64 BITS & PHP 5.4) 2.2E Apache 2.2.22 – Mysql 5.5.24 – PHP 5.4.3 XDebug 2.1.2 XDC 1.5 ...
0
votes
0answers
6 views

Instalation of extension in PHP

I'm tring to install extension to PHP 5.3.6 on Ubuntu 11.10. Extension is: php-protobuf from https://github.com/allegro/php-protobuf. First I compiled it: phpize, ./configure, make then finally ...
0
votes
0answers
6 views

Trouble with LibXSLT install on Windows machine

I am on Windows 7 Business and I have installed Apache 2.2.21 and PHP 5.3.5. I want to install Symphony on my local development machine to try it out, but as I try to get it on my system I get the ...
0
votes
0answers
23 views

Compile PHP extension for Windows with WAMP installed

I'm working on a Windows XP machine and it's got WAMP on. I need to install the php_svn extension, which I have got a working copy of the source for. I have the source for the extension with ...

1 2 3 4 5 7
15 30 50 per page