Compile php 5.3 ldap extension
- by toups
So trying to follow the very un-descriptive guide at my webhost for compiling a new php extension:
**Compiling PHP 5.3 extensions
You can also compile and load your own extensions. Here's how:**
1. Download and unpack the extension (from PECL, for instance).
2. If the extension is already compiled (most binary PHP loaders will be, for instance), skip to step 6.
3. /usr/local/php53/bin/phpize
4. ./configure --with-php-config=/usr/local/php53/bin/php-config
5. make
6. Copy the module to your .php/5.3/ directory.
7. Assuming your user is called "username" and your module is named "mymodule.so", add the following to your .php/5.3/phprc:
extension = /home/username/.php/5.3/mymodule.so
Downloaded Openldap stable release online, uploaded the unpacked gzip via ftp to my server, did step 3, 4, 5. Now on step 6 is says "copy the module...". My question is where is the module for me to copy?
Sorry if it's obvious and I'm not seeing it; first time compiling a php extension :O