lamp--5. Test PHP parsing

Source: Internet
Author: User

[Email protected] php-5.6.10]# vim/usr/local/apache2/htdocs/1.php<?php echo "PHP works.";? >

After saving, continue testing:

[Email protected] php-5.6.10]# Curl localhost/1.phpphp works.

PHP works. Only if this information is displayed is normal parsing. Otherwise, there is no successful resolution. Of course, you can also use the real-computer browser through IP access, such as virtual machine IP 192.168.56.128, then in the browser input http://192.168.56.128/1.php see if only one line of PHP works. If the access is not well, the iptables rule is detected.


This article is from the "Learn Notes for students" blog, please make sure to keep this source http://sanyisheng.blog.51cto.com/11154168/1795795

lamp--5. Test PHP parsing

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.