This might be a dumb question with an obvious answer somewhere, but
I'm wondering if it's possible to build php extensions as shared
objects that plug into the PHP binary much like an apache shared
module plugs into apache.
Is PECL close to this?
Sorry if this is obvious. Searches on the topic
Weston C wrote:
This might be a dumb question with an obvious answer somewhere, but
I'm wondering if it's possible to build php extensions as shared
objects that plug into the PHP binary much like an apache shared
module plugs into apache.
Yes.
See http://www.php.net/dl (though a lot of
On Thu, May 29, 2008 at 7:11 PM, Chris [EMAIL PROTECTED] wrote:
See http://www.php.net/dl (though a lot of hosts disable this
functionality for security reasons).
Fortunately, I'll have full control of the hosting environment in the
context this matters. :)
dl is definitely interesting, but
On 5/29/08, Weston C [EMAIL PROTECTED] wrote:
Fortunately, I'll have full control of the hosting environment in the
context this matters. :)
dl is definitely interesting, but I'm worried that runtime invocation
might mean performance hits. Is there a way to do load/startup time
inclusion?
I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to
pass variables by reference to my function without enabling call-time pass
by reference in the PHP.INI file?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris Cranford wrote:
I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to
pass variables by reference to my function without enabling call-time pass
by reference in the PHP.INI file?
I think the definition in the C syntax of PHP_FUNCTION will do that for you.
You'll
I try to use some PHP extensions with EasyPHP 1.7 on Windows XP
I have checked the path for extensions in the php.ini file ; it is correct
But when I want do add some extensions , some work well , and others
don't (they are in the same directory )
I get the following message :
Unable to load
Michel Gangloff wrote:
I try to use some PHP extensions with EasyPHP 1.7 on Windows XP
I have checked the path for extensions in the php.ini file ; it is
correct
But when I want do add some extensions , some work well , and others
don't (they are in the same directory )
I get the
Simply list *.c all files as arguments to gcc:
gcc one.c two.c three.c -shared -o my_ext.so
Ed wrote:
Howdy folks!
Is there a way to have multiple *.c source files and still end up with a single *.so while using gcc? How would that be reflected in the config.m4 file?
I searched for examples
Howdy folks!
Is there a way to have multiple *.c source files and still end up with a single *.so
while using gcc? How would that be reflected in the config.m4 file?
I searched for examples in the source tree, but did not find one. I tried different
things, but ended up with multiple *.so's.
Good question, but wrong place for it. Ask [EMAIL PROTECTED]
On Wednesday 11 June 2003 08:31 pm, Ed wrote:
Howdy folks!
Is there a way to have multiple *.c source files and still end up with a
single *.so while using gcc? How would that be reflected in the config.m4
file?
I searched for
After reading the PHP online documentation for Chapter 25. Extension
Possibilities I am confused. I have a set of questions below:
1) compiled versus extension versus dl function:
It appears to say that if an extension is NOT compiled in and IS used as a
shared module that the module is loaded
I think what you've seen is shtml / ssi / server side includes, but anyway,
since you asked:
1. create a .htaccess file which pushes *all* .php pages through PHP
I *THINK* the code is something like:
Files ~ \.html$
ForceType application/x-httpd-php
/Files
But you should check the apache
--- Guru Geek [EMAIL PROTECTED] wrote:
I was wondering, can you call a php script in the middle
of a html page?
...
Does anyone else know how to use php on a page and yet
keep the .html extension?
Configure your Web server to treat .html files as PHP. This
has been discussed before, so there
I was wondering, can you call a php script in the middle of a html page?
I've seen some sites use code like this:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
titleUntitled/title
/head
body
HELLO WORLD!!!
P
!--#include file=helloworld2.php --
/body
/html
but when I try
Email extension? Aren't you talking about Manuel
Lemos' mimemail class?
It's just an include file that you have in your
directory structure.
I know some people made reference to a 'really good'
e-mail package out there that did attachments and
stuff that seemed to be the better choice
That's probably the one -- have a look on phpclasses.org -- handles
attachments, multi-part stuff (HTML email), etc etc.
Justin
on 16/11/02 5:19 AM, Mako Shark ([EMAIL PROTECTED]) wrote:
Email extension? Aren't you talking about Manuel
Lemos' mimemail class?
It's just an include file that
Is there a list of PHP extensions out there somewhere,
and what the function of each one is? And does anyone
have the URL of that e-mail extension everyone finds
so useful?
__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
Email extension? Aren't you talking about Manuel Lemos' mimemail class?
It's just an include file that you have in your directory structure.
Justin
on 13/11/02 11:24 PM, Mako Shark ([EMAIL PROTECTED]) wrote:
Is there a list of PHP extensions out there somewhere,
and what the function of
I would like know the use of the following directory :
/usr/lib/php/extensions/no-debug-non-zts-20010901
Thanks for your help.
Pierre Vaudrey
email [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
I wanted to know somehting. If my hosting provider does not inlude PEAR in
their PHP installation, am I able to do it myself?
I mean like you do with some Perl modules that are not installed and you use
use lib 'path_to_lib' in Perl.
Is there a way to do something similar with Php
I'm trying to create an extension to PHP to provide an access interface to
the proprietary database server my company uses. However, I cannot seem to
suceed even at the simplest module, the one provided by ext_skel. I run
buildconf, configure and compile the module, however dl() won't load the
22 matches
Mail list logo