LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-04-2005, 10:27 PM   #1
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Rep: Reputation: 15
libphp.so not created (PHP5)


So as with many I am trying to get my Slack PC up as a webserver.

Going through with no issues, I have compiled from source: MySQL, APACHE and PHP5. However with PHP5 I am not able to get libphp5.so created.

I have tried the php5.1.1 ...tar.gz as well as the bz2 release. And nothing.

Is there any one that may have dealt with this yet, or anyone no of a resolution?

My appreciation,
 
Old 12-04-2005, 11:35 PM   #2
ViewTopia
LQ Newbie
 
Registered: Nov 2005
Location: Cortlandt Manor, NY
Distribution: FreeBSD, RHEL, CentOS, Slack
Posts: 16

Rep: Reputation: 0
you need to make that library. I'm sure you can do it now with a simple one line command, I just don't know it off hand.

When you compile php you need to tell it to build an apache module.
when you ./configure php you need to include somewhere --with-apxs=/usr/local/apache/bin/apxs

or where ever you apxs is.
Also make sure you build apache with DSO support, although I think it does by default.
 
Old 12-05-2005, 01:36 AM   #3
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Thanotos,

I followed this guide[1] to get my Slackware box up and running.

I downloaded my packages from LinuxPackage[2] and the PHP package contained the libphp5.so file.

Hope this helps.

Regards,
Kristijan

[1] - http://www.linuxquestions.org/linux/..._MySQL_and_PHP
[2] - http://linuxpackages.net/
 
Old 12-05-2005, 06:16 AM   #4
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
ViewTopia is correct.
 
Old 12-05-2005, 06:23 AM   #5
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Original Poster
Rep: Reputation: 15
Sorry ViewTopia, I forgot to mention that in my first post.

The steps I took where:
Downloaded source from PHP.net
Code:
./configure --prefix=/usr/local/php --with-mysql \
--with-apxs2=/usr/local/apache2/bin/apxs
make
make install
I also tried begining the process witha make clean and still nothing.

Kristijan, thanks for the info I will try it out.

Quote:
you need to make that library. I'm sure you can do it now with a simple one line command, I just don't know it off hand.
is anyone aware if I can make the library seperate??
 
Old 12-05-2005, 06:25 PM   #6
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Original Poster
Rep: Reputation: 15
Perhaps updating the gcc c++ compiler?

I am not sure of what actions to take .., I have recompiled several times via the instructions located in less INSTALL.

trying:
Code:
  ./configure --enable-so
  make
  make install
and then
Code:
 ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
 make
 make install

running out of options and ideas.
 
  


Reply



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
Apache2 and PHP5 rul3r Slackware 7 09-11-2005 05:21 PM
Apache2 + PHP5.0.3 24jedi *BSD 1 07-21-2005 03:07 PM
Compiling PHP5 Terroth Linux - Newbie 2 06-27-2005 01:35 PM
php5 Hampster Linux - Software 4 01-09-2005 04:50 PM
PHP5 and Mandrake 10 JSylvia007 Linux - Networking 1 04-07-2004 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration