LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-25-2004, 04:44 AM   #1
caged
Member
 
Registered: Jan 2004
Location: new zealand
Distribution: Mandrake,Slackware
Posts: 165

Rep: Reputation: 30
setting up a slack, apache server with php and a sql server.


Hi.

Iv installed slackware on an old 166mhz computer i want to get it setup as a little webserver. i installed, amongst other things; apache php and sql.

all in all its beginnning quite well the ftp and ssh servers work so i can put the moniter away and hopefully fix it from here.

sql starts at boot but soon quits. i dont know why. there are no errors.

apache doesnt use the php files. do i just need to change some config file settings to fix that? or should i reinstall php.

and how do i add folders to each users homes so that apache serves them up like http://www.somehost.com/~someUser/ ???

cheers.
Ben.
 
Old 10-25-2004, 05:45 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
SQL: Read inside /etc/rc.d/rc.mysqld there it tells you how to create the databases which is why MySQL is failing.
PHP & Apache: uncomment Include /etc/apache/mod_php.conf in /etc/apache/httpd.conf . There you can also setup the per user folder.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up sql server on linux machine feetyouwell Linux - General 4 12-12-2004 11:58 AM
Apache+php on one server and MySQL on onother server? goe Linux - Newbie 3 08-19-2004 05:25 PM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 11:46 AM
How to support SQL Server on Linux with PHP? trudger2000 Linux - Software 2 01-15-2004 07:41 AM
PHP and MS SQL Server 2000 balfred Programming 0 03-24-2003 04:56 PM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration