Link to home
Start Free TrialLog in
Avatar of thedogeater
thedogeater

asked on

php_mod4

I am having the devil of a time trying to get php working correctly.
With the latest apache13 and php4 port installed I get this
Fatal error: Call to undefined function: preg_match() in
/usr/home/jsmith/public_html/phpwiki-1.2.4/lib/transform.php

I have checked and every thing seems to be in place in the httpd.conf
file in so far as AddType declarations

Also I notice that php port tells me it is using an old configuration
file when I build it?
Found saved configuration for mod_php4-4.3.8_1,1

Also it there anything I could be doing to my apache configuration to
get it to play nice with SVG?
ASKER CERTIFIED SOLUTION
Avatar of jdw_2004
jdw_2004

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jdw_2004
jdw_2004

To correct myself, it's "make rmconfig" to get rid of the old "Found saved configuration for mod_php4-4.3.8_1,1" file, and not "make distclean."

Also, I was able to get the /usr/ports/lang/php4-extensions port to build by disabling the ctype extension.
Avatar of thedogeater

ASKER

Thanks a lot. It seems this kind of change could be documented a little better?
I certainly agree.  I also think that perhaps a bit more testing should have been done.

It is briefly mentioned in the file /usr/ports/UPDATING, but that file changes so much and covers so many ports that it's tough to keep track of it.