|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35625 Partition table for first hard drive deleted after compile
Submitted: 2005-12-10 22:40 UTC Modified: 2005-12-11 09:46 UTC
From: peterupfold at gmail dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 5.1.1 OS: Linux
Private report: No CVE-ID: None
 [2005-12-10 22:40 UTC] peterupfold at gmail dot com
After compiling & building PHP 5.1.1 as Apache module on Apache 2.2 (and 2.0 on a separate occasion), my partition table for my primary hard drive is gone. Is on a dual boot Windows XP/SUSE Linux 10 (2.4.21-99-smp4G) box. 

A reboot just after configuring and making PHP shows that partition table is completely gone. Primary (Windows C:) and extended (including some Windows data partitions and Linux) are now effectively deleted from my hard drive.

This has now occurred on two occasions, both with the source code version. MD5 sums were checked before compile. Downloaded from one of these: or (not sure which)

Reproduce code:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql



make install

Expected result:
Install correctly and be able to reboot into my GRUB bootloader, to choose Windows or Linux.

Actual result:
As above, the drive partition table (or possibly MBR) is gone, so the system will not boot and my computer has no operating systems on it. Unable to give you any more debugging info as Linux is now no longer on my computer.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-10 22:52 UTC]
Do you **REALLY** think it's a problem of PHP or are you kidding?
Just think about it: if your a program (in your case - a compiler) eats your HDD, the one and only place to report about it is PHP bug database, right?
 [2005-12-11 09:46 UTC] peterupfold at gmail dot com
This issue did not happen with PHP 5.0.5, but on the two occasions of compiling PHP 5.1.1, it has happened. This led me to believe it may be an issue with PHP.

I wouldn't have reported this if it hadn't have happened twice - once on a build of SUSE 10 I'd been using for a while, and the second time on a new clean build of SUSE 10.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Jun 08 05:03:37 2023 UTC