Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failed: support for \P, \p, and \X has not been compiled at offset 31 #211

Closed
dogstarTest opened this issue Mar 20, 2015 · 2 comments

Comments

@dogstarTest
Copy link

Hi,

after i installed and first try to generate my project docs with:
phpdox -f phpdox.xml.dist

it saied:
[20.03.2015 - 16:33:27] The following file(s) had errors during processing and were excluded:
[20.03.2015 - 16:33:27] - ..... /app.php (preg_replace_callback(): Compilation failed: support for \P, \p, and \X has not been compiled at offset 31)

any help is very appreciated, ths~

@theseer
Copy link
Owner

theseer commented Mar 20, 2015

Your PCRE library has not been compiled with unicode properties support. This is a very old problem on CentOS / RHEL 5.x and probably other derivatives. I'll be adding a sanity check to the environment verification for that edge case.

You can find a more elaborate explanation as well as instructions on what can be done about it here:
https://chrisjean.com/unicode-support-on-centos-52-with-php-and-pcre/

@dogstarTest
Copy link
Author

@theseer thanks for your patience reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants