|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10243 sys/resource.h file incorrectly not included
Submitted: 2001-04-09 10:40 UTC Modified: 2001-05-29 15:54 UTC
From: jules at acris dot co dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: linux 2.4/glibc 2.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
45 - 12 = ?
Subscribe to this entry?

 [2001-04-09 10:40 UTC] jules at acris dot co dot uk
Running the configure script on my system (a SuSE 6.3 system upgraded to kernel 2.4 and glibc 2.1) causes the
classic 'microtime.c' errors as described in the FAQ,
except that the local header files are not incorrect in any fashion and edit main/php_config.h to define HAVE_SYS_RESOURCE_H causes the problem to go away.  

This appears therefore to be an error in the configure script - should this definition not be included whenever sys/resource.h exists?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-29 15:54 UTC]
Try PHP 4.0.6RC1 from
as the configure script DOES check if sys/resource.h
exists. If it can't find it there's definately something 
wrong in your system.


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Sep 28 15:01:25 2023 UTC