LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
LinkBack Search this Thread
Old 04-24-2005, 01:10 PM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Post DISCUSSION: Slackware guide for AMP Apache MySQL and PHP


This thread is to discuss the article titled: Slackware guide for AMP Apache MySQL and PHP
 
Old 09-02-2005, 11:59 PM   #2
quakefiend
LQ Newbie
 
Registered: Sep 2005
Location: Texas
Distribution: slackware
Posts: 2

Rep: Reputation: 0
great howto, but it doesn't work for me. when I get to starting apache server via 'apachectl start' after editing mod_php.conf, I get:
Cannot load /usr/lib/apache2/libphp5.so into server: libt1.so.5: cannot open shared object file: No such file or directory

I followed your howto exactly =/
 
Old 09-08-2005, 12:39 PM   #3
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Rep: Reputation: 30
PHP-Apache2 no longer exists at that link, it appears
 
Old 10-07-2005, 09:50 PM   #4
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Hi all,

I have the exact same issue as quakefiend.

Does anyone know what I can do to fix this?

-Kristijan
 
Old 10-22-2005, 07:35 AM   #5
picobyte
LQ Newbie
 
Registered: Apr 2005
Distribution: slackware, knoppix
Posts: 17

Rep: Reputation: 0
To find packages...

for this and/or other missing packages slackware/getslack or try at linuxpackages and if that's still not helping, try google
 
Old 11-09-2005, 07:24 AM   #6
Black187
LQ Newbie
 
Registered: Nov 2005
Posts: 26

Rep: Reputation: 0
How do I install tomcat with this tutorial. I used the tomcat from this site: http://fairylinux.zapto.org/packages/apachetomcat/
But as soon as I instaled it, my apache crashed. Which tomcat should I use?
 
Old 11-16-2005, 02:08 AM   #7
Black187
LQ Newbie
 
Registered: Nov 2005
Posts: 26

Rep: Reputation: 0
Anybody?
 
Old 11-16-2005, 02:09 AM   #8
Black187
LQ Newbie
 
Registered: Nov 2005
Posts: 26

Rep: Reputation: 0
Edit: Maybe my slackware is corrupt?
 
Old 12-21-2005, 07:18 AM   #9
Elvei'sH
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by quakefiend
great howto, but it doesn't work for me. when I get to starting apache server via 'apachectl start' after editing mod_php.conf, I get:
Cannot load /usr/lib/apache2/libphp5.so into server: libt1.so.5: cannot open shared object file: No such file or directory

I followed your howto exactly =/
G'Day,

I think the problem is that there are extra library's that need to be installed, i am quite new to linux so i will do my best to explain how too get this going.

1st find your libphp5.so file

slocate -U /
slocate libphp5.so

then check for dependantcies or missing libraries, not sure if thats wat there called but i guess you understand.

ldd /path/libphp5.so

should produce results showing that 2 or 3 library files arnt there.

Write down the files that are missing. Then mount your slackware installation cd and change to the slackware installation dir.

mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom/slackware


cat FILE_LIST | grep *missing library name here*

installpkg *dirname*/*missing library name*.tgz

repeat for next library.

By doing the above, that will allow apache and php to run.

You can check that all is well by running


ldd /path/libphp5.so

again.

As for PHP5 to be able to call on MYSQL, I have no idea as i am currently stuck there now. Could anyone please provide me with a copy of there php.ini file. For some unbeknown reason mine was blank. I have borrowed a redhat php.ini file and alterd paths to no avail.

I have also tried adding the line

extension=mysql.so


########################
Problem Fixed

The latest version of mysql would not funtion with PHP5 as so i installed the ver on the slack cd.

Final Setup
Slackware 10.2 Min intsall
Mysql provided by slack cd
Apache2 latest download
PHP5 Latest download

Works a treat.

##############################



Good luck! And yes im a noob

If anyone has the time to school me a little in the art of Linux please send an email to d_norburyAThotmail.com

Kind Regards
David Norbury

Last edited by Elvei'sH; 12-27-2005 at 10:39 PM.
 
Old 04-13-2006, 09:08 AM   #10
laurensjanbrinkhorst
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Great walkthrough, really helped me a lot.

The PHP package complained that it couldn't find php.ini-recommended. This is easily solved by downloading the complete PHP distribution and copying the file from there into /etc/apache2/.
 
Old 11-11-2006, 03:52 AM   #11
Dorax
LQ Newbie
 
Registered: Oct 2005
Location: Belgium
Distribution: OpenSuse
Posts: 23

Rep: Reputation: 1
libt1.so.5 => not found

I have the same problem. Running ldd shows me:
libt1.so.5 => not found


I could not find this package on linuxpackages or getslack. Any ideas where I might find it? I checked the php source, but it wasn't there.

Thanks for this great thread!
 
Old 12-21-2006, 03:25 PM   #12
wizl
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: Disabled
Hi,

I've also the same("libphp5.so") problem and I can't find an answer to it.

I've tried searching on google, but no luck so far.

So does anyone know how to fix this problem ?

Last edited by wizl; 07-28-2011 at 01:34 PM.
 
Old 09-23-2007, 01:32 PM   #13
konig12
LQ Newbie
 
Registered: Aug 2007
Posts: 7

Rep: Reputation: 0
MySQLcc

I am trying to follow this guide and so far it is all working for me. I am running into issues with the step about mysqlcc. mysqlcc appears to be an X application, and I do not have xserver installed. I am running a low memory (32 mb) slackware 10.2 box. What are the alternatives to mysqlcc?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware guide for AMP Apache MySQL & PHP xushi Slackware 35 05-11-2006 11:18 AM
install guide for mysql php perl apache mandrakewanta Linux - Newbie 1 05-08-2005 02:33 AM
Apache ADVX & PHP w/ MySQL MonServeur Mandriva 2 11-21-2004 01:39 PM
Slackware 9.0 / MySQL /PHP/Apache ..? MikeFoo1 Linux - Newbie 2 05-03-2004 11:49 PM
From RedHat9 to FreeBSD (Apache 2 & Mysql & PHP 4) guardian653 *BSD 5 12-11-2003 05:31 PM


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

Main Menu
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