Re: apache,mysql,php woes...HELP PLEASE! david mcdade wrote:
> Help!
>
> I have just switched to slackware 9.1 for the first time, and impressed i am
> too with the speed of it.
> However i have been used to using distros that setup apache, mod_php and
> mysql pretty much automatically - the way i want.
>
> When i installed slackware i pretty much installed everything, so apache,
> php and mysql is in there, i just need to know how to get them working in
> harmony...
>
> 1. How do i enable mod_php in apache? does mod_php exist?
If you mean that you want .php pages to be parsed by php,
then add the lines
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
to your Apache configuration file (httpd.conf) that is in
the Apache install directory. At least it worked for me.
I'm not familiar with mod_php. Perhaps you are thinking of
mod_cgi.
> 2. How do i get mysql to work? i currently get complaints about 'cannot
> connect to local mysql server through socket /../..mysql.sock'.
>
Not familiar with mysql. The program probably has a manual
pages and extensive documentation in your distribution. Do
a 'locate mysql | less' and look for html, ps, txt, and info
extensions.
[rest snipped] |