LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can' t load libphp4.so into apache (https://www.linuxquestions.org/questions/slackware-14/can-t-load-libphp4-so-into-apache-40961/)

delfins 01-10-2003 06:10 AM

Can' t load libphp4.so into apache
 
so i have problem (in subject),...

slack writes : can' t load object library: library couldnot be find

but file exists

/usr/libexec/libphp4


i have slack 8.0, installed from CD (also apache, and PHP)

help please!!

thanx

LSD 01-10-2003 09:37 AM

What versions of Apache and PHP are you using? If you're using Apache2 then make absolutely sure you're running the latest version of PHP (4.3.0) otherwise you'll have problems.

Astro 01-10-2003 09:46 AM

Apache PHP Howto
 
I've found a wonderful way to install Apache with PHP on a help document from php3.info .... it is as follows ... BUT I've not installed the default Apache and PHP from the slackware CD, it's all done from source.

1. gunzip apache_1.3.14.tar.gz
2. tar xvf apache_1.3.14.tar
3. gunzip php-4.0.3pl1.tar.gz
4. tar xvf php-4.0.3pl1.tar
5. cd apache_1.3.14
6. ./configure --prefix=/usr/local/apache
7. cd ../php-4.0.3pl1
8. ./configure --with-mysql --with-apache=../apache_1.3.14
--enable-track-vars
9. make
10. make install
11. cp libs/libphp4.a ../apache_1.3.14/src/modules/php4/
12. cd ../apache_1.3.14
13. ./configure --activate-module=src/modules/php4/libphp4.a
14. make
15. make install

Changing version numbers as needed.

The original is here Thanks goes to Stephen VanDyke ( stephen at opido dot com ) for posting this on the php site in the first place. This seems to work fine for me, so if you have problems let me know.

delfins 01-10-2003 09:49 AM

Okey, thanks. i will try do this actions...


All times are GMT -5. The time now is 11:26 PM.