answersLogoWhite

0


Best Answer

Yes, Apache Tomcat supports the installation and usage of PHP (of any version below 5, not including 5). See the related links for an official Tomcat-PHP installation guide.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Yes Apache supports php although you have to install mod_php which if you are on debian can be installed with "apt-get install libapache2-mod-php"

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Does Apache support PHP
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is tomcat server use for php?

In normal circumstances only apache server supports php scripts. There can be some tweaking done in tomcat to support php


Difference between apache and PHP?

Apache is a web server. PHP is a scripting language.


How do you support PHP on a web server?

contact your service provider and ask them to enable it on your account for shared hosting and if its a dedicated server you will need to edit your apache files to load to php module and reload and restart apache hope this helps :D


What is a good server for PHP language?

The best server yet for php serving is Apache, as PHP and Apache work closely together. The MySQL community database is a good server for PHP applications, this is why we talk about w/xamp servers, Windows/Linux Apache MySQL PHP servers.


Why Apache use in php?

If I understand correctly it is because php is primarily a web programming language and Apache is a popular HTTP server.


Is it apache compulsory for php mysql?

No necessarily, PHP can be used on various other web servers, not just Apache, but Apache is the most popular. MySQL is a stand-alone database engine and is used by a lot of other stuff, not just PHP apps.


Does you need any software to execute php files?

To execute PHP files, you will need a webserver (Apache) and a compiler (PHP4 or PHP5) . You may refer to Apache official website on how to install Apache on a Windows-based machine


How do you run php programs?

You need to install PHP either on a pre built apache server such as xampp or download PHP directly from the website.


What line is added to the Apache configuration file to ensure that PHP extensions are recognized?

Adding the following lines to the Apache 2.x configuration file will associate .php files with PHP, given the PHP 5 module (DLL file) is also loaded through the configuration: <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch>


Does php run in Windows 7?

Php can run on windows 7, but it does not run directly on it. PHP is a server side-language that runs on Apache. So in order to use PHP on windows 7, you need to install Apache on it. You can do this by installing WAMP server on your windows 7 machine. PHP will automatically be available to you once installed.


What is lamp in php?

LAMP stands for Linux-Apache-MySQL-PHP. In simpler terms it contains everything to build a php application on a linux platform.


How does Apache MySQL and PHP work together?

Let me answer from less 'technicall' point of view. Apache is the HTTP server. It gets the HTTP requests and answers with the HTML code. PHP is used to generate this HTML dynamically on server side. MySQL is used by PHP for getting the data. Once the Apache HTTP server gets the request for the page with php (or php3, php4, phtml or whatever is configured in Apache's config file), it calls PHP interpreter to generate HTML. Then this HTML is returned to the client - internet browser which sent HTTP request. PHP has got an access to MySQL DB via several APIs. This simply means, that you can just call some function in PHP script to select, import update or delete some data in a table of DB. You can also maintain the DB, create, delete new tables a.s.o. There is a lot of functions for that ;)