|
| ||||||||||
| Tags: apache, linux, linux mint 10, php, server, website |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Apache not executing .php files, directly downloads it
|
|
#2
| ||||
| ||||
| Re: Apache not executing .php files, directly downloads it
Most probably it seems like you have not configured the PHP properly due to which they are just getting downloaded when you click on event. I think you should try configuring it again and then check that PHP files runs or not. Actually sometime it happens that the files that you wish to run are not compatible with an environment that you have created. |
|
#3
| |||
| |||
| Re: Apache not executing .php files, directly downloads it
Problem could be with the browser as it is not necessary that all the browser would be showing you the same result. I suggest you to try running the same webpage from some other browser. It might happen that the same PHP start executing on some other browser as there could be some plug in on your current browser which be stopping php to run. |
|
#4
| |||
| |||
| Re: Apache not executing .php files, directly downloads it
I installed Apache 2, PHP, MySQL, but I can not use the documents. Php. In the example below, the file test.php located in the Sites folder of my home folder. I do not understand what is happening. When I open the file in Safari or Firefox with the command "127.0.0.1 / ~ xxx / test.php" xxx is my name director, I have the following error that appears. Not Found The requested URL / ~ Eric / test.php was not found on this server. Apache/2.0.52 (Unix) PHP/4.3.9 DAV / 2 Server at 127.0.0.1 Port 80 Web sharing is turned off in prefs "sharing." Well, I have not found a solution. Thank in advance! |
|
#5
| |||
| |||
| Re: Apache not executing .php files, directly downloads it
Several avenues to attempt to operate:
|
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Apache not executing .php files, directly downloads it" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Executing exe files in Ubuntu | Benjhonson | Operating Systems | 3 | 27-12-2010 02:20 AM |
| Apache Binary files missing on Mac | Trini Alvarado | Networking & Security | 6 | 05-05-2010 10:25 AM |
| Flv files not executing on k-lite | CAILYN | Windows Software | 3 | 01-12-2009 09:31 PM |
| Webserver is not executing CGI files. | Gill_christ | Software Development | 2 | 01-05-2009 12:32 PM |
| Unable to copy files to Apache server | Azzan | Networking & Security | 4 | 08-04-2009 01:04 PM |