# PHP4/PHP5 Apache Modules on Windows

- Thread: https://externals.io/message/6946
- Original archive: https://news-web.php.net/php.internals/6946
- Started by GPHemsley@aol.com on 2004-01-10T07:09:35+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

---

## #6946 — GPHemsley@aol.com — 2004-01-10T07:09:35+00:00

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

Again, I'm asking about running both PHP4 and PHP5 on Windows XP as Apache 
modules.

I asked this question a few months ago and was told it was a bad idea. But 
now, it seems that the latest snapshot (RC1-dev, it seems) has the file 
php5apache.dll. Can I safely set it up just as I did with PHP4? Will I need to do 
something different? Can I do it at all? Thanks.

Gordon Hemsley

P.S. As I was in the middle of writing this e-mail, I remembered being told 
that it would be better posted to php.general or php.windows (I think). Would 
it be better to do that? The only reason I'm asking is because the only list 
that I subscribe to is Internals, so it would be extra effort to do so. Thanks 
again!

---

## #6959 — Jani Taskinen — 2004-01-11T01:13:04+00:00

URL: https://externals.io/message/6946#6959 · In reply to: #6946

IIRC, it does not work. And it will not work either.
    Only way to run both in same apache is to have other one
    run as CGI.
    
    --Jani
    



>Again, I'm asking about running both PHP4 and PHP5 on Windows XP as Apache 
>modules.
>
>I asked this question a few months ago and was told it was a bad idea. But 
>now, it seems that the latest snapshot (RC1-dev, it seems) has the file 
>php5apache.dll. Can I safely set it up just as I did with PHP4? Will I need to do 
>something different? Can I do it at all? Thanks.
>
>Gordon Hemsley
>
>P.S. As I was in the middle of writing this e-mail, I remembered being told 
>that it would be better posted to php.general or php.windows (I think). Would 
>it be better to do that? The only reason I'm asking is because the only list 
>that I subscribe to is Internals, so it would be extra effort to do so. Thanks 
>again!

---

## #6984 — mfischer@gjat.josefine@Markus Fischer — 2004-01-11T22:13:22+00:00

URL: https://externals.io/message/6946#6984 · In reply to: #6946

On Sat, Jan 10, 2004 at 02:09:35AM -0500, GPHemsley@aol.com wrote : 
> Again, I'm asking about running both PHP4 and PHP5 on Windows XP as Apache 
> modules.
> 
> I asked this question a few months ago and was told it was a bad idea. But 
> now, it seems that the latest snapshot (RC1-dev, it seems) has the file 
> php5apache.dll. Can I safely set it up just as I did with PHP4? Will I need to do 
> something different? Can I do it at all? Thanks.

    Faces with the same problem some time ago, albeit on unix, my
    faourite choice of solution (FCoS [tm]) was to run another instance
    of Apache with a different httpd.conf file and use the proxy module
    to to guide the requests through.

    - Markus
