I am using xampp server. Does it support Jsp and Java servlets? If not, is there any server that supports both 'php and Java EE' and to how to use it
Use Apache Tomcat 7.0, it will support both PHP and Java EE.
As stated in official xampp web page it supports:
with the release of the new version of XAMPP 1.8.0,
Apache 2.4.2
MySQL 5.5.25a
PHP 5.4.4 phpMyAdmin 3.5.2
FileZilla FTP Server 0.9.41
Tomcat 7.0.28 (with mod_proxy_ajp as connector)
Strawberry Perl 5.16.0.1 Portable
XAMPP Control Panel 3.0.12 (from
hackattack142)
it seems with the tomcat server you can deploy your application if java configurations (Java SE JDK 6) are done properly. In this video (Integrating Tomcat with Apache Using XAMPP Part 1) it tells how to do it but basically you can put your jsp file to /xampp/tomcat/webapps folder.
In my opinion starting using netbeans IDE and selecting the XAMPP server as a default server you can deploy your javaEE applications easily, a good start is here.
For PHP tomcat supports and also XAMMP has very is easy configuration for PHP projects, you can follow the details from this video.
Related
In my system I have configured IIS 7.0 for hosting asp.net website. Now I want work also in PHP. So for that I have installed WAMP server in my same machine. But when Iam trying to access the PHP code it is reading only IIS. Do anyone has solution for this? Or can we host/deploy PHP code in IIS?
do not use IIS and WAMP at same time
instead use PHP Manager for IIS
It can be easily downloaded and installed by 'web platform Installer'
Download Web Platform installer
here
I have have installed a software that came along with an ASP.NET
hosted in UltiDev Web Server Explorer a web application manager, its
database is .mdb, and I want to add some pages to it using PHP for an
additional features. And UltiDev can run only asp.net and I have no
time for now to study ASP. is there any other web application manager
that can run php and ISS together sharing the same .mdb database? I am
not interested in IIS right now.
yes you can run PHP server on IIS but reverse is not so easy.
Goto this link and install this web platform installer. then you can access and manage your PHP files
http://php.iis.net/
you can easily manager like Apache server
You can install PHP to run alongside an IIS installation with the Microsoft WebMatrix tool.
http://www.microsoft.com/web/webmatrix/
On a sidenote, Helicon has a selection of PHP/Ruby/etc applications that can be easily deployed to an IIS installation via WebMatrix.
http://www.helicontech.com/zoo/gallery/
I am a newbie in PHP and the Apache server things. All I want is to run and test my PHP scripts on my computer i.e a single computer environment.
I installed the Apache HTTP Server 2.2.25 on my Windows 8 OS (64 bit). I installed PHP 5 through IIS Web Platform Installer.
During the server installation I set the network and server to localhost.
I created this file txt.php and tried localhost/txt.php but the browser shows nothing.
What's missing?
I heard we have to edit the httpd.conf file, if yes then what and how to edit?
You are installing Apache HTTP Server (wich is a http server) and PHP5 on a IIS (Wich is an http server for windows)
One of the easiest way to have a server up and running in windows is through http://www.wampserver.com/en/
So, uninstall all you installed on your question and use Wamp to manage the server with PHP and Mysql runing without more problems.
Of course, you can install all by your own, but since you want just a server runing, this one will help you to start fast.
Wamp lets you control the software versions, so you can try different php versions, apache versions, etc.
I downloaded and installed without any problem Wordpress through Webmatrix in a Windows Server 2008 r2 in development environment. Once I finished the customization, I wanted to deploy the Wordpress blog, in order to make accessible to other users, in the same Windows Server 2008 r2.
And here started the pain. I correctly validated the connection with IIS 7.5 (I correctly set up the Web Deployment tool) and with the MySQL database.
Once I click the publish compatibility, all the checks (Database, Simple HTML page, PHP and MySQL driver for PHP) are not available. I already installed PHP 5.2 and I enabled the ISAPI in IIS 7.5 for 32 bits applications.
About MySQL I suppose it should work upon installation(as it works in development environment) but still it is not recognized. Anybody might help? Thanks
I have designed a PHP based website which needs to run on a local server. Unfortunately I have developed this on a WAMP server using Apache. The machine on which this website will be placed on only supports the IIS server and I am not allowed to install Apache on this this machine.
How do I run PHP code on an IIS server?
See this link: http://php.iis.net/
99% of stuff is compatible. There can be some problems though (for example if you use mod_rewrite, or some file operation functions behave a little differently).
You can get it installed and include the right infrastructure (IIS, WinCache, and FastCGI, and URL Rewrite) with a single click using Web Platform Installer:
To install PHP 5.2 use:
http://www.microsoft.com/web/gallery/install.aspx?appid=PHP52
To install PHP 5.3 use:
http://www.microsoft.com/web/gallery/install.aspx?appid=PHP53
http://php.iis.net/
With IIS 7, a lot of the apache/iis gaps have been closed. Like mod_rewrite is available in IIS 7 (http://www.iis.net/download/urlrewrite)
Here's how I got PHP 5.3 running on IIS 6:
http://www.howtoadvice.com/PHPIIS