Mantis - Quercus
Viewing Issue Advanced Details
563 minor always 12-25-05 09:32 12-27-05 18:25
bago  
 
normal  
closed  
fixed  
none    
none 3.0.18  
0000563: $_SERVER is not read_only in the original php
$_SERVER should be updatable.

500 Servlet Exception

java.lang.UnsupportedOperationException: _SERVER is read-only
    at com.caucho.quercus.env.ServerArrayValue.put(ServerArrayValue.java:118)
    at _quercus._test__php.execute(_test__php.java:51)
    at com.caucho.quercus.page.PhpPage.executeTop(PhpPage.java:116)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:194)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:267)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:388)
    at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
    at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
    at java.lang.Thread.run(Thread.java:595)
<?php
$_SERVER['foo'] = 'bar';
?>

Notes
(0000592)
ferg   
12-27-05 18:25   
php/0824