answersLogoWhite

0

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

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Computer Science

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


Does Apache support PHP?

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.


How does a web server determine whether a requested document includes PHP code?

Web server passes the requested document to PHP interpreter, which validates and processes PHP code in it, then the server reads the response from PHP interpreter and returns the resulting response to client.For an instance, Apache HTTPD uses instructions such as AddType, to know how to process various documents, basing on their extensions (the following example is common and may require changes depending on Apache HTTPD and PHP configuration):AddType application/x-httpd-php .php .p8p .txtThis directive instructs Apache HTTPD to let PHP process files which are suffixed with .php, .p8p or .txt, thus files such as index.php, Homepage.p8p and Settings.txt will be processed by PHP.


What database does the WAmmp server refer to when it's used with PHP?

WAMP is an abbreviation of "Windows, Apache, MySQL, and PHP", so it uses MySQL database server.


How do you run PHP in Windows without SQL?

Install Apache server.The best solution is to install the latest version of WAMP server (Windows Apache MySQL PHP). You can then open the WAMP folder on your hard drive and locate the WWW folder. Inside of the WWW folder you can store your PHP files.To preview the files open a browser and enter 'http://localhost' to test if the server is working, after testing add the name of a PHP file to the URL, 'http://localhost/myFile.php'.

Related Questions

Difference between apache and PHP?

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


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


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.


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.


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 Apache support PHP?

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.


What are the requirement of the php?

To run PHP scripts you need a working WWW server (for instance Apache or nginx), with installed and compiled PHP sources (in Windows environment you can use binaries, there is no need to compile).


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>


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 do you edit a PHP file?

Open it in Notepad. Add or remove whatever code you want. To test, you will have to upload it to a PHP enabled webhost, or you will need to install MySQL, PHP, and Apache on your computer. Use Editor to edit the PHP file. Example: Notepad++ , editplus ,Zend IDE ,Netbeans IDE

Trending Questions
What is the abbreviation of software engineer? When you view a video online and you don't save it does it still save? What connector is used to terminate Ethernet unshielded twisted pair UTP cabling? How do you sign up for power teacher? How many amps will a 240 volt single phase 15 kva generator supply? What are their basic functions of the power and data cables? Does it matter which degree you get either an AS or AAS? What is a bayonet clip? What layer of the ois model adds source and destination MAC address to frames? What is the plastic or rubber coverings on wires called? Same word with technical and non technical meaning? Should you buy a 3x HDMI cable or 2x HDMI cable or 4x HDMI cable? If you remove hidden and useless files from your hard drive will it delete aim and things like that? What is the capability of a computer to display graphics video and sound called? Are PC cards hot-swappable? My HP Compaq DC7800 computer has started beeping everytime I plug it in and turn it on It's beeps 5 times and then breathes hard with a red light flashing next to a light bulb Thanks? How do you draw event table in software engineering? Is it possible to insert an external drive that connects to your computer using a USB cable while the computer is on and running? How many host addresses are available in the address 172.16.32.0? I wanted to pay my internet bill is there any option to pay online. I hardly have any idea about internet and online transactions but I need to use this facility so some please help me for providing?