Posted on 12:35 AM by Softminer and filed under ,

1.download and unzip PHP 5 to a directory, c:\php-5.2.6-Win32

2. download PECL 5.2.5 Win32 binaries.

3.rename php.ini-dist to php.ini in c:\php-5.2.6-Win32

4.Uncomment or add the line (remove semi-colon at the beginning) in php.ini:

5.copy php5servlet.dll from PECL 5.2.5 to c:\php-5.2.6-Win32

6.copy php_java.dll from PECL 5.2.5 to c:\php-5.2.6-Win32\ext

7.create a directory named "php" (or what ever u like) in tomcat\webapps directory

8.copy phpsrvlt.jar from PECL 5.2.5 to tomcat\webapps\php\WEB-INF\lib

9.unjar or unzip phpsrvlt.jar
for unzip use winrar or winzip
for unjar use : jar xfv phpsrvlt.jar

10.change both net\php\reflect.properties and net\php\servlet.properties to library=php5servlet

11.Recreate the jar file
-> jar cvf php5srvlt.jar net/php/*.*
PS: if the jar file doesnt run you have to add the Path to system variables
for me I added C:\Program Files\Java\jdk1.6.0\bin; to System variables/Path

12.creat web.xml in tomcat\webapps\forphp\WEB-INF with this content:

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance "

xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd ">


















13.Add PHP path( c:\php-5.2.6-Win32) to your System or User Path in Windows enironment (Hint: Right-click and select Properties from My Computer

14. create test.php for testing under tomcat\webapps\php like

15.Restart tomcat

16.browse http://localhost:8080/php/test.php
Posted on 5:06 AM by Softminer and filed under , ,

I followed the following procedure to install Sesame on Apache 6 and the problem was with the Apache which return blank Page.

here is the solution:

you just need to add following System variables:

variable name : JAVA_HOME
variable value: C:\Program Files\Java\jre6

variable name : CATALINA_HOME
variable value: C:\Program Files\Apache Software Foundation\Tomcat 6.0

Installing the Sesame Server

Sesame requires an implementation of Java Servlet 2.4 and JavaServer Pages 2.0 technologies running on Java 5. Apache Tomcat 6.0 with Java SE 6.0 is recommended.

You can download Java SE 6 at http://java.sun.com/javase/downloads/

You can download Apache Tomcat 6 at http://tomcat.apache.org/download-60.cgi

The Sesame Server is included in the openrdf-sesame sdk archive available at http://www.openrdf.org/

Once you have downloaded and installed Java and Tomcat you can install the Sesame Server in the Tomcat webapps directory. Copy the openrdf-sesame.war and openrdf-workbench.war files in the Tomcat webapps directory and restart Tomcat.

If everything installed correctly opening your browser to http://localhost:8080/openrdf-workbench should present you with a "List of Repositories".

Posted on 8:09 AM by Softminer and filed under ,

Sometimes the visual studio porject compiles and run properly but can not be published and has some error regarding to usercontrol .ascx files and dlls.

just close visual studio
go to folder

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root

delete all the temporary files and then try again.
Posted on 8:07 AM by Softminer and filed under

iisreset [computername]

/RESTART - Stop and then restart all Internet services.
/START - Start all Internet services.
/STOP - Stop all Internet services.
/REBOOT - Reboot the computer.
/REBOOTONERROR - Reboot the computer if an error occurs when starting, stopping, or restarting Internet services.
/NOFORCE - Do not forcefully terminate Internet services if attempting to stop them gracefully fails.
/TIMEOUT:val - Specify the timeout value ( in seconds ) to wait for a successful stop of Internet services. On expiration of this timeout the computer can be rebooted if the /REBOOTONERROR parameter is specified. The default value is 20s for restart, 60s for stop, and 0s for reboot.
/STATUS - Display the status of all Internet services.
/ENABLE - Enable restarting of Internet Services on the local system.
/DISABLE - Disable restarting of Internet Services on the local system.
Posted on 7:50 AM by Softminer and filed under

  1. <asp:templatefield headertext="#">

  2. <itemtemplate>

  3. <%# Container.DataItemIndex + 1 %>

  4. </itemtemplate>

  5. </asp:templatefield>