|
|
| Vorheriges Thema anzeigen :: Nächstes Thema anzeigen |
| Autor |
Nachricht |
Tomnibus Neuer User
Anmeldungsdatum: 16.09.2005 Beiträge: 2
|
16.09.2005 14:52 Upgrading messes up executable |
|
|
I know this is primarily German, I hope y'all can help me though...
Here is my configuration:
| Code: | Configuration:
==============
PEAR executables directory bin_dir /usr/local/php/bin
PEAR documentation directory doc_dir /web/common-files/pear/docs
PHP extension directory ext_dir /usr/local/php/lib/php/extensions/no-debug-non-zts-20020429
PEAR directory php_dir /web/common-files/pear
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /web/common-files/pear/data
PHP CLI/CGI binary php_bin /usr/local/php/etc/pearkeys
PEAR test directory test_dir /web/common-files/pear/tests
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state beta
Unix file mask umask 22
Debug Log Level verbose 1
HTTP Proxy Server Address http_proxy <not set>
PEAR server master_server pear.php.net
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/local/bin/gpg
Signature Key Directory sig_keydir /usr/local/php/etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers) |
I keep my stuff in different directories so that when I upgrade PHP the information in my pear directories doesn't change.
However, everytime Pear gets updated lately The executable in /usr/local/php/bin/pear gets changed and this is what it is changed to:
| Code: | #!/bin/sh
# first find which PHP binary to use
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
if test "/usr/local/php/etc/pearkeys" = '@'php_bin'@'; then
PHP=php
else
PHP="/usr/local/php/etc/pearkeys"
fi
fi
# then look for the right pear include dir
if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
INCDIR=$PHP_PEAR_INSTALL_DIR
INCARG="-d include_path=$PHP_PEAR_INSTALL_DIR"
else
if test "/web/common-files/pear" = '@'php_dir'@'; then
INCDIR=`dirname $0`
INCARG=""
else
INCDIR="/web/common-files/pear"
INCARG="-d include_path=/web/common-files/pear"
fi
fi
exec $PHP -C -q $INCARG -d output_buffering=1 $INCDIR/pearcmd.php "$@" |
Notice that the php_bin is changed to /usr/local/php/etc/pearkeys
and the include path is changed to: /web/common-files/pear
they should be:
/usr/local/php/bin/php
/usr/local/php/lib/php
Why is the executable changed and how can I make sure it never happens again!? _________________ I know enough to be dangerous! |
|
| Nach oben |
|
 |
Tomnibus Neuer User
Anmeldungsdatum: 16.09.2005 Beiträge: 2
|
16.09.2005 14:55 |
|
|
Wait, I see now the php_bin was set to the wrong thing in the config. That has been fixed. I still wonder about the Library include though. _________________ I know enough to be dangerous! |
|
| Nach oben |
|
 |
|
|
|
Zu Deinen Favoriten hinzufügen
|
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum nicht posten Du kannst Dateien in diesem Forum herunterladen
|
|