php3 to php4 migration woes

From: Date: Thu, 01 Aug 2002 03:20:57 +0000
Subject: php3 to php4 migration woes
Groups: php.general 
Request: Send a blank email to php-general+get-110612@lists.php.net to get a copy of this message
x86-3 being added to access control list I've recently updgrade my Apache Webserver to 1.3.26 and opted to upgrade php form 3.x.x to 4.2.2. I have succesfully built it all and things are stable. I have been running the "album" picture database which is included as an example with the php3 distro. Well this is now broken with php4. What apears to be happening is the query string is not being processed. For example if I have the simple phpscript test2.php which looks like: <? $url=parse_url($_SERVER["REQUEST_URI"]); echo "<H1>QUERY_STRING= $url[query]</H1>"; $url[query]; echo "<H1>Album= $album</H1>"; ?> and call this with something like http://foo.bar.com/test2.php?album=sunsets It echoes out the query string but the variable album remains unset. This same script works just fine if accessed against my php3 enabled apache server. Can anybody explain why this is happening? Did I miss some configuration somewhere. Oh yeah, this is all on Solaris. Rgds, Bruce Riddle -- Can marketing and reality really coexist ?

« previous php.general (#110612) next »