News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Compilation error

Started by soundsyst64, September 13, 2013, 06:27:46 AM

Previous topic - Next topic

soundsyst64

Hi.

I have one account hosted in the server having the following error. I recompile the server apache by adding mod_ruid + jailshell.

account - hxxp:forum.engkabang.net [nonactive]

2: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Compilation failed: unknown option bit(s) set at offset -1
File: /home/ekabang/public_html/forum/Sources/Subs.php
Line: 2531

Does such error related to apache recompile?

kat



On the page that you downloaded the mod from, you'll see this:



If you click that, you'll be taken to the mod's support topic, where they'll be able to help you, with this.

:)

margarett

Google shows some related problems (not with SMF, but with other PHP scripts) and some solutions.

Have a look:
http://labs.sasslantis.ee/2011/05/errors-in-wordpress-after-php-upgrade/
https://bugs.dokuwiki.org/index.php?do=details&task_id=2228
(everyone seems to blame a certain PCRE, whatever that is :P )
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

青山 素子

So, it seems this error is likely due to an older version of the pcre library (pcre = perl-compatible regular expressions). If you're using mod_php, it gets loaded inside Apache httpd and possibly could be pulling an older version because of that.

How did you do the recompile of the service? Is this part of cPanel, or are you manually loading things on your server?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Advertisement: