# Engine selection on Win32

- Thread: https://externals.io/message/2795
- Original archive: https://news-web.php.net/php.internals/2795
- Started by Sascha Schumann on 2003-06-25T19:50:10+00:00
- Messages: 5
- 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

---

## #2795 — Sascha Schumann — 2003-06-25T19:50:10+00:00

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

Here is a patch which automates the engine selection for VC++.

    http://www.php.net/~sas/win32-engineselect.diff

    This has been successfully tested with VC++ 6.0.  Together with
    the already committed patch for Unix, this completes the work
    on making CVS handling version-agnostic and more transparent
    to all PHP developers.

    - Sascha

---

## #2796 — Sebastian Bergmann — 2003-06-25T20:58:14+00:00

URL: https://externals.io/message/2795#2796 · In reply to: #2795

Sascha Schumann wrote:
> Here is a patch which automates the engine selection for VC++.

  Works here, too.

  But is this really necessary? I fail to see the point of having to
  check out both versions of the Zend Engine twice when doing

    cvs co -r HEAD php-src

  and

    cvs co -r PHP_4_3 php-src

  for instance.

  Is there any technical problem, that I don't see, with the way we
  handled this before (havin php4 and php5 aliased that select the
  correct {Zend|ZendEngine2} CVS module)?

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

         http://www.professionelle-softwareentwicklung-mit-php5.de/

---

## #2816 — Zeev Suraski — 2003-06-26T08:08:13+00:00

URL: https://externals.io/message/2795#2816 · In reply to: #2795

At 23:58 25/06/2003, Sebastian Bergmann wrote:
>Sascha Schumann wrote:
> > […]
>
>   Works here, too.
>
>   But is this really necessary? I fail to see the point of having to
>   check out both versions of the Zend Engine twice when doing
>
>     cvs co -r HEAD php-src
>
>   and
>
>     cvs co -r PHP_4_3 php-src
>
>   for instance.
>
>   Is there any technical problem, that I don't see, with the way we
>   handled this before (havin php4 and php5 aliased that select the
>   correct {Zend|ZendEngine2} CVS module)?

I second that.  There's no reason not to keep the php5 alias, and no reason 
not to tell people that the way to checkout php4 is cvs -r PHP_$ php4.
The Win32 diff may work, but it certainly is ugly.

Zeev

---

## #2854 — Jani Taskinen — 2003-06-26T18:25:48+00:00

URL: https://externals.io/message/2795#2854 · In reply to: #2816

>At 23:58 25/06/2003, Sebastian Bergmann wrote:
> > […]
>
>I second that.  There's no reason not to keep the php5 alias, and no reason 
>not to tell people that the way to checkout php4 is cvs -r PHP_$ php4.
>The Win32 diff may work, but it certainly is ugly.

    Checkout of php-src should only give you php-src, not Zend. :)
    There's nothing wrong with the php4/php5 aliases, that worked
    just fine, now this shit in there now gives you 2 zend-directories..
    Ridiculous.

    --Jani

---

## #2856 — Sascha Schumann — 2003-06-26T18:36:57+00:00

URL: https://externals.io/message/2795#2856 · In reply to: #2854

>     Checkout of php-src should only give you php-src, not Zend. :)
>     There's nothing wrong with the php4/php5 aliases, that worked
>     just fine, now this shit in there now gives you 2 zend-directories..
>     Ridiculous.

    I agree that it is ridiculous that we have two zend
    directories.  It really should be one.

    The problem is that merging the two CVS histories is pretty
    ugly and not something which can be done in one day.

    Contrary to your belief, there are a lot of issues with the
    php4/php5 aliases as pointed out in my earlier email.

    - Sascha
