FAQ
Edit report at https://bugs.php.net/bug.php?id=71069&edit=1

  ID: 71069
  Updated by: rasmus@php.net
  Reported by: admin at harris-services dot com
  Summary: PHP 7.0.0 does not seem to obey the --prefix option.
-Status: Open
+Status: Not a bug
  Type: Bug
  Package: *Configuration Issues
  Operating System: CentOS 6.7
  PHP Version: 7.0.0
  Block user comment: N
  Private report: N

  New Comment:

No bug here. Copying straight from your phpinfo:

'--prefix=/opt/php7' '--with-config-file-path=/opt/php7/lib' '--with-config-file-scan-dir=/opt/php7/lib/php.ini.d' '--disable-opcache' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-intl' '--enable-libxml' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-zip' '--prefix=/usr/local'

Note that you have a 2nd --prefix flag there set to /usr/local. This will override the first one.


Previous Comments:
------------------------------------------------------------------------
[2015-12-09 04:50:50] admin at harris-services dot com

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/


------------------------------------------------------------------------

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupphp-bugs @
categoriesphp
postedDec 9, '15 at 4:50a
activeDec 9, '15 at 6:20a
posts2
users2
websitephp.net

People

Translate

site design / logo © 2017 Grokbase