LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-06-2005, 02:31 PM   #1
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Rep: Reputation: 15
PHP - Libphp5.so not created


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?

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 with a make clean and still nothing.

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??
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 installand 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.
 
Old 12-07-2005, 09:15 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,157
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
I think that with php 5 you must specify the path to your mysql. Try something like this:
Code:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/path/to/mysql
 
Old 12-07-2005, 09:34 AM   #3
genlee
Member
 
Registered: Jul 2003
Distribution: Solaris 8/9, gentoo
Posts: 41

Rep: Reputation: 15
Do you get any errors during your make like unable to find certian libraries?
 
Old 12-07-2005, 10:37 AM   #4
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Original Poster
Rep: Reputation: 15
No - that is one of the odd things. There are no errors. Compiles FINE.
 
  


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
Error in PHP 5.0.5 and Apache 1.3.34 - Cannot load libphp5.so jun_tuko Linux - Software 7 01-05-2008 11:12 PM
Cannot load /usr/lib/apache2/libphp5.so into server Kristijan Slackware 1 10-08-2005 12:28 AM
libphp5.so not created issey Linux - Newbie 1 04-01-2005 09:54 PM
libphp5.so fukumdaryl *BSD 4 03-21-2005 06:34 PM
How come folders/viles created via PHP script act different from those dragged in? rvn Linux - Newbie 0 12-09-2003 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:42 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