[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
howtos:setup_apache_php_mysql [2012/09/12 14:54 (UTC)] – created pavel | howtos:setup_apache_php_mysql [2012/09/12 19:07 (UTC)] – ADDED: php timezone change and httpd server name info. Left the formatting for the author to do. Moved SOURCES to the bottom. arfon | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== Setup Apache, PHP and MySQL ====== | ====== Setup Apache, PHP and MySQL ====== | ||
+ | In order to configure your Slackware Linux box as a MySQL-PHP -ready web server, please follow these instructions: | ||
- | ==== Sources ==== | + | * Install the Apache (httpd), php and MySQL packages from the Slackware discs or Slackpkg. |
- | <!-- If you are copying information from another source, then specify that source --> | + | |
- | * Original source: [[http:// | + | |
- | <!-- Authors are allowed to give credit to themselves! --> | + | |
- | * Originally written by User [[wiki: | + | |
- | + | ||
- | \\ | + | |
- | In order to configure your Slackware Linux box as a MySQL-PHP -ready web server, please follow these instructions: | + | |
+ | * Fix php time zone (many apps will complain about this if you don't do it). Edit '''/ | ||
+ | < | ||
+ | date.timezone = America/ | ||
+ | </ | ||
* As the root user, open the '''/ | * As the root user, open the '''/ | ||
Line 18: | Line 16: | ||
Now your Apache will include the PHP module when it starts. | Now your Apache will include the PHP module when it starts. | ||
- | \\ | + | * Set a server name (if your machine' |
+ | < | ||
+ | ServerName www.example.com: | ||
+ | </ | ||
* Optionally (but recommended), | * Optionally (but recommended), | ||
+ | * Optionally 2, if you use Perl for web scripts, you may want to add ''' | ||
< | < | ||
Line 52: | Line 54: | ||
\\ | \\ | ||
- | < | + | ==== Sources ==== |
- | < | + | < |
+ | * Original source: [[http:// | ||
+ | < | ||
+ | * Originally written by User [[wiki: | ||
{{tag> | {{tag> |