LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PHP - Libphp5.so not created (https://www.linuxquestions.org/questions/linux-networking-3/php-libphp5-so-not-created-389910/)

Thanotos 12-06-2005 02:31 PM

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.

bathory 12-07-2005 09:15 AM

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

genlee 12-07-2005 09:34 AM

Do you get any errors during your make like unable to find certian libraries?

Thanotos 12-07-2005 10:37 AM

No - that is one of the odd things. There are no errors. Compiles FINE.


All times are GMT -5. The time now is 01:12 PM.