php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55577 status.html does not install
Submitted: 2011-09-03 13:56 UTC Modified: 2011-10-08 19:31 UTC
From: fedora at famillecollet dot com Assigned: fat (profile)
Status: Closed Package: FPM related
PHP Version: 5.4SVN-2011-09-03 (snap) OS: GNU/Linux (Fedora 15)
Private report: No CVE-ID: None
 [2011-09-03 13:56 UTC] fedora at famillecollet dot com
Description:
------------
status.html is not present in the build tree, so can't be installed

Attached patch fix this issue.
Another solution could be to add status.html to the PHP_OUTPUT in config.m4


Test script:
---------------
+ make -C build-fpm install-fpm INSTALL_ROOT=/home/rpmbuild/BUILDROOT



Expected result:
----------------
make: Entering directory `/dev/shm/php5.4-201109031230/build-fpm'
Installing PHP FPM binary:        /home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/sbin/
Installing PHP FPM config:        /home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/etc/
Installing PHP FPM man page:      /home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/share/man/man8/
Installing PHP FPM status page:      /home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/share/fpm/
make: Leaving directory `/dev/shm/php5.4-201109031230/build-fpm'
make[1]: *** [install-fpm] Error 1

Actual result:
--------------
/php-5.3.8-0.1.201109031230.fc15.remi.x86_64
make[1]: Entering directory `/dev/shm/php5.4-201109031230/build-fpm'
Installing PHP FPM binary:        /home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/sbin/
Installing PHP FPM config:        /home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/etc/
Installing PHP FPM man page:      /home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/share/man/man8/
Installing PHP FPM status page:      /home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/share/fpm/
cp: cannot stat `sapi/fpm/status.html': No such file or directory


Patches

fpm-status.patch (last revision 2011-09-03 13:56 UTC by fedora at famillecollet dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-03 19:01 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: fat
 [2011-10-08 19:20 UTC] fat@php.net
-Status: Assigned +Status: Feedback
 [2011-10-08 19:20 UTC] fat@php.net
Salut remi,

est-ce que les fichiers php-fpm.8 et php-fpm.conf s'installent correctement ?

En effet, si tu regardes dans sapi/fpm/Makefile.frag, les fichier php-fpm.8, 
php-fpm.conf et status.html sont tous installés de la même façon. J'ai du mal à 
comprendre pourquoi il y aurait un problème uniquement avec status.html.

dis moi quoi.

++ jerome
 [2011-10-08 19:27 UTC] fat@php.net
-Status: Feedback +Status: Analyzed
 [2011-10-08 19:27 UTC] fat@php.net
oublie ce que je viens de dire ... j'avais pas tilté le manque dans PHP_OUTPUT du 
config.m4

je fix ca de suite.
 [2011-10-08 19:28 UTC] fat@php.net
-Summary: Install fails +Summary: status.html does not install
 [2011-10-08 19:31 UTC] fat@php.net
Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=317913
Log: - Fixed bug #55577 (status.html does not install)
 [2011-10-08 19:31 UTC] fat@php.net
-Status: Analyzed +Status: Closed
 [2011-10-08 19:31 UTC] fat@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-04-18 09:48 UTC] laruence@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7b57d8740003ae65ff2ce219b5f092bc27bcab40
Log: - Fixed bug #55577 (status.html does not install)
 [2012-07-24 23:39 UTC] rasmus@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7b57d8740003ae65ff2ce219b5f092bc27bcab40
Log: - Fixed bug #55577 (status.html does not install)
 [2013-11-17 09:36 UTC] laruence@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7b57d8740003ae65ff2ce219b5f092bc27bcab40
Log: - Fixed bug #55577 (status.html does not install)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 06:01:27 2024 UTC