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
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 =/
PHP-Apache2 no longer exists at that link, it appears
I have the exact same issue as quakefiend.
Does anyone know what I can do to fix this?
To find packages...
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?
Edit: Maybe my slackware is corrupt?
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 /
then check for dependantcies or missing libraries, not sure if thats wat there called but i guess you understand.
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
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
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
The latest version of mysql would not funtion with PHP5 as so i installed the ver on the slack cd.
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
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/.
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!
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 ?
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:47 PM.|