|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi! i've just started to learn php. i've installed php4 on freebsd 5.4. i tried a simple script using preg_match() and i got the following error:
Fatal error: Call to undefined function: preg_match() in /usr/local/www/data-dist/first.php on line 2 i've checked if pcre's installed, and yes, it is. could anyone please help me with this? thanks! |
|
#2
|
|||
|
|||
|
Quote:
Check your /usr/local/etc/php/extensions.ini if the line "extension=pcre.so" has no semicolon in the first column. ... Did you install "php4-extensions" from the ports? In recent FreeBSD ports, they split off the "base php" and "php extensions" for easier maintenance. HTH, M. (Moderators, please move to *BSD forum)
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
Quote:
hey! I tried to install the php extensions from the ports, it turned out that i had trouble with my ports. I just had it fixed, and yes, after installing the php-extensions, everything went on smoothly! thanks again! ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > preg_match error (freebsd) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|