Mamp 3.3.1 windows downloading php files






















I've found that if I add an alternative entry to my hosts file for But if I add the line above to my. I surfed through Apache's httpd. If I add a new entry to my hosts file for But if I do add that line to the. I'm fine with using a different I've had a similar issue a couple times and renaming the file did not work for me. You are applying a mimetype where a handler should be see documentation on handlers.

EDIT: As you have indicated caching modules are loaded, you could read up on caching and htcacheclean to clear the disk cache. You can also temporarily use the CacheDisable directive. One other thing that you could also try is to rename the file that you have requested e. Just note, make sure you don't have a htaccess file from your live environment accidentally downloaded with other files.

Additionally, make sure you match your PHP version when editing htaccess. Wrong version cause same issue-wrong settings. Note the lack of an s at the end.

If someone has again this kind of issue, do something most important firstly. I mean, use private navigation without cache. I wasted my time because of this.

If you cant find anything listening on port no 0. To find out why it cant start you should find apache log directory and examine the error. If you find 0. If you have apache listening on port 80 but still cant open your site and you cant figure out what is causing the problem via examining apache log files then it my be database problem. Check if your mysql is running and listening using same command but you should be looking for. If you cant find such line then your mysql server is not running - check mysql log files for errors.

If both servers are running and you cant get any output in your browser then check your firewall and antivirus - they may block your requests.

Hope this helps ;. I actually had a very similar issue. All of my php files were downloading when I tried to test if php and apache were working together. It turns out they weren't working together. I had to uninstall php, I would recomend the same course of action and then reinstalling php just using the zip file download on php.

I think my problem was that I had used the php installer. I do not recomend using that. I had the same issue and it was because inside this folder you have. Try to rename the file and you will see your project.

Then customise the file in your needs. In my case after cloning a repo and trying to set the project up i hade to run composer update to install the all dependencies and then it open the page instead of downloading the file. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.

Learn more. Asked 11 years, 9 months ago. Active 18 days ago. Viewed 56k times. Improve this question. Add a comment. Active Oldest Votes. Improve this answer. Matt Grannary Matt Grannary 2 2 silver badges 6 6 bronze badges. This worked for me as well macOS Sierra. The new tab is called "Server". The texts of the German program interface have been improved. The dialog box for entering the serial number for the cloud function has got additional functions. The functions for checking the entered remote data have been improved.

The texts of the context menu of the Hosts list have been unified. We have adjusted several menu items so that their display clearly matches the status of the program.

Fixed a problem related to multibyte string functions PHP. We improved the display of hints when checking server-side system requirements. Sodium library is now available for the additional downloadable PHP versions.

Fixed a problem with the curl extension on the included PHP 8. MAMP Improved the cloud overlay interface. Improved the text when entering the serial number. The installation process has been improved.



0コメント

  • 1000 / 1000