Redhat 7 problem and fix

From: Date: Fri, 12 Jan 2001 15:10:26 +0000
Subject: Redhat 7 problem and fix
Groups: php.general 
Request: Send a blank email to php-general+get-34011@lists.php.net to get a copy of this message
We upgraded a box running RH6.2 to RH7. Same build process for PHP as before, but the ereg functions didn't work the same. ereg_replace("{cow}",$cow,$x); now needs to be ereg_replace("\{cow\}",$cow,$x); The {} are escaped now. Dunno what changed 'under the hood', but the only change we made (I'm about 90% certain) was going RH6.2 to 7. Hope this helps someone else doing an upgrade from going as crazy as we did... :)

« previous php.general (#34011) next »