|
Size: 268
Comment:
|
Size: 1043
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 2: | Line 2: |
'''`php(1)`''' ('''PHP: Hypertext Preprocessor''') is a scripting language designed for dynamic web pages. The current version is 8, but older (unsupported) versions see continued use. The language has evolved rapidly and porting between versions can be a difficult task. |
|
| Line 9: | Line 13: |
| == Servers == | == Example == {{{ <?php echo 'Hello, World!'; }}} === Embedded Example === `php(1)` can be embedded into web pages, if the web server supports it. {{{ <!DOCTYPE html> <html> <head> <title>PHP "Hello, World!" program</title> </head> <body> <?php echo '<p>Hello, World!</p>'; ?> </body> </html> }}} ---- == Installation == Most Linux and BSD distributions will offer a `php` package, as well as versioned packages (like `php7`). ---- == Configuration == See [[PHP/Configuration|here]] for details. ---- == Applications and Servers == |
| Line 16: | Line 65: |
| == Configuration == * [[PHP/Configuration|Configuration]] * [[PHP/FPMConfiguration|FPM Configuration]] |
PHP
php(1) (PHP: Hypertext Preprocessor) is a scripting language designed for dynamic web pages.
The current version is 8, but older (unsupported) versions see continued use. The language has evolved rapidly and porting between versions can be a difficult task.
Example
<?php echo 'Hello, World!';
Embedded Example
php(1) can be embedded into web pages, if the web server supports it.
<!DOCTYPE html>
<html>
<head>
<title>PHP "Hello, World!" program</title>
</head>
<body>
<?php
echo '<p>Hello, World!</p>';
?>
</body>
</html>
Installation
Most Linux and BSD distributions will offer a php package, as well as versioned packages (like php7).
Configuration
See here for details.
