touch    index1.php

 

<?php

phpinfo();

?>

 

chmod  +x  index1.php

chown   www.www    index1.php    #www.www为对于属主和属组

ls -ld index1.php 
-rwxr-xr-x 1 www www 22 May  5 17:25 index1.php

访问测试:

www.xxxx.com/index1.php

lnmp架构常用测试php脚本

 

相关文章:

  • 2021-12-09
  • 2021-09-05
  • 2021-06-13
  • 2021-06-07
  • 2021-06-02
  • 2021-06-03
猜你喜欢
  • 2021-07-27
  • 2021-05-15
  • 2021-06-24
  • 2022-12-23
  • 2022-01-25
  • 2021-08-10
  • 2021-12-03
相关资源
相似解决方案