4lqedz 发表于 2024-10-5 02:58:09

phpstudy搭建PHP+Mysql服务


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">PHP 是一种创建动态交互性站点的强有力的服务器端脚本语言。PHP 是免费的,并且<span style="color: black;">运用</span>非常广泛。<span style="color: black;">同期</span>,<span style="color: black;">针对</span>像微软 ASP <span style="color: black;">这般</span>的竞争者<span style="color: black;">来讲</span>,PHP 无疑是另一种<span style="color: black;">有效</span>率的选项。</span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">(1)PHP环境搭建</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">运用</span>VSCode安装PHP插件,<span style="color: black;">运用</span>PHPStudy完成PHP+Mysql服务。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">重视</span>:phpstudy的安装路径必须全路径为英文,否则可能会<span style="color: black;">显现</span>不可预估的错误!</span></strong></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">(2)<span style="color: black;">第1</span>个PHP程序</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">因为</span>phpstudy中的主网站文件<span style="color: black;">安置</span>在WWW中,<span style="color: black;">因此</span>后期编写的网页内容<span style="color: black;">安置</span>在WWW中<span style="color: black;">就可</span>运行。</span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">代码:</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">&lt;!DOCTYPE html&gt;</span></strong><span style="color: black;">&lt;html&gt;</span><span style="color: black;">&lt;body&gt;</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">&lt;?php</span></strong><strong style="color: blue;"><span style="color: black;">echo</span></strong><span style="color: black;">"Hello World!"</span><span style="color: black;">; </span><strong style="color: blue;"><span style="color: black;">?&gt;</span></strong><span style="color: black;">&lt;/body&gt;</span><span style="color: black;">&lt;/html&gt;</span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">效果:</h1>




4lqedz 发表于 2024-11-9 15:24:26

大势所趋,用于讽刺一些制作目的就是为了跟风玩梗,博取眼球的作品。
页: [1]
查看完整版本: phpstudy搭建PHP+Mysql服务