[PHP] SNMP Functions

2008-11-27 Thread Rui Quelhas
Hello guys, i'm running php on Leopard 10.5.5 with native php and snmp
builds. I was hoping someone could tell me how can i activate the php snmp
in order to use the snmp functions. I've searched everywhere for this but i
didn't find anything usefull. Appreciate any kind of answer.
Regards
Rui Quelhas


[PHP] PECL HTTP Extension

2008-11-12 Thread Rui Quelhas
 Hi guys. I'm running PHP 5.2.6 (cli) on Mac OS X 10.5.5 and i've  
tried to install and configure the http pecl extension like the  
tutorial in your web site, i've used pecl to install it, i've also  
tried to compile it manually. Everything got installed correctly,  
there is the http.so file in the extensions dir ("/usr/lib/php/ 
extensions/no-debug-non-zts-20060613/"), the path is loaded by php/ 
apache and i've added the line "extension=http.so" in "php.ini" file.  
However the extension isn't loaded by php. I've wrote a simple script   
that uses "extension_loaded('http')" function and i get a false  
response. I need to use desperatly functions like http_request(...)  
for a college project so i would appreciate a quick response from you.


 If you could just provide me with a more specific Leopard tutorial  
tha would be great.


 Giving an antecipated "thank you" for any kind of answer.

 Regards, and keep up the good work!

 Rui Quelhas

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PECL HTTP Extension

2008-11-13 Thread Rui Quelhas
Following the previous messages, my situation resumes in something like
this. The Extension must be properly installed because the file appears in
the correct path, so it must be something missing in the apache
configuration file ('httpd.conf') or in the php inicialization file
('php.ini'). Could someone please describe me every step i need to take and
everything i need to change in this files when i'm installing a php
extension for the first time and assuming that the php.ini is actually the
native php inicialization file on Leopard ('php.ini.default'), i think that
maybe a little especific "crash-course" can solve all my problems. Someone
please...
Regards

Rui Quelhas


[PHP] PECL HTTP Extension

2008-11-13 Thread Rui Quelhas
Since i'm not obtaining any kind of response from people o first answered
me. I guess is better to talk through here.
To my first message, Micah Gersten asked me if i've placed the extension
path on 'php.ini' my answer was yes, i've tried to do that but it still
wasn't loading the extension. Jochem Maas advised me to place the complete
path to the extension like this
'extension=/usr/lib/php/extensions/no-debug-non-zts-20060613/http.so',
i've also tried it, again with no success.
In the last response, Thodoris told me to place in the php.ini the line
'extension_dir=".;/usr/lib/php/extensions/no-debug-non-zts-20060613;/usr/lib/php/modules"',
adding again the extension directive 'extension=http.so'. Well, seems like
there is no such path like '/usr/lib/php/modules', for the sound of it, the
closest match i get is '/usr/include/php/ext/' (path with the header files
of each extension) or '/usr/libexec/apache2' (path also with '.so' files
regarding apache modules). Either way, i've changed the unexisting path by
each one of these and again nothing happened. I don't know what else i can
do. Could somebody that has installed PECL extensions successfuly on Leopard
help me? I just need to know what i must do in the inicialization files (php
or apache) just like i was installing my first extension and having the fact
that there is the native Leopard 'php.ini.default' already in place.

Regards

Rui Quelhas