Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2021-11-18 09:00:30
Size: 268
Comment:
Revision 4 as of 2022-09-25 19:52:42
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.


Applications and Servers


CategoryRicottone

PHP (last edited 2023-04-08 17:02:03 by DominicRicottone)