... well, just installed Slackware and would like an application to test locally use Apache, PHP and MySQL, but you realize that comes pre-configured by default. What to do?.
Well, first go with Apache.
Let's start by editing the file '/ etc / httpd / httpd.conf', find the line with something like this and descoméntanla: Include / etc / httpd / mod_php.conf With that up there and PHP is enabled
, it is now recommended to add the possibility of a 'index.php' Directory index is considered, not just the 'index.html', so in the section that says: DirectoryIndex index.html index.php
Note: I added 'index.php' in that section.
Now you can restart Apache:
# / etc / rc.d / rc.httpd restart
First we will install the database engine used in MySQL. # mysql_install_db - user = mysql
Notes:
b) The mysql user already exists by default in our system with minimal privileges.
http://blog.slackware-es.com/index.php/linux/2008/05/10/apache-http-server-php-mysql-html
0 comments:
Post a Comment