Unix Technical Forum

apache,mysql,php woes...HELP PLEASE!

This is a discussion on apache,mysql,php woes...HELP PLEASE! within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Help! I have just switched to slackware 9.1 for the first time, and impressed i am too with the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:40 PM
david mcdade
 
Posts: n/a
Default apache,mysql,php woes...HELP PLEASE!

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?
2. How do i get mysql to work? i currently get complaints about 'cannot
connect to local mysql server through socket /../..mysql.sock'.

These might sound like dumb questions, but as i said i am used to using
'easy' distros. I am on a tight time sched, so dont have time to wade
through manuals.

any help would be gratefully appreciated

cheers
David





Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 08:40 PM
Bartosz Oudekerk
 
Posts: n/a
Default Re: apache,mysql,php woes...HELP PLEASE!

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

david mcdade <d.mcdade63@ntlworld.com> is thought to have
typed the following text on 2003-12-01:

Why post the same question twice with different subjects?

> 1. How do i enable mod_php in apache? does mod_php exist?


IIRC this has been answered before, so search the archives of this
group, otherwise I wouldn't know.

> 2. How do i get mysql to work? i currently get complaints about 'cannot
> connect to local mysql server through socket /../..mysql.sock'.
>

This has definatly been handled here before, search the archives on how
to start the mysql server. Perhaps putting 'rc.mysqld' in your search
string will help.

> These might sound like dumb questions, but as i said i am used to using
> 'easy' distros. I am on a tight time sched, so dont have time to wade
> through manuals.
>

Nobody here really cares about your time schedule, so don't bother
mentioning it.

> any help would be gratefully appreciated
>

I hope this will help you on your way.

The archives can be found at
<URL:http://groups.google.com/groups?q=alt.os.linux.slackware>

- --
Bartosz Oudekerk

Play Rogue, visit exotic locations, meet strange creatures
and kill them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/y6NG256ZyNYAOpkRAhj8AJ9WPOdXvXQU4CpXZBxBBx8F0HqIJQ CfR207
fiIkmLTjD/xb7GAdrXOnLzQ=
=IRT9
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 08:41 PM
Homer Welch
 
Posts: n/a
Default 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]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:58 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com