Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is no-debug-non-zts-20090626?

Tags:

php

In php.ini I have:

extension_dir = "/usr/lib/php/extensions"

However, running php-config gives:

--extension-dir  [/usr/lib/php/extensions/no-debug-non-zts-20090626]

This directory does not exist, and I could not find any information about it on the Web.

Can anyone shed some light on this strange directory?

like image 879
forthrin Avatar asked Jan 19 '13 12:01

forthrin


1 Answers

It's an extension directory for PHP, named after some factors that influence extension compatibility: thread safety (non-zts), debug (no-debug), and engine version (20090626).

I recommend against changing the path. If it doesn't exist, create it, and put your extensions there. It's also where PECL will install extensions.

like image 94
Tom van der Woerdt Avatar answered Oct 13 '22 06:10

Tom van der Woerdt