I had my Apache 2.2 installed on windows. Now I just finished installing PHP on the Apache server. As the instruction says, I need to edit the httpd.conf of my Apache and add:
On the Web Server Setup panel, choose the version of the Apache server - in our example it is Apache 2.2.x Module. On the Apache Configuration Directory panel, specify the directory where the Apache configuration file httpd.conf is located. How can I install PHP5 manually on Ubuntu. Includes Apache 2.4 update. For Apache 2.2 + PHP 5.4 repository, see the bottom of the answer. By re-installing my.
![Apache Apache](https://wiki.nukeviet.vn/_media/web_server:image368.png)
I made sure the directory is correct. Then I restart my server again. I have a hello.php file in my htdocs. And I navigate to localhost:8080/hello.php and it says server not found, however when I do index.html. It display's the html correctly on the htdocs folder.
What am I doing wrong here? I tried to debug this by trying to execute hello.php from the command line by executing G:Program FilesPHPphp-cgi hello.php, but then it says:
![Installing Php In Apache 2.2 Programs Installing Php In Apache 2.2 Programs](https://en.opensuse.org/images/0/06/1_Software_Management.png)
'G:Program is not recognized as internal or external command.....
hakre1 Answer
You can use some this like XAMPP its easy to configuration.
![Php Php](https://i.ytimg.com/vi/5Qkn3re3Wk8/maxresdefault.jpg)