answersLogoWhite

0


Best Answer

If you are using WAMP server it shouldn't be a problem cause you just have to click and open the httpconf file in Apache folder using notepad. Making changes are not that difficult either

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you edit apache httpdconf for php?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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


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


Difference between apache and PHP?

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


What is meant by .phtml?

Some people choose to run their PHP files via the .phtml extension. Web servers, such as apache, allow us to define our own extensions. For apache, you'll have to load httpd.conf and find/edit a line in similar fashion to : AddType application/x-httpd-php .php .php3 .phtml .foo : It means that PHP will parse .php .php3 .phtml and .foo files on this server.


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 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.


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.