hi everyone i installed php 5 and apache 2.0 but it isnt working when i open the page in th browser it shows the codes anyone help
if you are getting php source it means apache is not configured to load php modules.. please provide more details... if you want to save your time and want to install apache, mysql, php then there is one package called XAMPP ... on windows platforms i use this ... www.xampp.org more over it is having facility to switch between php 4.4 and php 5
1. In the Apache installation directory, find a file called httpd.conf (it should be in a subdirectory called 'conf/') and open it with your text editor. 2. Add this line in the httpd.conf file: AddType application/x-httpd-php .php 3. Restart your Apache and see if it works now. If with the above steps it still doesn't work, search for this line: LoadModule php5_module "/path/to/your/php5/module/file" In case it's not obvious, "/path/to/your/php5/module/file" is to be changed to where ever your module file is. If you can't find "LoadModule php5_module" in the httpd.conf file, add it yourself, then restart Apache again and see if it works now. If it still doesn't work, try re-installing, Apache first, then PHP.