|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18308 Bogus `uname -a`will break php_config.h
Submitted: 2002-07-12 08:03 UTC Modified: 2002-07-22 21:59 UTC
From: bugs dot php dot net at gonzo dot ch Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bugs dot php dot net at gonzo dot ch
New email:
PHP Version: OS:


 [2002-07-12 08:03 UTC] bugs dot php dot net at gonzo dot ch

A user has a weird uname -a in form of:
Linux LnxServ.skullboxhouse 2.4.19-gentoo-r7 #3 Thu Jul
11 18:39:39 GMT 2002 i686 6\nmodel

The linebreak breaks the php_config.h because of a missing ".

The only workaround I found was to replace PHP_UNAME=`uname -a`
in the configure script with PHP_UNAME=`uname -s -n -r -v`
(without the weird cpu definition)

Any other ideas?



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-22 21:59 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jan 28 05:03:34 2022 UTC