View Issue Details

IDProjectCategoryView StatusLast Update
0007636mantisbtinstallationpublic2007-12-21 23:16
Reporterrobocoder Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.6 
Target Version1.1.0Fixed in Version1.1.0a3 
Summary0007636: PHP requirements incorrect
Description

http://www.mantisbugtracker.com/requirements.php states PHP 4.0.6 and higher.

However, with PHP 4.2.2, the installation script is unable to create config_inc.php because the fopen() call uses the 'x' flag which wasn't introduced until PHP 4.3.2.

Propose changing the flag to 'w'. The fopen() call is already guarded by a file existence check, e.g.,

if ( !file_exists ( $t_config_filename ) ) {
if ( $fd = @fopen( $t_config_filename, 'w' ) ) {
fwrite( $fd, $t_config );
fclose( $fd );
}

Additional Information

Alternative is to change the documentation to require PHP 4.3.2 (or higher).

This fix is included in install patch/feature 0007632.

TagsNo tags attached.

Activities

vboctor

vboctor

2007-02-20 00:05

manager   ~0014069

Changed the 'x' to 'w'.