今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Configuring PHP for development
- [Instructor] Finally, we're getting to the PHP in a PHP course. It only took four chapters. So here's the thing. PHP is already installed but it hasn't been configured or optimized for development. To test out the development server, copy the exercise files from the Sandbox subfolder. The two we're going to be using in this video are phpinfo.php, which just displays information about PHP's configuration. The second is errors.php, which intentionally causes three PHP errors, a notice, warning, and fatal error. Let's see the errors in action. From a browser, go to sandbox.dev:8080/errors.php. Well, that's underwhelming. It's just showing the names of errors. Why is that? Let's take a look at the PHP configuration. In a new tab, I'm going to go to sandbox.dev:8080/phpinfo.php. PHP Version 7.0.15 and everything you wanted to know about the configuration, but we're afraid to ask. If you search for display_errors, you'll see that it's turned off. Well, there's your problem. So how do we…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
-
(已锁定)
Upgrading and installing packages7 分钟 34 秒
-
(已锁定)
Installing VirtualBox Guest Additions6 分钟 50 秒
-
(已锁定)
Configuring group permissions for access5 分钟 22 秒
-
(已锁定)
Configuring Apache HTTP Server5 分钟 51 秒
-
Managing Apache sites and modules4 分钟 44 秒
-
(已锁定)
Configuring PHP for development11 分钟 12 秒
-
(已锁定)
Installing MailCatcher for dev email7 分钟 51 秒
-
(已锁定)
-
-
-
-
-
-