sde
Verified User
i download php5.2-yyyymmddhhmm.tar.gz
it unzips to php5.2-yyyymmddhhmm
if i modify the version of PHP in build to 5.2-yyyymmddhhmm, the build script looks for php-5.2-yyyymmddhhmm.
there are no dashes between php and the version in snapshot builds.
so my solution is to rename the extracted directory to php-5.2.0 and then rename the tar file to php-5.2.0.tar.gz.
the build script extracts the tar file but of course it extracts it to the original name, and then looks in the directory i manually created to do the work.
i guess the other option would be to create my own php-5.2.0 tar.gz file, but on to my next issue.
*********
next issue is adding extensions. you can drop pecl extensions in php-5.2.0/extensions/, but when you do a ./build clean, it completely deletes php-5.2.0.
wouldn't it be better if ./build clean just went into the php-5.2.0 directory, deleted configure.php, and then ran ./buildconf --force ?
currently, everytime i want to run a build clean, i have to re-add pecl extensions.
even worse, before i do that i need to go through my first issue and manually re-create the php directories.
....
anyone that works with snapshots or compiled pecl extensions.. is there a better way to do this stuff?
it unzips to php5.2-yyyymmddhhmm
if i modify the version of PHP in build to 5.2-yyyymmddhhmm, the build script looks for php-5.2-yyyymmddhhmm.
there are no dashes between php and the version in snapshot builds.
so my solution is to rename the extracted directory to php-5.2.0 and then rename the tar file to php-5.2.0.tar.gz.
the build script extracts the tar file but of course it extracts it to the original name, and then looks in the directory i manually created to do the work.
i guess the other option would be to create my own php-5.2.0 tar.gz file, but on to my next issue.
*********
next issue is adding extensions. you can drop pecl extensions in php-5.2.0/extensions/, but when you do a ./build clean, it completely deletes php-5.2.0.
wouldn't it be better if ./build clean just went into the php-5.2.0 directory, deleted configure.php, and then ran ./buildconf --force ?
currently, everytime i want to run a build clean, i have to re-add pecl extensions.
even worse, before i do that i need to go through my first issue and manually re-create the php directories.
....
anyone that works with snapshots or compiled pecl extensions.. is there a better way to do this stuff?