ghosthaa.blogg.se

Apache tomcat 8.5 php
Apache tomcat 8.5 php










In order to do this, we need to create a new variable with name JAVA_HOME, this variable is checked by Tomcat. Indicating to Tomcat the path of Java, using Environment Variables

apache tomcat 8.5 php

Then this post will work with Tomcat 7.0.41 for Win32. The version of Tomcat tested that worked well was the 7.0.41, because 7.0.42 version had problems with starting and stopping in Windows. Here we select the PATH variable and press the Edit button.įinally modify the variable value adding at the end the path of PHP and press the OK button. Now, We select Advanced tab and press the Environment Variables button. Later, the System Properties dialog box is shown. Now, Is needed to access to variables system, with this manner or according to your preference: Now lets go to declare to system the path of the PHP. Php.ini-dist (for developing) and php.ini-recommended (for production), the difference consist into if the errors will be shown, while the version for developing shows the errors and other information, the version for production does not.Īs I’m testing I took php.ini-dist and copied: Inside of this folder there are two files containing templates of configuration of php: Then I will use the PHP 5.2.16 for Win32. The last version of PHP that works with that PECL version was the 5.2.16. jar files that allow us to configure some (not all) PHP version with Tomcat.Īll instalation will be made in the folder: PHP can works with the library named PECL, the last library that help us to reach the goal is the version 5.2.5.

apache tomcat 8.5 php apache tomcat 8.5 php

This tutorial was tested using Windows 7 of 32 bits. Maybe this post is rare for someone, but I will try to explain how to install PHP working with Tomcat.












Apache tomcat 8.5 php