I tried that and even though php-config says extension-dir = /my/extension/folder when I do a make install it goes to /my/extension/folder/non-debug-non-zts-20100525 all I want is to get rid of that non-debug-non-zts-20100525 Any other ideas?
From: nick@xxxxxxxxxxxxx [mailto:nick@xxxxxxxxxxxxx] On Behalf Of Nick Lombard On 9 March 2013 15:58, Jorge F. Hernandez <jfha73@xxxxxxxxx> wrote:
The build script specific settings are all based on the --prefix argument, so you can easily change where php will be installed including extensions, libs, executables even pear. What you are after though might be a little more tricky but I've had some success tweaking the scripts/config.in source file which in itself will look at certain environment variables lets have a look for you shall we? In your case the setting is: extension_dir='@EXTENSION_DIR@' Which you can edit directly before running configure or setting the environment variable export EXTENSION_DIR=/tmp/my/extensions You can also place it before the configure commend like this EXTENSION_DIR=/tmp/my/extensions ./configure What have we? It would appear luck is your good fortune, the setting did change and the file scripts/php-config correctly reports. --extension-dir [/tmp/my/extensions] nJoy! |
- Follow-Ups:
- RE: Extensions location
- From: Jaime Castillo
- RE: Extensions location
- References:
- Extensions location
- From: Jorge Hernandez
- Re: Extensions location
- From: pmenier
- RE: Extensions location
- From: Jorge F. Hernandez
- Re: Extensions location
- From: Nick Lombard
- Extensions location
- Prev by Date: Re: Extensions location
- Next by Date: RE: Extensions location
- Previous by thread: Re: Extensions location
- Next by thread: RE: Extensions location
- Index(es):