# PHP6 Win32 Build Issues

- Thread: https://externals.io/message/38045
- Original archive: https://news-web.php.net/php.internals/38045
- Started by Marco on 2008-06-01T13:15:39+00:00
- Messages: 8
- 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

---

## #38045 — Marco — 2008-06-01T13:15:39+00:00

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

Hi All

I have downloaded the snapshot build of PHP6 from snaps.php.net but noticed
the building of the apache extensions are failing.

According to the log I can see the following 3 problems

Creating library Release_TS\php6apache.lib and object Release_TS\php6apache.exp
mod_php.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
Release_TS\php6apache.dll : fatal error LNK1120: 1 unresolved externals
SAPI sapi\apache build complete

c:\php4build\snap>NMAKE /I /nologo "php6apache2.dll"
NMAKE : fatal error U1073: don't know how to make
'sapi\apache2handler\mod_php5.c'
Stop.

c:\php4build\snap>NMAKE /I /nologo "php6apache2_2.dll"
NMAKE : fatal error U1073: don't know how to make
'sapi\apache2handler\mod_php5.c'
Stop.


Is there any chance of getting these fixed soon so I can get my application
tested with PHP6?

TIA

Marco

---

## #38046 — Marco — 2008-06-01T13:35:29+00:00

URL: https://externals.io/message/38045#38046 · In reply to: #38045

I've done some quick checks and I think part of the problem is in the
following commit

http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2handler/config.w32?r1=1.4&r2=1.5

AFAICS mod_php5.c has been renamed mod_php.c in PHP6.

Regards

Marco

---

## #38047 — Marco — 2008-06-01T13:57:45+00:00

URL: https://externals.io/message/38045#38047 · In reply to: #38045

> mod_php.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
> Release_TS\php6apache.dll : fatal error LNK1120: 1 unresolved externals
> SAPI sapi\apache build complete
>
>
I think this part was broken with

http://cvs.php.net/viewvc.cgi/php-src/sapi/apache/mod_php.c?r1=1.6&r2=1.7

Its very possible i'm wrong as my c coding skills are very rusty.

Hopefully someone will know more accurately so we can get the SAPI's working
again.

Regards

Marco

---

## #38048 — Pierre Joye — 2008-06-01T14:00:49+00:00

URL: https://externals.io/message/38045#38048 · In reply to: #38047

Hi,


> > […]
> I think this part was broken with
>
> http://cvs.php.net/viewvc.cgi/php-src/sapi/apache/mod_php.c?r1=1.6&r2=1.7
>
> Its very possible i'm wrong as my c coding skills are very rusty.
>
> Hopefully someone will know more accurately so we can get the SAPI's working
> again.


Can you open a bug report please? One of the windows guys (me or
other) will try to fix this as soon as possible.

Thanks for the head up!

Cheers,
-- 
Pierre
http://blog.thepimp.net | http://www.libgd.org

---

## #38049 — Marco — 2008-06-01T14:07:21+00:00

URL: https://externals.io/message/38045#38049 · In reply to: #38048

Hi Pierre


> Can you open a bug report please? One of the windows guys (me or
> other) will try to fix this as soon as possible.


Thanks, bug reported at http://bugs.php.net/bug.php?id=45144

>
> Thanks for the head up!


Thanks for the quick response!

Regards

Marco

---

## #38050 — Matt Wilmas — 2008-06-01T14:12:13+00:00

URL: https://externals.io/message/38045#38050 · In reply to: #38046

Hi Marco,

----- Original Message -----
From: "Marco"
Sent: Sunday, June 01, 2008

> I've done some quick checks and I think part of the problem is in the
> following commit
>
>
http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2handler/config.w32?r1=1.4&r2=1.5
>
> AFAICS mod_php5.c has been renamed mod_php.c in PHP6.

You're right about the filename, so I corrected config.w32.  Though I'm not
sure about the "unresolved external" part from your next message, so we'll
wait for someone with more experience than me in that area I guess. :-)

> Regards
>
> Marco

- Matt

---

## #38051 — Marco — 2008-06-01T14:15:27+00:00

URL: https://externals.io/message/38045#38051 · In reply to: #38050

>
>
> You're right about the filename, so I corrected config.w32.  Though I'm not
> sure about the "unresolved external" part from your next message, so we'll
> wait for someone with more experience than me in that area I guess. :-)


Thanks Matt!

Regards

Marco

---

## #38052 — Marco — 2008-06-01T14:22:58+00:00

URL: https://externals.io/message/38045#38052 · In reply to: #38045

> Creating library Release_TS\php6apache.lib and object Release_TS\php6apache.exp
> mod_php.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
> Release_TS\php6apache.dll : fatal error LNK1120: 1 unresolved externals
>
> SAPI sapi\apache build complete
>
> btw, thought i'd check PHP 5.3 and the issue is also there for the
php5apache.dll module

Creating library Release_TS\php5apache.lib and object Release_TS\php5apache.exp
mod_php5.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
Release_TS\php5apache.dll : fatal error LNK1120: 1 unresolved externals
SAPI sapi\apache build complete


Regards

Marco
