How to open PHP file ???
Posted 08 June 2006 - 03:49 PM
However, this time I used XAMPP & in it's control window, Apache, MySQL and FireZilla are all running & hence I believe the installation went successful.
I now want to open my PHP files. The program's instruction say that All the documents should be saved in folder ".\xampp\htdocs" [a href=\"http://www.apachefriends.org/en/xampp-windows.html#1168\" target=\"_blank\"]http://www.apachefriends.org/en/xampp-windows.html#1168[/a]
I saved my website's folder i.e. "Personal Website" folder in the location c:/program files/xampp/htdocs"
Problem is everytime, I try to open the document in the browser, I get the message window asking "What should Firefox do with this file? with couple of option saying "Open with: phpfile (default) or Save to disc" & when I say OK for "open with "phpfile (default)" it opens its "coding" in my Dreamweaver instead of its "result" in the web browser.
Could anyone possibly point me in the right direction as how do I go about opening my PHP pages as I was able to earlier.
Posted 08 June 2006 - 04:16 PM
[a href=\"http://localhost/Personal%20Website/yoursource.php\" target=\"_blank\"]http://localhost/Personal%20Website/yoursource.php[/a]
Posted 08 June 2006 - 05:16 PM
Try to edit the .htaccess and add a line like:
AddType application/x-httpd-php .phpor
AddHandler php-script php
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users