From: jfha73@xxxxxxxxx To: phpnet@xxxxxxxxxxxxx CC: php-install@xxxxxxxxxxxxx Date: Sun, 10 Mar 2013 11:02:40 -0400 Subject: RE: [PHP-INSTALL] Extensions location 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! |
- References:
- Extensions location
- From: Jorge Hernandez
- Re: Extensions location
- From: pmenier
- RE: Extensions location
- From: Jorge F. Hernandez
- Re: Extensions location
- From: Nick Lombard
- RE: Extensions location
- From: Jorge F. Hernandez
- Extensions location
- Prev by Date: RE: Extensions location
- Next by Date: PHP 5.4 with FPM keeps forgetting about MySQL extension when using Wordpress
- Previous by thread: RE: Extensions location
- Next by thread: PHP 5.4 with FPM keeps forgetting about MySQL extension when using Wordpress
- Index(es):