Bug #71069 [NEW]: PHP 7.0.0 does not seem to obey the --prefix option.

From: Date: Wed, 09 Dec 2015 04:50:51 +0000
Subject: Bug #71069 [NEW]: PHP 7.0.0 does not seem to obey the --prefix option.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197720@lists.php.net to get a copy of this message
From:             admin at harris-services dot com
Operating system: CentOS 6.7
PHP version:      7.0.0
Package:          *Configuration Issues
Bug Type:         Bug
Bug description:PHP 7.0.0 does not seem to obey the --prefix option.

Description:
------------
http://www.evadrepus.com/test.php

As can be seen by the phpinfo page above I had set the same options that
I have in the 5.x branch to do a side by side install of 7.0.0 on my
CentOS 6.7 server with cPanel.  When I did a make install on the source,
after a configure and make, the install was done to /usr/local/bin/ and
not to /opt/php7 as I had set in the configuration options.  While this
does not seem to have broken my server, and I was able to still set the
needed options on the server to load the new version via a handler, this
could break any system where /usr/bin is symlinked to /usr/local/bin.  I
am not completely sure if this is intended for the new version but this
could cause problems for anyone that has configuration scripts with all
of the needed options included so that new minors can be built.

Please bear with me regarding this report, is my first one here and not
really sure what other info you may need.

Test script:
---------------
N/A

Expected result:
----------------
This is the settings that were set in the configure stage.

'--prefix=/opt/php7' '--with-config-file-path=/opt/php7/lib'
'--with-config-file-scan-dir=/opt/php7/lib/php.ini.d'

Actual result:
--------------
[activating module `php7' in /usr/local/apache/conf/httpd.conf]
Installing shared extensions:    
/usr/local/lib/php/extensions/no-debug-non-zts-20151012/
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/php/man/man1/
Installing phpdbg binary:         /usr/local/bin/
Installing phpdbg man page:       /usr/local/php/man/man1/
Installing PHP CGI binary:        /usr/local/bin/
Installing PHP CGI man page:      /usr/local/php/man/man1/
Installing build environment:     /usr/local/lib/php/build/
Installing header files:          /usr/local/include/php/
Installing helper programs:       /usr/local/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/php/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/local/lib/php/

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



Thread (3 messages)

« previous php.bugs (#197720) next »