LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-11-2005, 04:07 PM   #1
rul3r
LQ Newbie
 
Registered: Jun 2005
Location: Monterrey, MX
Distribution: Slackware 11
Posts: 26

Rep: Reputation: 15
Apache2 and PHP5


Hi again.

As explained on this thread, I'm trying to setup a small web server for a system at a home buisness.

After solving this I downloaded from linuxpackages.net the PHP5 and Apache2 packages, but i get this error:

Quote:
Cannot load /usr/lib/apache2/libphp5.so into server: libt1.so.5: cannot open shared object file: No such file or directory
I don't know why this is.

Any help, please? (understandable if not...)
 
Old 09-11-2005, 04:38 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Do you have the t1lib installed?
 
Old 09-11-2005, 04:47 PM   #3
rul3r
LQ Newbie
 
Registered: Jun 2005
Location: Monterrey, MX
Distribution: Slackware 11
Posts: 26

Original Poster
Rep: Reputation: 15
I sure don't but I can't find it...
 
Old 09-11-2005, 04:49 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Assuming you are on v10.1, check http://www.linuxpackages.net/search_...me=t1&ver=10.1 (first result)
 
Old 09-11-2005, 05:02 PM   #5
rul3r
LQ Newbie
 
Registered: Jun 2005
Location: Monterrey, MX
Distribution: Slackware 11
Posts: 26

Original Poster
Rep: Reputation: 15
MMM

Installed it. Now I get this:

Quote:
Syntax error on line 205 of /etc/apache2/httpd.conf:
Cannot load /usr/libexec/apache2/mod_vhost_alias.so into server: /usr/libexec/apache2/mod_vhost_alias.so: cannot open shared object file: No such file or directory
I make that line a comment so it won't get on muy nuts, then the problem goes to line 206, then line 207...

I go to /usr/libexec and there isn't even a apache2 folder (no hope for modules..)

Hell of problems here...
 
Old 09-11-2005, 05:06 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Code:
find / -name 'mod_vhost_alias.so'
Find where they really are. Then edit the apache conf. Or symlink /usr/libexec/apache2 to that directory.
 
Old 09-11-2005, 05:17 PM   #7
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
http://xushi.co.uk/guides/amp.php

See if this helps. The packages might slightly be out of date by a version or two, but nevertheless, it works.
 
Old 09-11-2005, 05:21 PM   #8
rul3r
LQ Newbie
 
Registered: Jun 2005
Location: Monterrey, MX
Distribution: Slackware 11
Posts: 26

Original Poster
Rep: Reputation: 15
Seems I have some, don't have most, and some APIs are somehow screwed...

Quote:
Syntax error on line 207 of /etc/apache2/httpd.conf:
Cannot load /usr/lib/apache2/mod_define.so into server: /usr/lib/apache2/mod_define.so: cannot open shared object file: No such file or directory
Quote:
Syntax error on line 208 of /etc/apache2/httpd.conf:
Can't locate API module structure `config_log_module' in file /usr/lib/apache2/mod_log_config.so: /usr/lib/apache2/mod_log_config.so: undefined symbol: config_log_module
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SLES9/apache2 and PHP5 scabrous1 Suse/Novell 1 12-15-2005 05:14 AM
Apache2 and PHP5 SpiderIRE Linux - Software 3 09-30-2005 03:25 PM
Apache2 + PHP5.0.3 24jedi *BSD 1 07-21-2005 03:07 PM
Installing Apache2 and PHP5 biglaz Linux - General 1 10-15-2004 10:42 PM
Apache2 with PHP5 on Fedora C2 cdrobsonjr Linux - Software 5 09-13-2004 05:06 PM


All times are GMT -5. The time now is 04:00 PM.

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