[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howtos:setup_apache_php_mysql [2012/09/12 14:54 (UTC)] – created pavel | 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 ====== | ||
- | |||
- | ==== 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: | ||
- | |||
- | \\ | ||
- | In order to configure your Slackware Linux box as a MySQL-PHP -ready web server, please follow these instructions: | ||
- | |||
- | * As the root user, open the '''/ | ||
- | |||
- | < | ||
- | |||
- | Now your Apache will include the PHP module when it starts. | ||
- | |||
- | \\ | ||
- | * Optionally (but recommended), | ||
- | |||
- | < | ||
- | |||
- | ... and change it by: | ||
- | |||
- | < | ||
- | |||
- | Please note the ''' | ||
- | |||
- | <code bash> | ||
- | |||
- | \\ | ||
- | * If you want your Apache server to start automatically when you start your box, you can change the permissions of the '''/ | ||
- | |||
- | <code bash> | ||
- | |||
- | Now your Apache server will start automatically when your system boots. | ||
- | |||
- | \\ | ||
- | In order to configure your MySQL installation, | ||
- | |||
- | |||
- | == Final Considerations == | ||
- | * Normally you would want to test your recent changes in order to know if they have worked. After restarting Apache, create a ''' | ||
- | |||
- | <code php> | ||
- | <?php phpinfo(); ?> | ||
- | </ | ||
- | |||
- | Now you can open your favorite web browser to the following URL: http:// | ||
- | |||
- | \\ | ||
- | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must remove the tag-word " | ||
- | {{tag> |