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