You are here: Re: Why doesn't "make install" generate libphp5.so? « PHP Programming Language « IT news, forums, messages
Re: Why doesn't "make install" generate libphp5.so?

Posted by Eric West on 10/23/06 17:18

Hmmm... I restarted apache again, and it seems to be working. I'm
serving up PHP!

Thanks for your time,
Eric

On Oct 23, 12:52 pm, "Eric West" <pumpkinheadgi...@gmail.com> wrote:
> Wow. That's embarrassing... Thanks so much!
>
> The created the libphp5.so where it needed to be. When restarting
> Apache, I started getting an error related to "html entities". I
> googled about, and found somebody with a similar issue, so I heeded
> their advise and ran:
>
> ./configure --disable-all --prefix=/usr/local/php
> --with-apxs2=/usr/local/apache2/bin/apxs --disable-cgi --enable-so
>
> followed with
>
> ./configure --prefix=/usr/local/php
> --with-mysqli=/usr/bin/mysql_config
> --with-apx2=/usr/local/apache2/bin/apxs
>
> make
> make install
>
> which took care of the "html_entities" complaint.
>
> Now Apache restarts, but whenever I ask for a ".php" page, I get the
> following in my error log:
>
> [Mon Oct 23 12:25:29 2006] [notice] child pid 682 exit signal
> Segmentation fault (11)
>
> Is this something I need to address in PHP or in Apache?
>
> Thanks for any help,
> Eric
>
> On Oct 23, 11:55 am, "Mateusz Markowski" <mate...@bsdmail.org> wrote:
>
> > Eric West napisal(a):
>
> > > First, thanks for taking the time to read this message.
>
> > > I am trying to build a LAMP stack for the first time, and have
> > > encountered the following problem:
>
> > > CentOS 4.3
> > > mysql 4.1.20
> > > apache 2.2.3
> > > php 5.1.6
>
> > > I've compiled and installed apache as follows:
>
> > > ==apache===
>
> > > ./configure --prefix=/usr/local/apache2 --enable-module=so
>
> > > make
>
> > > make install
>
> > > =====
>
> > > That appears to work perfectly. The problem comes when I try and
> > > compile and install PHP.
>
> > > ==php==
>
> > > ./configure --prefix=/usr/local/php
> > > --with-mysqli=/usr/bin/mysql_config
> > > --with-apx2=/usr/local/apache2/bin/apxsI think you've misspelled this line. It should be:
> > --with-apxs2=/usr/local/apache2/bin/apxs
> > (you have apx2 there should be apxs2)
>
> > > make
>
> > > make install
>
> > > ====
>
> > > According to my reading, a "libphp5.so" is supposed to be generated
> > > during this process, but there is no such file on the system after the
> > > fact, which is certainly a problem.
>
> > > Can anybody perhaps provide guidance as to why this file would NOT be
> > > generated?
>
> > > Please let me know if I can provide further details to help track down
> > > the problem.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация