|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Adding PHP pecl extension?I'd like to add "pecl_http" to PHP on DL 1.3, but I'm stuck.
http://www.php.net/http http://pecl.php.net/package/pecl_http I think I need to add pecl_http-1.6.1.tgz to src/pecl/ and it should get unpacked in tmp/php-5.../ext/ But then what? I haven't been able to find any docs about how to compile it. I'm guessing I need to add something to PHP's ./configure, but I'm not sure what. Something like "--with-http" or "--with-pecl_http" or ... but what exactly? I've searched the ./configure source, but don't see any references to this extension. - BS ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Devil-linux-develop mailing list Devil-linux-develop@... https://lists.sourceforge.net/lists/listinfo/devil-linux-develop |
|
|
Re: Adding PHP pecl extension?Quoting Bruce Smith <bws@...>:
> I'd like to add "pecl_http" to PHP on DL 1.3, but I'm stuck. > http://www.php.net/http > http://pecl.php.net/package/pecl_http > > I think I need to add pecl_http-1.6.1.tgz to src/pecl/ and it should > get unpacked in tmp/php-5.../ext/ Correct, just throw it in src/pecl > But then what? I haven't been able to find any docs about how to > compile it. I'm guessing I need to add something to PHP's > ./configure, but I'm not sure what. Something like "--with-http" or > "--with-pecl_http" or ... but what exactly? I've searched the > ./configure source, but don't see any references to this extension. Unpack the file and then look into the config*.m4 files. In the top part of the files you'll see the additional configure parameters. -- Regards Heiko Zuerker http://www.devil-linux.org ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Devil-linux-develop mailing list Devil-linux-develop@... https://lists.sourceforge.net/lists/listinfo/devil-linux-develop |
|
|
Re: Adding PHP pecl extension?>> But then what? I haven't been able to find any docs about how to
>> compile it. I'm guessing I need to add something to PHP's >> ./configure, but I'm not sure what. Something like "--with-http" or >> "--with-pecl_http" or ... but what exactly? I've searched the >> ./configure source, but don't see any references to this extension. > > Unpack the file and then look into the config*.m4 files. > In the top part of the files you'll see the additional configure parameters. Cool, thanks! When I unpacked it in an empty directory, I get: -rw-r--r-- 1 bruce bruce 12820 2008-07-23 04:28 package.xml -rw-r--r-- 1 bruce bruce 22175 2008-07-23 04:28 package2.xml drwxr-xr-x 6 root root 4096 2008-08-22 10:47 pecl_http-1.6.1 Are the two xml files in the local directory going to be a problem? (will they overwrite or conflict with other pecl extenstions?) - BS ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Devil-linux-develop mailing list Devil-linux-develop@... https://lists.sourceforge.net/lists/listinfo/devil-linux-develop |
|
|
Re: Adding PHP pecl extension?Quoting Bruce Smith <bws@...>:
>>> But then what? I haven't been able to find any docs about how to >>> compile it. I'm guessing I need to add something to PHP's >>> ./configure, but I'm not sure what. Something like "--with-http" or >>> "--with-pecl_http" or ... but what exactly? I've searched the >>> ./configure source, but don't see any references to this extension. >> >> Unpack the file and then look into the config*.m4 files. >> In the top part of the files you'll see the additional configure parameters. > > Cool, thanks! > > When I unpacked it in an empty directory, I get: > > -rw-r--r-- 1 bruce bruce 12820 2008-07-23 04:28 package.xml > -rw-r--r-- 1 bruce bruce 22175 2008-07-23 04:28 package2.xml > drwxr-xr-x 6 root root 4096 2008-08-22 10:47 pecl_http-1.6.1 > > Are the two xml files in the local directory going to be a problem? > (will they overwrite or conflict with other pecl extenstions?) No clue. I would just try it the way it is and see what happens. -- Regards Heiko Zuerker http://www.devil-linux.org ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Devil-linux-develop mailing list Devil-linux-develop@... https://lists.sourceforge.net/lists/listinfo/devil-linux-develop |
| Free Forum Powered by Nabble | Forum Help |