[Beginner php] How does one enter the localhostphp file name to download the file? How can this problem be solved? I started to learn php and watched the php100 video. After configuring apache, I added a. a to the apache htdocs file in the video. php file, and then edit the php file. enter localhosta in the video. php can display the relevant file information. how can I download the information when I do so? [Beginner php] How does one enter the localhost/php file name to download the file? How can this problem be solved?
I started to learn php and watched the php100 video. After configuring apache, I added a. a to the apache htdocs file in the video. php file, and then edit the php file. in the video, enter localhost/. php can display the relevant file information. how can I download the information when I do so?
Please help me. I have a poor foundation ~
------ Solution --------------------
AddType application/x-httpd-php. php. phtml
Change
Addtype application/x-httpd-php. php. phtml
Try
------ Solution --------------------
Php is not parsed !!!
------ Solution --------------------
Discussion
Reference:
AddType application/x-httpd-php. php. phtml
I have added this sentence, but it does not work ~
------ Solution --------------------
As mentioned above, the php module is not successfully installed. Add AddType application/x-httpd-php. php in the conf/httpd. conf file.
The premise is that your php module has been installed on your computer. it is generally normal to configure it strictly according to the tutorial.