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
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
Thanks for the help, Peter.
Running ldd didn't show any missing dependencies, but I did notice that the
user of some of the files was root. I chown'd them to something jboss can
access and it worked like a charm. Score!!
Still curious though on how I edit php settings. There was no php.ini
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.
Hi Peter.
I done a setup for JBOSS4.2.2 .While running Dependency walker some dlls were
missing I added them. But still in Dependency walker log window error is Error:
The Side-by-Side configuration information for
d:\iwatch\php5servlet-windows-sp1-i586\php\bin\PHP5SERVLET.DLL contains
azc
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4237292#4237292
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237292
___
jboss-user mailing list
jboss-user@lists.jboss.org
The standard locations should be checked for the php.ini file, so it should
work. I know that when I first tried this on XP it picked up my php.ini file in
the windows directory.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4237400#4237400
Reply to the post
ravindrashinde11, where are you seeing the Side-by-Side configuration
information error? When you run Dependency Walker? When you one the
php5servlet.dll file? Or is this showing up for a missing dependency for
php5servlet.dll? Did you google Side-by-Side configuration information? Most
of the
Peter, I'm hoping you still monitor this thread, as you seem to be the absolute
guru when it comes to PHP integration into JBOSS. But don't let that prevent
others from responding...i need all the help I can get!
I followed the instructions on this thread and successfully got PHP to work in
The problem might not be with the libphp5servlet.so file, but rather a missing
dependency. Try using the ldd command to see if that is the case.
There are some other posts on PHP - a search should reveal them and they might
provide some more info.
View the original post :
nitm..r u able to run php on jboss application server. If yes can you give me
the steps
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4235547#4235547
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4235547
Please don't ask the same question in multiple locations.
Also, this topic has all kinds of information on setting up PHP; why aren't you
following the suggestions made?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4235722#4235722
Reply to the post :
Ah, OK.
I'll made a new release then compiled against 5.2.9
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4227102#4227102
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4227102
Peter,
What were the changes you made for the php5servlet?
Was it just a new build or you fix something?
Regards
Malden
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4226750#4226750
Reply to the post :
I don't thnik that I changed anything. The php5servlet.dll supplied must have
been compile with old sources and still referred to an old package name. The
sources I downloaded contained the correct package name and after compiling
them worked without issue. That is why I never raised a JIRA -
Do not forget to have .NET framework installed on your system!
The new phpservlet.dll depends on msvrt80.dll.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4185888#4185888
Reply to the post :
Hi, Peter.
I am working on to make php working with Jboss enterprise platform 4.3. I got
following error message in my log.
14:06:25,428 ERROR [ContainerBase] StandardWrapper.Throwable
java.lang.UnsatisfiedLinkError:
/opt/apps/jboss-eap-4.3/jboss-as/bin/native/libphp5servlet.so:
The LD_LIBRARY_PATH needs to include the native directory (that's where the
missing libphp5servlet is located).
You have a 64-bit OS. Are you also running a 64-bit JVM, in which case do you
also have the 64-bit version of the PHP library? The PHP library and JVM must
match.
View the original
Guys,
I got php working by going to this
url:http://10.100.5.126:8080/php-examples/internet.html
Can I show my php page as one of my tag/page on my portal
http://10.100.5.126:8080/portal
where the url is http://10.100.5.126:8080/portal/default/internet ?
or is it possible to include as a
The closest you can get is to use an iframe portlet to host the contents of the
php page. There is an iframe portlet in PorltetSwap.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124175#4124175
Reply to the post :
Peter,
I have installed php 5.2.? (the lastest stable as of yesterday)
and I am using your php5servlet.dll
I got PHP working...yeah...
Another question: Can I put a package like phpbb3 or phpmyadmin in the
php-examples folder and it should work, correct?
I will try this but I was
hi
i am using phpMyAdmin with jboss AS.
i didnt put it in the samples directory (i am not using the sample dir at all),
instead i just packed it up in a war and deployed it as a regular jboss
application.
it works great.
View the original post :
As nitm pointed out, any war file should work. Just follow the example provided
by php-examples.war.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123639#4123639
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123639
Peter/nitzan,
I was hoping to get a hand from you. I am trying to get jboss-portal-2.6.3.GA
to work with php.
installation
--
JBOSS_HOME: C:\Documents and Settings\nflorez\My
Documents\DOWNLOADS\jboss-portal-2.6.3.GA
JAVA:
1) You will need a 5.1.x version of PHP.
2) No, having it in your classpath is sufficient
In php5servlet-windows-SP1-i586, there should be a php-examples.war directory,
copy it to your deploy directory and then access it as
http://localhost:8080/php-example/index.php.
View the original post :
great news!
happy to hear that you located the problem and that you solved it as well..
any chance that you can some how place the new php5servlet.dll somewhere on the
web so i'll be able to download it? i would prefer not to start to compile c++
code since (in experience) it's always
well, i'm glad that it's not something wrong @ my end..
thanks for the help, i searched the forums a lot and did not find something
that will help... maybe you can do a better job (maybe you know better what it
is we're looking for).
i'm not using the php-examples.war so i'll place the
I got my php setup from work and have it running at home. The difference is
that I used an older version of the php-related code. With the old code, you
had to use the old package name, org.apache.catalina.servlets.php, instead of
the new package name: org.jboss.web.php.
I examined the
Eureka!
I rebuilt the php5servlet.dll (had to install Visual C++ Express and the
platform SDK, the source for PHP, and make various modifications in the
makefile 'cuz it was looking in very unusual locations for the php include
files), placed the php5servlet.dll in my bin/native directory,
peter,
i uninstalled and deleted everything (java, jboss, php) and re-installed them...
installations:
- java: C:\apps\java\jdk1.5.0_14
- jboss: C:\apps\server\jboss\application-server\jboss-4.2.2.GA
- php: C:\apps\server\php\php5servlet-windows-SP1-i586\PHP
steps i did to configure jboss
I am setting up PHP on JBossAS 4.2.2 on my desktop at home. So far, I am at the
same point you are - I did the same steps, and am getting the same error. I am
now trying to figure out what I did at work (where I have this running) that
was different from what I have done so far.
I could go to
peter, thanks a lot for all your help, i really appreciate it!
here's the info of the server:
jdk: there are two jdks on the computer: jdk1.5.0_14 and jdk1.6.0_03
the JAVA_HOME is set to: jdk1.5.0_14 (C:\Program Files\Java\jdk1.5.0_14)
jboss: i'm using jboss-4.2.2.GA and the JBOSS_HOME is set
Take both the JDK and JBossAS out of Program Files. Paths with spaces in them
tends to give some Java code fits. I have mine installed at c:\apps\jdk1.5.0_13
and c:\opt\jboss\jboss-4.2.2.GA. You do not have to re-install the JDK - simply
move it to the new location and adjust JAVA_HOME
If the dependency walker did not notice any missing DLLs, then it should work.
I have some other ideas, but my php-enabled setup is at work and I am at home,
and I want to try them out first to see if they help (or even work) before
suggesting them. So I will have to set up php at home. This
ok, that did the trick.. now the server runs outside localhost as well..
thanks!
any ideas on the php problem?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4115408#4115408
Reply to the post :
nitm wrote : oh, another question:
| i used the service.bat that comes with the jboss-native to run the jboss AS
as windows service.
| this works great but only for local host.
| i know that i should use the -b option when using run.bat (run -b 0.0.0.0)
but i do i make it run as windows
peter,
i checked the JAVA_OPTS and the following directories:
- bin/native
- php/bin
- php/bin/ext
are included there
as for the depends utility, i couldnt find a windows version of this so i
downloaded Dependency Walker which does the same..
it says that my dwmapi.dll is missing as well but
oh, another question:
i used the service.bat that comes with the jboss-native to run the jboss AS as
windows service.
this works great but only for local host.
i know that i should use the -b option when using run.bat (run -b 0.0.0.0) but
i do i make it run as windows service like this?
thanks.
thanks a lot for your help peter.
i tried what you wrote but it doesnt help.
i still get the same error message even when php5servlet.dll is in bin\native.
any other ideas of what might the problem be?
thanks a lot!
nitzan.
View the original post :
When the app server starts, it prints the value of JAVA_OPTS, and one of those
options should be -Djava.library.path= Make sure that the bin/native
directory, and the php directory (the one that has all of the php-related dlls)
are in that list.
Another thing to try is open the
The error message is written in Unixese. In Windows, the missing file is
php5servlet.dll, and it should be in the bin/native directory. When you unpack
the zip download http://labs.jboss.com/jbossweb/downloads/php/, copy the file
from the PHP/bin directory to bin.native.
View the original post
hi,
i'm still having a problem with php in JBoss AS 4.2
i did try to follow everything that was said in the thread i was directed to,
and other pages i could find but it does not help.
i get this exception:
The PHP Native library which allows executing PHP scripts was not found on the
That thread is about getting PHP to run on JBossAS. As indicated there, the
steps are to install JBoss Native, and then install the PHP package from
http://labs.jboss.com/jbossweb/downloads/php/. It worked for me.
View the original post :
See the discussion at
[url]http://www.jboss.com/index.html?module=bbop=viewtopict=121051[/ur].
Though some are the specific issues discussed are Linux-related, the general
'how to get php running in jbossas' portion applies to XP as well.
View the original post :
thanks for your reply.
i read the thread you pointed at, but i'm afraid that it's not what i'm looking
for...
the main thing that i'm looking for is the JBoss Application Server and not the
JBoss Web.
i only want the JBoss Web in order to use php (and url rewriting might be nice
as well).
45 matches
Mail list logo