[PHP-DEV] Bug #14888 Updated: could configure generate a shell script to reuse for other installations?

2002-01-06 Thread mfischer

ID: 14888
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: FreeBSD
PHP Version: 4.1.1
New Comment:

There is already and its called 'config.nice'

Previous Comments:


[2002-01-06 08:54:00] [EMAIL PROTECTED]

when installing php, it would be nice if configure could generate a
little shell script with the config options specified, to make upgrading
to new versions simpler. I use this:

--8--

[mini:root]:/usr/local/src/php # cat makeline.sh 
#!/bin/sh

configopts='
--enable-dbg=shared
--with-dbg-profiler
--with-gd=/usr/local/
--with-imap
--with-mysql=/usr/local
--with-pgsql=/usr/local/pgsql
--with-versioning
'

./configure $configopts \
--with-apxs=/usr/local/apache/bin/apxs \
 
make all install 21 | tee make.log

if [ -f config.cache ]; then rm config.cache; fi

apachectl stop
sleep 2
apachectl start

## now make the cgi binary

rm config.cache

./configure $configopts \

make all install 21 | tee -a make.log

--8--

so all I have to do to upgrade is untar, copy that script in and run it.
maybe configure could generate something more intelligent?





Edit this bug report at http://bugs.php.net/?id=14888edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14888 Updated: could configure generate a shell script to reuse for other installations?

2002-01-06 Thread pgl

ID: 14888
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Feature/Change Request
Operating System: FreeBSD
PHP Version: 4.1.1
New Comment:

excellent! (well, nice.) thanks.

Previous Comments:


[2002-01-06 09:00:32] [EMAIL PROTECTED]

There is already and its called 'config.nice'



[2002-01-06 08:54:00] [EMAIL PROTECTED]

when installing php, it would be nice if configure could generate a
little shell script with the config options specified, to make upgrading
to new versions simpler. I use this:

--8--

[mini:root]:/usr/local/src/php # cat makeline.sh 
#!/bin/sh

configopts='
--enable-dbg=shared
--with-dbg-profiler
--with-gd=/usr/local/
--with-imap
--with-mysql=/usr/local
--with-pgsql=/usr/local/pgsql
--with-versioning
'

./configure $configopts \
--with-apxs=/usr/local/apache/bin/apxs \
 
make all install 21 | tee make.log

if [ -f config.cache ]; then rm config.cache; fi

apachectl stop
sleep 2
apachectl start

## now make the cgi binary

rm config.cache

./configure $configopts \

make all install 21 | tee -a make.log

--8--

so all I have to do to upgrade is untar, copy that script in and run it.
maybe configure could generate something more intelligent?





Edit this bug report at http://bugs.php.net/?id=14888edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]