php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62511 default install of php version overriding custom build of module
Submitted: 2012-07-08 18:31 UTC Modified: 2012-07-08 20:59 UTC
From: ttessier at swhistlesoft dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: Irrelevant OS: Solaris 9 x86
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ttessier at swhistlesoft dot com
New email:
PHP Version: OS:

 

 [2012-07-08 18:31 UTC] ttessier at swhistlesoft dot com
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?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-08 20:59 UTC] johannes@php.net
-Status: Open +Status: Not a bug
 [2012-07-08 20:59 UTC] johannes@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Set --with-php-config=/usr/local/php53/bin/php-config while compiing the extension.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 17:01:33 2025 UTC