Req #62511 [NEW]: default install of php version overriding custom build of module

From: Date: Sun, 08 Jul 2012 18:31:59 +0000
Subject: Req #62511 [NEW]: default install of php version overriding custom build of module
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-171811@lists.php.net to get a copy of this message
From:             ttessier at swhistlesoft dot com
Operating system: Solaris 9 x86
PHP version:      Irrelevant
Package:          Compile Failure
Bug Type:         Feature/Change Request
Bug description:default install of php version overriding custom build of module

Description:
------------
I have an existing installation of php5.2.x and an installed version of
php5.2.3 
that I wanted to install pgsql mod into. Because php5.2.x is in the default
prefix 
of /usr/local this was overriding my /usr/local/php53/ data and producing
some 
wierd errors in terms of php versioning(Ie structure member does not exist
for 
zend struct ).

When running the /usr/local/php53/bin/phpize directly this produced the
same 
results.

When setting PATH=/usr/local/php53/bin/:$PATH as the PATH, everything
started to 
work.

Can we have some of these programs validate the module version? IE: 
phpize/php_config/whatever else run during phpize test to make sure it's
running 
the correct version for the source?


-- 
Edit bug report at https://bugs.php.net/bug.php?id=62511&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=62511&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=62511&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=62511&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=62511&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62511&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=62511&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=62511&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=62511&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=62511&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=62511&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=62511&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=62511&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=62511&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=62511&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=62511&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=62511&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=62511&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=62511&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=62511&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=62511&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=62511&r=mysqlcfg



Thread (2 messages)

« previous php.bugs (#171811) next »