From: <php...@li...> - 2012-06-21 08:38:19
|
Hello, We are running various PHP applications with Tomcat and php-java-bridge. Everything worked fine until I installed phpMyAdmin. It complained that the PHP installation was broken and unable to create session files. The box runs PHP 5.2.13, Tomcat 6.0.26 and Sun/Oracle JDK 1.6.0_18 on top of Windows Server 2008 R2. Long story short, the root cause is the use of single quotes in: session.save_path='C:Program FilesApache Software FoundationTomcat 6.0temp' Using double quotes works perfectly: session.save_path="C:Program FilesApache Software FoundationTomcat 6.0temp" The solution is a tiny patch on lines 923-925 in php-java-bridge-6.2.1serverphpjavabridgeUtil.java: Original lines: buf.append("'"); buf.append(val); buf.append("'"); Patched lines: buf.append("""); buf.append(val); buf.append("""); Sincerely, François |