Some PHP 4 help, anyone?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jact
    Confirmed User
    • Sep 2002
    • 9134

    #1

    Some PHP 4 help, anyone?

    I'm getting the following error from one of my scripts, I'm not sure why the function is undefined, anyone have some insight?

    Fatal error: Call to undefined function: preg_match()

    PHP Version 4.3.10, built with FreeBSD's ports collection.
    Free agent
  • AcidMax
    Confirmed User
    • May 2002
    • 1827

    #2
    You need to PCRE stuff compiled into PHP I believe. Not sure but that should be default, probably depends on how long it has been since you updated your ports collection too. If it's new, maybe someone broke it, if its old, maybe you need to update ports and try again.

    Does it show anything for PCRE in phpinfo?


    PCRE = Perl Compatible Regular Expressions

    Andy
    Latest MMA news. http://www.mmawrapup.com

    Comment

    • jact
      Confirmed User
      • Sep 2002
      • 9134

      #3
      Originally posted by AcidMax
      You need to PCRE stuff compiled into PHP I believe. Not sure but that should be default, probably depends on how long it has been since you updated your ports collection too. If it's new, maybe someone broke it, if its old, maybe you need to update ports and try again.

      Does it show anything for PCRE in phpinfo?


      PCRE = Perl Compatible Regular Expressions

      Andy
      Thanks, building support in now.
      Free agent

      Comment

      Working...