LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-09-2005, 04:01 AM   #1
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
apache, php, perl, mysql


anyone know of a good guide I cano follow to get this running on slack 10.1? I tried shillo's guides but they don't work on 10.1
 
Old 02-09-2005, 08:33 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Perl is already configured, for the other :

- php :
. edit /etc/apache/httpd.conf and uncomment the line :
Include /etc/apache/mod_php.conf
. add support for php files in index :
DirectoryIndex index.html index.php index.htm index.xhtml

-apache :
chmod +x /etc/rc.d/rc.httpd
/etc/rc.d/rc.httpd start

-mysql :
chmod +x /etc/rc.d/rc.mysqld
open /etc/rc.d/rc.mysqld and follow the mysql install procedure in comment, then
/etc/rc.d/rc.mysqld start
 
Old 02-09-2005, 08:48 AM   #3
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
thanks for that, but i'll still wait and see what others have to say :P
 
Old 02-09-2005, 10:43 AM   #4
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
keefaz speaks the truth.
 
Old 02-09-2005, 11:51 PM   #5
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
ok will try it then
 
Old 02-09-2005, 11:59 PM   #6
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
Code:
root@slacker:~# /etc/rc.d/rc.httpd start
Syntax error on line 6 of /etc/apache/mod_php.conf:
Cannot load /usr/libexec/apache/libphp4.so into server: libmhash.so.2: cannot open shared object file: No such file or directory
/usr/sbin/apachectl start: httpd could not be started
thats what i get when i start apache, haven't even done the mysql stuff yet.
 
Old 02-10-2005, 03:24 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Try install mhash package.

And if you have other shared library not found, I suggest go here :
http://www.slackware.com/pb/

Type in the filename search field the library name (eg: libmhash) and click search button
 
Old 02-10-2005, 05:51 PM   #8
phunkymunky
Member
 
Registered: Aug 2003
Location: Glasgow, Scotland
Distribution: Slackware 14.0, Debian 7.0
Posts: 60

Rep: Reputation: 22
help

ive been trying to install apache (ok can do that) php (nope cant do that) and mysql (nope not that either).

Have followed all the guides (followed steps in guide above) and when i try to start rc.mysql ( /etc/rc.d/rc.mysql start ) i get the following error

Starting mysqld daemon with database from /var/lib/mysql
STOPPING server from pid file /var/run/mysql/mysql.pid
050210 23:42:27 mysqld ended

This has happened no matter which guide i have followed.

Any help would be much appreciated.
 
Old 02-11-2005, 06:37 AM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Just a though, did you try :
chown -R mysql:mysql /var/lib/mysql
 
Old 02-11-2005, 01:30 PM   #10
Crashbox
Member
 
Registered: Jun 2004
Location: USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 22
I suggest you check out this website. If your goal is to have apache, perl, php, mysql set up as a devlopment environment, XAMPP is the way to go. Setup on linux is as simple as untarring the archive in the appropriate place. Services are then started and stopped by issuing simple commands. I use it for development in both Linux an Windows and it is excellent.

http://www.apachefriends.org/en/xampp.html
 
Old 02-11-2005, 04:14 PM   #11
phunkymunky
Member
 
Registered: Aug 2003
Location: Glasgow, Scotland
Distribution: Slackware 14.0, Debian 7.0
Posts: 60

Rep: Reputation: 22
success!!

tried XAMPP and got everything working . Pity i have to work for the next 4 days!!

Thanks Crashbox - this will be something that will go in my little book of applications to use.
 
Old 02-11-2005, 08:50 PM   #12
Crashbox
Member
 
Registered: Jun 2004
Location: USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 22
Glad I could help phunky.
 
Old 02-16-2005, 09:53 AM   #13
Crashbox
Member
 
Registered: Jun 2004
Location: USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 22
I thought this thread may continue (it hasn't) and I was certain that if it did, someone would mention this. Since they didn't, I feel obligated to mention that XAMPP is NOT designed (from a security standpoint) to be used in a production environment. It was assmebled for development purposes only. Here is a quote from the project webpage:

"The default configuration is not good from a securtiy point of view and it's not secure enough for a production environment - please don't use XAMPP in such environment."

and the link:

http://www.apachefriends.org/en/xampp.html

Please keep this in mind when using this product.
 
  


Reply



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
install guide for mysql php perl apache mandrakewanta Linux - Newbie 1 05-08-2005 02:33 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM
Apache, PHP, MySQL, Perl coolamit78 Linux - Software 3 04-20-2004 01:59 AM
Compiling Apache, MySQL, Perl & PHP jeucken Linux - Software 1 12-15-2003 01:56 PM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:16 PM.

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
Open Source Consulting | Domain Registration