# PHP 7 installation issues.

- Thread: https://externals.io/message/81350
- Original archive: https://news-web.php.net/php.internals/81350
- Started by Levi Morrison on 2015-01-29T02:49:14+00:00
- Messages: 5
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #81350 — Levi Morrison — 2015-01-29T02:49:14+00:00

URL: https://externals.io/message/81350#81350

When doing `make install` with a prefix of `/apps/php/7.0.0-dev` I get:

Installing shared extensions:
/apps/php/7.0.0-dev/lib/php/extensions/no-debug-non-zts-20141001/
Installing PHP CLI binary:        /apps/php/7.0.0-dev/bin/
Installing PHP CLI man page:      /apps/php/7.0.0-dev/php/man/man1/
Installing PHP CGI binary:        /apps/php/7.0.0-dev/bin/
Installing PHP CGI man page:      /apps/php/7.0.0-dev/php/man/man1/
Installing build environment:     /apps/php/7.0.0-dev/lib/php/build/
Installing header files:          /apps/php/7.0.0-dev/include/php/
Installing helper programs:       /apps/php/7.0.0-dev/bin/
  program: phpize
  program: php-config
Installing man pages:             /apps/php/7.0.0-dev/php/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /apps/php/7.0.0-dev/lib/php/
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2


Hmm.

Then prepending `/apps/php/7.0.0-dev/php/man` to my MANPATH, then
doing `man php` I get this:

No manual entry for php
See 'man 7 undocumented' for help when manual pages are not available.


I would have expected the man pages to work since that portion of the
install script worked, but I suppose they could be related.

In any case, it will be hard for me to test things until `make
install` works properly.

---

## #81364 — Florian Anderiasch — 2015-01-29T09:29:39+00:00

URL: https://externals.io/message/81350#81364 · In reply to: #81350

> When doing `make install` with a prefix of `/apps/php/7.0.0-dev` I get:
> 
> Installing shared extensions:
> /apps/php/7.0.0-dev/lib/php/extensions/no-debug-non-zts-20141001/
> Installing PHP CLI binary:        /apps/php/7.0.0-dev/bin/
> Installing PHP CLI man page:      /apps/php/7.0.0-dev/php/man/man1/
> Installing PHP CGI binary:        /apps/php/7.0.0-dev/bin/
> Installing PHP CGI man page:      /apps/php/7.0.0-dev/php/man/man1/
> Installing build environment:     /apps/php/7.0.0-dev/lib/php/build/
> Installing header files:          /apps/php/7.0.0-dev/include/php/
> Installing helper programs:       /apps/php/7.0.0-dev/bin/
>   program: phpize
>   program: php-config
> Installing man pages:             /apps/php/7.0.0-dev/php/man/man1/
>   page: phpize.1
>   page: php-config.1
> Installing PEAR environment:      /apps/php/7.0.0-dev/lib/php/
> make[1]: *** [install-pear-installer] Error 255
> make: *** [install-pear] Error 2
> 
> 
> Hmm.

I had that exact (I think) problem on building a checkout on Jan 14, but
could not reproduce it no matter how hard I tried, that's why I didn't
open a bug report - but apparently it's kind of valid.

Some info for my machine:

Debian GNU/Linux 7.8 (wheezy)
x86_64

'./configure' \
'--prefix=/usr/local/stow/php-7.0-master' \
'--with-config-file-path=/etc/php5/7.0-master' \
'--enable-fpm' \
'--with-fpm-user=www-data' \
'--with-fpm-group=www-data' \
'--with-gd' \
'--enable-zip' \
'--with-mysqli=mysqlnd' \
'--with-pdo-mysql=mysqlnd' \
'--enable-mbstring' \
'--with-curl' \
'--with-freetype-dir=/usr/include/freetype2' \
'--enable-gd-native-ttf' \
"$@"



Greetings,
Florian

---

## #81378 — Ferenc Kovacs — 2015-01-29T12:40:50+00:00

URL: https://externals.io/message/81350#81378 · In reply to: #81350

> When doing `make install` with a prefix of `/apps/php/7.0.0-dev` I get:
>
> Installing shared extensions:
> /apps/php/7.0.0-dev/lib/php/extensions/no-debug-non-zts-20141001/
> Installing PHP CLI binary:        /apps/php/7.0.0-dev/bin/
> Installing PHP CLI man page:      /apps/php/7.0.0-dev/php/man/man1/
> Installing PHP CGI binary:        /apps/php/7.0.0-dev/bin/
> Installing PHP CGI man page:      /apps/php/7.0.0-dev/php/man/man1/
> Installing build environment:     /apps/php/7.0.0-dev/lib/php/build/
> Installing header files:          /apps/php/7.0.0-dev/include/php/
> Installing helper programs:       /apps/php/7.0.0-dev/bin/
>   program: phpize
>   program: php-config
> Installing man pages:             /apps/php/7.0.0-dev/php/man/man1/
>   page: phpize.1
>   page: php-config.1
> Installing PEAR environment:      /apps/php/7.0.0-dev/lib/php/
> make[1]: *** [install-pear-installer] Error 255
> make: *** [install-pear] Error 2
>
>
> Hmm.
>
> Then prepending `/apps/php/7.0.0-dev/php/man` to my MANPATH, then
> doing `man php` I get this:
>
> No manual entry for php
> See 'man 7 undocumented' for help when manual pages are not available.
>
>
> I would have expected the man pages to work since that portion of the
> install script worked, but I suppose they could be related.
>
> In any case, it will be hard for me to test things until `make
> install` works properly.
>
> --
> 
> 
>
>

About pear: Nikita recently merged another piece(removing Assignment of new
by reference) from
https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7 so until
somebody (me probably) fixes the pear installer you need --without-pear to
your configure if you aren't using --disable-all.
About the man page: what files do you have in php/man/man1 ?

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #81382 — Levi Morrison — 2015-01-29T15:42:06+00:00

URL: https://externals.io/message/81350#81382 · In reply to: #81378

> About the man page: what files do you have in php/man/man1 ?

php.1         php-cgi.1     php-config.1  phpize.1

^ Those four. Normally there are two more (phar.1 and phar.phar.1)
from looking my 5.6.3 install. Aside from that I'm not sure what else
could be different. I'm not very familiar with how man pages work,
honestly; I just read them :)

---

## #81383 — Ferenc Kovacs — 2015-01-29T16:44:01+00:00

URL: https://externals.io/message/81350#81383 · In reply to: #81382

> > […]
>
> php.1         php-cgi.1     php-config.1  phpize.1
>
> ^ Those four. Normally there are two more (phar.1 and phar.phar.1)
> from looking my 5.6.3 install. Aside from that I'm not sure what else
> could be different. I'm not very familiar with how man pages work,
> honestly; I just read them :)
>

that seems ok, how do you prepend your MANPATH exactly?
what's the output of
MANPATH="/apps/php/7.0.0-dev/php/man:$MANPATH" man php
?

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu
