#444 [Opn]: /usr/local/bin/pear: segmentation fault

From: Date: Wed, 17 Dec 2003 09:30:15 +0000
Subject: #444 [Opn]: /usr/local/bin/pear: segmentation fault
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24482@lists.php.net to get a copy of this message
ID: 444 Updated by: pajoye@php.net Reported By: sw at telemedia dot ch Status: Open Bug Type: Bug System Operating System: OpenBSD PHP Version: Irrelevant New Comment: We need the php version and the pear version. you can get it using the folliwing command: PHP: $> php -v PEAR $> pear -V That said, I doubt BSD port are a good way to install pear (or php ;) ). They are outdated most of the times. pierre Previous Comments: ------------------------------------------------------------------------ [2003-12-17 03:58:08] sw at telemedia dot ch Description: ------------ the latest php package available with OpenBSD is 3.2.3. after installing the package and pear from the OpenBSD port the pear script dies with: Reproduce code: --------------- <b2-143:/usr/ports/www/php4/extensions/pkg>#pear --help Expected result: ---------------- <b2-143:/usr/ports/www/php4/extensions/pkg>#pear --help Usage: pear [options] command [command-options] <parameters> Type "pear help options" to list all options. Type "pear help <command>" to get the help for the specified command. Commands: login logout config-show config-get config-set install uninstall upgrade package package-info package-list package-validate cvstag list-installed shell-test remote-package-info list-upgrades list-remote-packages Actual result: -------------- Segmentation fault. when i change /usr/local/bin/pear from: #!/usr/local/bin/php -Cq <?php // -*- PHP -*- to: #!/usr/local/bin/php -cq <?php // -*- PHP -*- it works fine. # php -h does not offer a '-C' argument. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=444&edit=1

« previous php.pear.dev (#24482) next »