# [PATCH] sybase "appname" contains static version number

- Thread: https://externals.io/message/9260
- Original archive: https://news-web.php.net/php.internals/9260
- Started by Uwe Schindler on 2004-04-16T15:33:20+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #9260 — Uwe Schindler — 2004-04-16T15:33:20+00:00

URL: https://externals.io/message/9260#9260

Appended a patch to the sybase extensions, that set the default value for 
the sybase appname to ("PHP " PHP_VERSION). I have seen that in PHP 4.3.6 
where this variable is statically set to "PHP 4.0" (!!!). In the tree of 
PHP5 it is a little bit better when this is set to "PHP 5", but the perfect 
soultion sould be the patch.

If somebody wants a fixed sybase "appname", he can configure it in php.ini 
or give it to the sybase_(p)connect function.

-----
Uwe Schindler
thetaphi@php.net - http://www.php.net
NSAPI SAPI developer
Erlangen, Germany

---

## #9262 — Derick Rethans — 2004-04-16T15:51:22+00:00

URL: https://externals.io/message/9260#9262 · In reply to: #9260

> Appended a patch to the sybase extensions, that set the default value for
> the sybase appname to ("PHP " PHP_VERSION). I have seen that in PHP 4.3.6
> where this variable is statically set to "PHP 4.0" (!!!). In the tree of
> PHP5 it is a little bit better when this is set to "PHP 5", but the perfect
> soultion sould be the patch.

Commit it? :)

Derick

---

## #9340 — Timm Friebe — 2004-04-18T15:31:14+00:00

URL: https://externals.io/message/9260#9340 · In reply to: #9262

> 
> 
> > […]
> 
> Commit it? :)

Go ahead.

- Timm

---

## #9342 — Derick Rethans — 2004-04-18T15:47:18+00:00

URL: https://externals.io/message/9260#9342 · In reply to: #9340

> 
> > […]
>
> Go ahead.

It was already done ;-)

Derick
