Forum Moderators: coopster

Message Too Old, No Replies

Setting up Java within PHP

How do I make sure the system's PATH variable points to the JDK, in XP?

         

donovanh

2:20 pm on Nov 28, 2003 (gmt 0)

10+ Year Member



Hi,

I'm setting up Java within PHP. The PHP.ini settings have been updated, and the line:

extension=php_java.dll

has been added. When I restart the server, it complains that it cannot find the php_java.dll file, even though I've copied it into the php extensions folder.

In the article I'm using it states that I should "alter the PATH variable in your 'autoexec.bat' file". However, as I am using Windows XP, there is no autoexec.bat file.

What can I do?

Thanks,

Donovan

NickCoons

3:55 pm on Nov 28, 2003 (gmt 0)

10+ Year Member



<In the article I'm using it states that I should "alter the PATH variable in your 'autoexec.bat' file". However, as I am using Windows XP, there is no autoexec.bat file.>

Right-click My Computer, go to Properties, choose the Advanced tab, and Click on Environment Variables. I don't know if this will solve the extensions issue, but it is how you set the PATH variable in Windows XP.