Re: Bug #3847 Updated: SEGFAULT in PHP when Sybase environment variables are not set
| From: | Dean Bennett | Date: | Mon, 24 Jul 2000 23:53:37 +0000 |
| Subject: | Re: Bug #3847 Updated: SEGFAULT in PHP when Sybase environment variables are not set | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-25913@lists.php.net to get a copy of this message | ||
It should be easy enough just to put a check of getenv("SYBASE") in
php_minit_sybase, and if it is NULL, puke out an error message and return
FAILURE.
In fact, I just tried it and it works.
Bug Database wrote:
>
> ID: 3847
> Updated by: joey
> Reported By: joey@samaritan.com
> Status: Open
> Bug Type: Feature/Change Request
> Assigned To:
> Comments:
>
> OK, this is not a PHP bug per-se.
> Still, I'm wondering if there is not some way the PHP can handle this.
>
> Full Bug description available at: http://bugs.php.net/?id=3847
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net