"Beginner php" input localhost/php file name How to upload this file prompt ah how to solve it

Source: Internet
Author: User
"Beginner php" input localhost/php file name How to download the file tips ah? How to solve it?
I was just beginning to learn PHP, look at the php100 video, after the Apache configuration, the video in the Apache htdocs file added a a.php file, then the php file was edited, the video input localhost/ A.php can display the relevant file information, how can I do when the download information?
I beg you to help, I base is too poor ~

------Solution--------------------
AddType application/x-httpd-php. php. phtml
Change into
AddType application/x-httpd-php. php. phtml

Give it a try

------Solution--------------------
PHP has not been parsed!!!
------Solution--------------------
Explore

Reference:
AddType application/x-httpd-php. php. phtml
I have this sentence, but it doesn't matter.

------Solution--------------------
It's clear from the front that the PHP module was not successfully installed. The general is to add a sentence in the conf/httpd.conf file AddType application/x-httpd-php. php

The premise is that your PHP module is already installed on your computer. Strictly follow the tutorial to configure the general will not have a problem
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.