I am referring to headfirst's php&mysql, but I have written the code, but do not know how to test the code, the Web form can be filled out, but submit a form on chrome, directly download my own written report. php file
Reply to discussion (solution)
PHP configuration problem not recognized PHP file
Add this try AddType application/x-httpd-php. php
PHP environment do you have a match?
Built up. Command PHP info. PHP can display PHP information
Is it possible to change the type of browser?
PHP configuration problem not recognized PHP file
Add this try AddType application/x-httpd-php. php
I should be how to modify the PHP configuration file, I can not find php5.conf
I should be how to modify the PHP configuration file, I can not find php5.conf
Configuration issues are usually under the/etc directory
You need to find the Apache configuration file httpd.conf, plus that line.
I should be how to modify the PHP configuration file, I can not find php5.conf
Configuration issues are usually under the/etc directory
I got it. I browse from the browser with a localhost/web file, but it's OK if I just double-click the Web file, which is why
PHP runs on a Web server and you can't open it naturally from the desktop
PHP phpinfo.php can be displayed because it is running in CLI mode.
You need to have a Web server, such as Apache, to run in a browser.
Ubuntu
Ubuntu apt-get install Apache .... There are several instructions to own Baidu a bit