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

Still curious? Ask our experts.

Chat with our AI personalities

TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin

Add your answer:

Earn +20 pts
Q: Why Apache use in php?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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'.