From the course: Linux for PHP Developers
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Configuring PHP for development
From the course: Linux for PHP Developers
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Upgrading and installing packages7m 34s
-
(Locked)
Installing VirtualBox Guest Additions6m 50s
-
(Locked)
Configuring group permissions for access5m 22s
-
(Locked)
Configuring Apache HTTP Server5m 51s
-
Managing Apache sites and modules4m 44s
-
(Locked)
Configuring PHP for development11m 12s
-
(Locked)
Installing MailCatcher for dev email7m 51s
-
(Locked)
-
-
-
-
-
-