# OnUpdateLong

- Thread: https://externals.io/message/839
- Original archive: https://news-web.php.net/php.internals/839
- Started by Patrick Welche on 2003-04-10T15:44:10+00:00
- Messages: 3
- 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

---

## #839 — Patrick Welche — 2003-04-10T15:44:10+00:00

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

I am getting many

php4/ext/mysql/php_mysql.c:310: `OnUpdateLong' undeclared here (not in a
+function)

errors, but can not find a definition anywhere. What is strange is that in
ChangeLog there is the following note: 

2003-03-11  Jani Taskinen  <sniper@iki.fi>

    * (PHP_4_3) 
      sapi/apache2handler/php_functions.c:
      OnUpdateLong is only in php5/HEAD. (oops! :)

but as far as I can tell, I am using php5/HEAD ! (cvs of Apr  9 17:20 GMT)
So where is it hiding? I find the declarations for OnUpdate{Bool,Int...} in

File: zend_ini.h        Status: Up-to-date

   Working revision:    1.23
   Repository revision: 1.23    /repository/Zend/zend_ini.h,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)



How come I'm the only one who seems to be seeing these problems? 

Cheers,

Patrick

---

## #841 — Jay Smith — 2003-04-10T16:08:16+00:00

URL: https://externals.io/message/839#841 · In reply to: #839

If you checkout php4 without any tags, you get those errors. Checking out
php5 should work. To check out PHP 4, do 'cvs co -r PHP_4_3 php4'.

J


Patrick Welche wrote:

> I am getting many
> 
> php4/ext/mysql/php_mysql.c:310: `OnUpdateLong' undeclared here (not in a
> +function)
> 
> errors, but can not find a definition anywhere. What is strange is that in
> ChangeLog there is the following note:
> 
> 2003-03-11  Jani Taskinen  <sniper@iki.fi>
> 
>     * (PHP_4_3)
>       sapi/apache2handler/php_functions.c:
>       OnUpdateLong is only in php5/HEAD. (oops! :)
> 
> but as far as I can tell, I am using php5/HEAD ! (cvs of Apr  9 17:20 GMT)
> So where is it hiding? I find the declarations for OnUpdate{Bool,Int...}
> in
> 
> File: zend_ini.h        Status: Up-to-date
> 
>    Working revision:    1.23
>    Repository revision: 1.23    /repository/Zend/zend_ini.h,v
>    Sticky Tag:          (none)
>    Sticky Date:         (none)
>    Sticky Options:      (none)
> 
> 
> 
> How come I'm the only one who seems to be seeing these problems?
> 
> Cheers,
> 
> Patrick

---

## #842 — Patrick Welche — 2003-04-10T16:50:45+00:00

URL: https://externals.io/message/839#842

> You didn't not specify that you want to checkout the 4.3.X tree, hence the 
> problem. Add -rPHP_4_3 to you checkout line and fetch the new sources, it'll 
> work after that.

Yes, thank you - I checked out php5 now. Before I had just php4,
and was happily just cvs updating - after all, the module name in
server-info appeared as php 5.0.0-dev, as it still does now. It is
all much better now. The only nits being that libtool 1.4e is tested
as being older than 1.4.3 by buildcheck.sh, but then again if you're
using cvs-libtool, you know enough to comment out the check, and
the other one is that I get an httpd.core on start up. This is because
I used bison 1.875. Remaking with 1.75 gave me a working php. Do the
bison folk know?

Cheers,

Patrick
