[jboss-user] [Beginner's Corner] - Re: Does Jboss support PHP?

Sushant Gulati do-not-reply at jboss.com
Wed Aug 29 05:48:31 EDT 2012


Sushant Gulati [https://community.jboss.org/people/gulatisushant] created the discussion

"Re: Does Jboss support PHP?"

To view the discussion, visit: https://community.jboss.org/message/756688#756688

--------------------------------------------------------------
Hi Peter
After going through this thread (and a few others) as suggested by you I succesfully deployed quercus-4.0.25.war (by unzipping it) on my JBoss AS7 running on Windows 7.
I am able to hit the php pages when I paste them in "\jboss-as-7.1.1.Final\standalone\deployments\quercus.war".

Further my target is to deploy OWA (Open Web Analytics) which is built using PHP on the same server as my web application is running on, which happens to be JBoss AS7. 


The problem what I am facing is when I try to install OWA it generates a config file (inside quercus.war) with the values I have entered in the installation form.Now in the second step OWA tries to read these values but all it reads is blank (empty) values.
After comparing this newly generated config file with the same config file generated over wamp server (during installation of OWA over wamp) what I found is that there is difference in the struture of both the generated files. The one generated thru JBoss over Quercus didn't have any new line. All config file entry was in a single line whereas the config file generated over wamp had multiple new lines.
When I replace the config file generated using Quercus over JBoss with the config file generated on wamp, it works fine.

*As per my understanding what I am interpreting is that due to some encoding difference this is happening.* 
*Is there a difference between the encoding which quercus renders with the one PHP module runs on?*
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/756688#756688]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120829/96e302e2/attachment-0001.html 


More information about the jboss-user mailing list