1 2 3 4 Previous Next 49 Replies Latest reply on Apr 28, 2010 12:51 PM by peterj Go to original post
      • 45. Re: jboss AS, jboss Web and php

        I downloaded php5servlet-windows-SP1-i586.zip replaced php5servlet.dll with your dll which you stored at location http://members.cox.net/ocjohnsons/php5servlet.zip

        I ran dependency walker tool opened php5servlet.dll into it. There were missing dlls msvcr80.dll,msjava.dll I added thosedlls. Still there is one error in dependeny walker log window as
        "The Side-by-Side configuration information for "d:\iwatch\php5servlet-windows-sp1-i586\php\bin\PHP5SERVLET.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001)."

        I am running application windows xp 32bit. I downloaded native, php module are also for 32 bit os.

        • 46. Re: jboss AS, jboss Web and php
          shanelm

          Actually based on running phpinfo(), I found out that the directory it's looking for php.ini in linux is at /home/jfclere/Linux_i686_tools/PHP/lib/. I created that path, stuck a php.ini file in it, and it's loading it great.

          The last thing I need to do is enable support for Oracle. In the windows download, php_oci8.dll is provided in the extensions directory, but there's nothing in the linux i686 download. I was hoping for a way to download just that file and then point to it, but everything I find tells me I need to recompile all of PHP (http://www.oracle.com/technology/pub/notes/technote_php_instant.html). Do I really need to do all that? And if I do, do I need to do it with the code here instead: http://anonsvn.jboss.org/repos/jbossreflex/trunk/php/ ?

          I've also seen this quote from http://www.jboss.org/file-access/default/members/jbossweb/freezone/modules/php/index.html: "Additing extension libraries - For the moment this feature is only supported on Solaris." Is that implying that unless I'm using Solaris (I'm using Red Hat) this is impossible? It worked on windows...

          Thanks so much :)

          • 47. Re: jboss AS, jboss Web and php
            peterj

            Can you see the php-oci8 module in the package manager or in yum? If so, you could just download that. I think that in the past I successfully hooked up the PHP that came with my Linux distro to php5server - it's all in how the PATH is set.

            If there is no oci8 module, you will have to build it. If you find the exact sources that match your PHP, you should be able to simply copy the php-oci8 module to the extensions directory (in other words, you don't have to completely replace the PHP you already have), and update your php.ini to load it.

            • 48. Re: jboss AS, jboss Web and php

              Hi.

               

              Virtual Pc

              Windows XP

              Jboss AS 6.0

              PHP 5.3.2

               

              I have read all the threads i have downloaded all the PHP5servlet.dll and tested but i have the same problem of "SAPI", Do i need to download Jboss 4.x to make it work?

               

              in Jboss 6, there is not native directory by the way and the config it´s a litte different.

               

              Thanks in advance.

              • 49. Re: jboss AS, jboss Web and php
                peterj

                At one time I had PHP working with JBoss AS 5.0.0. The interesting part is usually making certan that the run scripts set the proper java.library.path, and making sure that the path matches the directory structure for where the files are located.

                 

                However, ever since I ran across Quercus, I have abandoned using native PHP within JBoss AS because Quercus provides everythign I need for running PHP within JBoss AS and has many benefit above using native PHP.

                http://quercus.caucho.com/

                1 2 3 4 Previous Next