php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45370 make install doesn't work
Submitted: 2008-06-26 22:21 UTC Modified: 2008-07-09 01:00 UTC
Votes:4
Avg. Score:3.5 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: caio53 at gmail dot xom Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.6 OS: Mac OS X 10.5.3
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: caio53 at gmail dot xom
New email:
PHP Version: OS:

 

 [2008-06-26 22:21 UTC] caio53 at gmail dot xom
Description:
------------
make install doesn't really install anything.

Build complete.
Don't forget to run 'make test'.

caio@kayleigh~/php-5.2.6: sudo make install
Password:
Installing PHP SAPI module:       cgi
Installing PHP CGI binary: /usr/bin/
Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/man/man1/
Installing build environment:     /usr/lib/php/build/
Installing header files:          /usr/include/php/
Installing helper programs:       /usr/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/man/man1/
  page: phpize.1
  page: php-config.1
Installing PDO headers:          /usr/include/php/ext/pdo/
Installing ZIP headers:          /usr/include/php/ext/zip/lib

caio@kayleigh~/php-5.2.6: php
-bash: /usr/bin/php: No such file or directory

caio@kayleigh~/php-5.2.6: ./sapi/cli/php -v
PHP 5.2.6 (cli) (built: Jun 26 2008 18:10:03) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

I copied ~/php-5.2.6/sapi/cli/php to /usr/bin and it seems to be 
working.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-01 09:45 UTC] jani@php.net
Try again and check with 'ls -l /usr/bin/ |?grep php' what is actually installed.
 [2008-07-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2008-08-08 16:18 UTC] gradymke at gmail dot com
I'm having this same behavior.  To respond to the previous suggestion, if I do a "make install-cli" and then go to the /usr/bin directory, the php executable does not get installed.  I tried renaming the one that was in there and re-installed and it was still not copied to that directory.  Ultimately I copied the one from the sapi/cli directory to /usr/bin, but I'm sure that's not the best way to do it.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 08:01:30 2025 UTC