compile php with pcre-regex

Discussion in 'Installation/Configuration' started by cape, Jun 19, 2007.

  1. cape

    cape New Member

    Hi folks,

    How to recompile my php 5.1.6 ver on centos 4.5

    rather than
    '--with-pcre-regex=/usr' '--with-zlib'

    pleazee help
  2. Ben

    Ben ISPConfig Developer ISPConfig Developer

    It does not directly help, but why do you compile it yourself?
    Do you need a special version / module that is not shipped with the fc's rpms, e.g. via yum?
  3. cape

    cape New Member

    I recently moved to new server. Transfer my invision board and..

    IPB WARNING [2] preg_match: internal pcre_fullinfo() error -3 (Line: 314 of /sources/ipsclass.php)
    Could not determine your IP address

    invision support suggested to either upgrade my php ver


    compile different

    I have to do it myself cauze i am on un-managed vps :(
  4. Ben

    Ben ISPConfig Developer ISPConfig Developer

    But then I would grab the configure commoand from
    php -i (on the shell) or phpinfo();.
    Then remove the existing php package and recompile it that way + adding maybe needed configure options (-> ./configure --help | more).

Share This Page