LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxAnswers Discussion (http://www.linuxquestions.org/questions/linuxanswers-discussion-27/)
-   -   DISCUSSION: Slackware guide for AMP Apache MySQL and PHP (http://www.linuxquestions.org/questions/linuxanswers-discussion-27/discussion-slackware-guide-for-amp-apache-mysql-and-php-316699/)

xushi 04-24-2005 01:10 PM

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

quakefiend 09-02-2005 11:59 PM

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 =/

Diademed 09-08-2005 12:39 PM

PHP-Apache2 no longer exists at that link, it appears

Kristijan 10-07-2005 09:50 PM

Hi all,

I have the exact same issue as quakefiend.

Does anyone know what I can do to fix this?

-Kristijan

picobyte 10-22-2005 07:35 AM

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 ;)

Black187 11-09-2005 07:24 AM

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?

Black187 11-16-2005 02:08 AM

Anybody?

Black187 11-16-2005 02:09 AM

Edit: Maybe my slackware is corrupt?

Elvei'sH 12-21-2005 07:18 AM

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 :D

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

laurensjanbrinkhorst 04-13-2006 09:08 AM

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/.

Dorax 11-11-2006 03:52 AM

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!

wizl 12-21-2006 03:25 PM

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 ?

konig12 09-23-2007 01:32 PM

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?


All times are GMT -5. The time now is 12:32 PM.