GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Some PHP 4 help, anyone? (https://gfy.com/showthread.php?t=491895)

jact 07-13-2005 02:05 PM

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.

AcidMax 07-13-2005 02:17 PM

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

jact 07-13-2005 02:49 PM

Quote:

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.


All times are GMT -7. The time now is 12:52 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123