I am installing PHP 5.3.6 and the instructions I am using as a reference uses --with-regex=php. I have done some research into this option but am unable to find a detailed answer. Can someone please explain to me what this option exactly does and why one would use it? Thanks!

link|improve this question

30% accept rate
feedback

1 Answer

The configure --help option is quite clear on that:

--with-regex=TYPE       regex library type: system, php. [TYPE=php]
                        WARNING: Do NOT use unless you know what you are doing!

It tells autoconf which type of regular expression library it should use. Default is PHP's own, which is a good thing as you want PHP programs to be portable. So, just forget about this option and you are fine.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.