# php 5.3.14 nts source code for windows

- Thread: https://externals.io/message/64270
- Original archive: https://news-web.php.net/php.internals/64270
- Started by Amir on 2012-12-12T16:29:21+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

---

## #64270 — Amir — 2012-12-12T16:29:21+00:00

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

Hi
I searched in php.net and did not find any link that contain php none
thread safe source code for windows.
I have a php source that encoded with Zend Guard 5.5 and have to decode
with Zend Guard Loader.
note: Zend Guard Loader is NTS and didn't read TS code.

---

## #64271 — Anatoliy Belsky — 2012-12-12T16:40:21+00:00

URL: https://externals.io/message/64270#64271 · In reply to: #64270

Hi,

the source is always the same, get it under
http://windows.php.net/downloads/releases/ . To compile NTS use
--disable-zts configure option.

Regards

Anatoliy

On Wed, 2012-12-12 at 19:59 +0330, Amir wrote: 
> Hi
> I searched in php.net and did not find any link that contain php none
> thread safe source code for windows.
> I have a php source that encoded with Zend Guard 5.5 and have to decode
> with Zend Guard Loader.
> note: Zend Guard Loader is NTS and didn't read TS code.

---

## #64272 — keisial@gmail.com — 2012-12-12T17:03:55+00:00

URL: https://externals.io/message/64270#64272 · In reply to: #64270

> Hi
> I searched in php.net and did not find any link that contain php none
> thread safe source code for windows.
> I have a php source that encoded with Zend Guard 5.5 and have to decode
> with Zend Guard Loader.
> note: Zend Guard Loader is NTS and didn't read TS code.
Did you look at http://windows.php.net/download/#php-5.3 ?

I would first verify if the latest 5.3 version (5.3.19), published
there, works with the Zend Guard you have.

Otherwise, you can look for your 5.3.14-nts in the archives
http://windows.php.net/downloads/releases/archives/
(but you would miss all the bugs fixed since, including at least a
security one)

---

## #64273 — Amir — 2012-12-12T21:05:16+00:00

URL: https://externals.io/message/64270#64273 · In reply to: #64272

Hi
I just want php NTS source code not compiled version, to compile my own
extension that used in Zend Guard Loader.




> 
> > […]
> Did you look at http://windows.php.net/download/#php-5.3 ?
>
> I would first verify if the latest 5.3 version (5.3.19), published
> there, works with the Zend Guard you have.
>
> Otherwise, you can look for your 5.3.14-nts in the archives
> http://windows.php.net/downloads/releases/archives/
> (but you would miss all the bugs fixed since, including at least a
> security one)

---

## #64275 — Amir — 2012-12-12T21:27:32+00:00

URL: https://externals.io/message/64270#64275 · In reply to: #64271

Thanks Anatoliy, but I don;t want to compile PHP source, I just want to
compile my own extension on windows via NTS PHP source code.




> Hi,
>
> the source is always the same, get it under
> http://windows.php.net/downloads/releases/ . To compile NTS use
> --disable-zts configure option.
>
> Regards
>
> Anatoliy
>
> 
> > […]

---

## #64276 — Kris Craig — 2012-12-12T21:42:15+00:00

URL: https://externals.io/message/64270#64276 · In reply to: #64275

> Thanks Anatoliy, but I don;t want to compile PHP source, I just want to
> compile my own extension on windows via NTS PHP source code.
>
>
> 
>
> > […]
>

There is no separate source code for NTS vs. ZTS.  As Anatoliy stated, NTS
is accomplished using the --disable-zts option during configure.  If you're
not actually building PHP, then you'll need to either simulate that in your
environment or examine the source code yourself and identify where the
configure option is applied.  Otherwise, what you're looking for simply
does not exist.

--Kris

---

## #64277 — Derick Rethans — 2012-12-12T22:43:03+00:00

URL: https://externals.io/message/64270#64277 · In reply to: #64275

> Thanks Anatoliy, but I don;t want to compile PHP source, I just want to
> compile my own extension on windows via NTS PHP source code.

You can't do that, you need to compile PHP as well to get such an 
environment where you can compile extensions.

cheers,
Derick

---

## #64278 — Pierre Joye — 2012-12-12T22:53:25+00:00

URL: https://externals.io/message/64270#64278 · In reply to: #64277

hi,


> 
>
> > […]
>
> You can't do that, you need to compile PHP as well to get such an
> environment where you can compile extensions.

Or use the SDK and development package. As long as your extension has
no dependencies, the classic phpize way works just fine on windows
too.

Cheers,
--
Pierre

@pierrejoye
