🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #7348

Extensiones de PHP

#7348
From: FrostyFrosty
Date: Mon, 10 Mar 2003 10:39
35 lines
1781 bytes
Estoy intentando hacer mi propia extensi�n para PHP. Me he descargado
la �ltima versi�n disponible, (4.3.1), la he descomprimido, y he hecho
esto::

$ cd ext 
$ ./ext_skel --extname=Prueba

Luego edito ext/Prueba/config.m4 y descomento estas l�neas: 

PHP_ARG_WITH(Prueba, for Prueba support, 
Make sure that the comment is aligned: 
[ --with-Prueba       Include Prueba support])


Despu�s, desde el directorio "ra�z" del PHP descomprimido
(/sur/local/src/php-4.3.1), hago esto:

$ buildconf 
$ ./configure --with-Prueba 
$ make

No me da ning�n error, pero cuando intento ejecutar la prueba, me dice
esto:

$ ./sapi/cli/php ext/Prueba/Prueba.php
Functions available in the test extension:<br> 
confirm_Prueba_compiled<br> 
<br> 

Fatal error: Call to undefined function: confirm_prueba_compiled() in
/ usr/local/src/php-4.3.1/ext/Prueba/Prueba.php on line 14

Alguien sabe por qu� puede ser?

Muchas gracias
Technical Details
Message-ID: <16d48c87.0303100239.5d9e1c81@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,6a56676fe86486e8,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-03-10 02:39:13 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: frostyfrosty@operamail.com (FrostyFrosty)
Newsgroups: es.comp.os.linux.programacion
Subject: Extensiones de PHP
Date: 10 Mar 2003 02:39:12 -0800
Organization: http://groups.google.com/
Lines: 35
Message-ID: <16d48c87.0303100239.5d9e1c81@posting.google.com>
NNTP-Posting-Host: 80.58.4.235
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1047292753 14460 127.0.0.1 (10 Mar 2003 10:39:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 10 Mar 2003 10:39:13 GMT