Error installing default php.ini

jeffrey

Verified User
Joined
Sep 9, 2013
Messages
10
When trying to create the default php.ini with CustomBuild 2.0 I get the following error.

Code:
# ./build php-ini  
File already exists:    php-5.5.6.tar.gz
MD5 Checksum on php-5.5.6.tar.gz passed.
Found /usr/local/directadmin/custombuild/php-5.5.6.tar.gz
Extracting ...
./build: line 4198: cd: php-5.4.22: No such file or directory
Can't open php.ini-production: No such file or directory.
Can't open php.ini-production: No such file or directory.
Can't open php.ini-production: No such file or directory.
Enabling mail.add_x_header option in php.ini
Can't open php.ini-production: No such file or directory.
Can't open php.ini-production: No such file or directory.
grep: php.ini-production: No such file or directory
./build: line 4220: [: -eq: unary operator expected
cp: cannot stat `php.ini-production': No such file or directory
Done for php1_release.

Found the problem in the build script

Code:
elif [ "${PHP1_RELEASE}" = "5.5" ]; then
     cd php-${PHP54_VER}
fi

this should be

Code:
elif [ "${PHP1_RELEASE}" = "5.5" ]; then
   cd php-${PHP55_VER}
fi
 
Back
Top