D. Dante Lorenso wrote: > All, > > If I install PHP 5 and want to use a PECL extension, does that work the > same as if I install PHP 4 and try to use the same extension? > > One extension that I use a lot is 'memcache' from PECL: > > http://pecl.php.net/package/memcache > > When I view this site, I do not see any reference to the version of PHP > which is required. Does it matter about PHP 5.0.5 vs PHP 5.1.2 etc? > Can someone explain how PECL or PEAR works in order to distribute only > compatible versions of code? The extension uses dependencies - most extensions compile without modification for multiple PHP versions. Those that require some finagling actually do so through package.xml or configure tricks (usually configure tricks). You do need to compile and install a separate extension for each php version Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php