[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.
Both sides previous revisionPrevious revision | |||
howtos:setup_apache_php_mysql [2012/09/12 19:30 (UTC)] – Please check how I placed the <code> tags differently so that the text indentation respects the bullets. alienbob | howtos:setup_apache_php_mysql [2012/09/25 04:42 (UTC)] (current) – deleted page - moved to the howts:network_services section mfillpot | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== Setup Apache, PHP and MySQL ====== | ||
- | In order to configure your Slackware Linux box as a MySQL-PHP -ready web server, please follow these instructions: | ||
- | |||
- | * Install the Apache (httpd), php and MySQL packages from the Slackware discs or Slackpkg. | ||
- | * 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 '''/ | ||
- | Include / | ||
- | </ | ||
- | * Set a server name (if your machine' | ||
- | ServerName www.example.com: | ||
- | </ | ||
- | * Optionally (but recommended), | ||
- | * Optionally 2, if you use Perl for web scripts, you may want to add ''' | ||
- | < | ||
- | </ | ||
- | < | ||
- | </ | ||
- | apachectl restart | ||
- | </ | ||
- | |||
- | \\ | ||
- | * If you want your Apache server to start automatically when you start your box, you can change the permissions of the '''/ | ||
- | * chmod 755 / | ||
- | </ | ||
- | |||
- | |||
- | ===== Final Considerations ===== | ||
- | |||
- | * Normally you would want to test your recent changes in order to know if they have worked. After restarting Apache, create a ''' | ||
- | <?php phpinfo(); ?> | ||
- | </ | ||
- | |||
- | |||
- | ===== Sources ===== | ||
- | |||
- | <!-- 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: | ||
- | |||
- | {{tag> |