ive re-installed php several times now , and continue to get the same error,
is there a certian argument i need to pass to it during make or make install , or a argument i need to pass to apache? Ive already tested to see if php is working and apahce is parsing my php code, but what I think it is , is im missing a php library or something. I just dont know wich one or if I didnt compile it correctly.
ill continue searching for awnsers.
I hope somebodly else has had this problem too.
Happy New Year!!
megarock Nuke Cadet
Joined: Jan 03, 2005
Posts: 4
Posted:
Mon Jan 03, 2005 1:56 pm
First off I'm not a newb and run six Linux boxes but have never come across something so fruit on a standard installation before. This started from reading the recent vunerability with php so I though it a good idea to update to the most recent version (4.3.10). It was a really bad move.
Whenever I tried accessing my PHPNuke install I got this error:
Fatal error: Call to undefined function: preg_match() in /usr/home/webadmin/public_html/mainfile.php on line 23
All other PHP sites running on the server also dead as a nail.
First noticable thing is this problem never occured until the latest releast of PHP (4.3.10). Befoer this I was running PHP 4.3.3 and never had this problem.
So, I installed:
php4-pcre-4.3.10
Once this was done all my browser is loading is this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
The page is blank and it's like nothing at all is there.
So, since I have several servers (at least a few that still have the older mod_php 4.3.3 I'm moving my site there until I can figure out what the heck is wrong since I can't tell if this is a Nuke problem, a PHP problem (which it appears to be) or a combination of both but hopefully people read this and hesitate on upgrading to any recent versions of PHP with an issue that not only knocked out my nuke site but everything else running PHP.
=== EDIT ===
An update. As I had installed mod_php as I always had from the BSD ports collection before it seems everything needed installed on it's own. It seems now with mod_php 4.3.10 this is no longer the case. No extentions loaded and I have had to take on the daunting task of tracking this issue down.
I have at least got PHP to load after installing the PHP extentions port
/usr/ports/lang/php4-extentions
Don't know what kind of moron though of changing this in the middle of a release but they should be smacked really, really hard as even the changefiles fail to mention it. Rebooted the system and bang, everything worked great.
Hopefully this helps someone else avoid this major pain in the neck.
d4mi4n Nuke Cadet
Joined: Mar 22, 2005
Posts: 1
Posted:
Tue Mar 22, 2005 8:29 am
hi,
megarock:
i have the same problem with the blank page, i installed pcre with php4-extensions, phpinfo() tells me that everything is loaded, but i only get the html tags
only the phpinfo works right
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum