473,574 Members | 2,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why doesn't "make install" generate libphp5.so?

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/apxs

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.

Thanks,
Eric

Oct 23 '06 #1
4 13710

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/apxs
I 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.
Oct 23 '06 #2
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_entit ies" 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...@bsdmai l.orgwrote:
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.
Oct 23 '06 #3
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.comwro te:
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_entit ies" 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...@bsdmai l.orgwrote:
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.
Oct 23 '06 #4
On 23 Oct 2006 09:52:16 -0700, "Eric West" <pu************ **@gmail.comwro te:
>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?
Probably PHP (and then it's probably one of the libraries loaded by one of the
extensions loaded by or compiled into PHP), but you need to get a core dump and
run it through gdb to find out where to dig.

Look up the Apache CoreDumpDirecto ry directive to tell it where to write the
dump.

See also http://bugs.php.net/bugs-generating-backtrace.php

Do you get a similar segfault from the commandline version of PHP? If so that
obviously narrows it down a bit ;-)

--
Andy Hassall :: an**@andyh.co.u k :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Oct 23 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2117
by: Jordan Rastrick | last post by:
First, a disclaimer. I am a second year Maths and Computer Science undergraduate, and this is my first time ever on Usenet (I guess I'm part of the http generation). On top of that, I have been using Python for a grand total of about a fortnight now. Hence, I apologise if what follows is a stupid suggestion, or if its already been made...
0
562
by: pmarshall1971 | last post by:
Currently on my Windows 2000 server, where we do our builds, whenever we to generate a key to be able to strong name our assemblies we receive the follwing error. Failed to generate a strong name key pair -- Access is denied. This has occured once before, and the only way to fix the problem was to re-install the operating system !. I...
6
2261
by: jmborr | last post by:
While running make, I obtain the following error: make: *** No rule to make target `amino_acid_param.h', needed by `pdb2txt_relax.o'. Stop. I'm confused, since header files (*.h) shouldn't need rules because they're not compiled. What can I do? Below is the makefile. Note that this makefile calls another makefile, and it seems the...
7
1564
by: Dave | last post by:
Greetings, I am attempting to take a number that is currently in minutes and turn it into a string that will list the hours followed by minutes. Some more examples: "30" into "0h 30m" "155 into "2h 35m" "180 into "3h 0m"
14
5916
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have Firefox my self and don't wont to install it only because of this, so I hope some of you gurus can enlighten me with this :) In what circumstances can the "&amp;" in the source code be involuntary...
1
1718
by: francescomoi | last post by:
Hi. I compiled PHP by using: -------------- './configure' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/httpd/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-curl=/usr/local/include/curl' '--with-gd=/usr/local/gd' '--with-zlib-dir=/usr/local/zlib' '-with-jpeg-dir=/usr/local/jpeg-6b' '--with-ttf=/usr/include/freetype2'
1
1890
by: HermannJens | last post by:
im trying to install a module. The directions for installing modules say: download the file, extract it, put the file under "c:/perl/lib/module-here" go to "cmd" type there: perl makefile.pl make make install
169
8984
by: JohnQ | last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post). It would be more than a little bit nice if C++ was much "cleaner" (less complex) so that it wasn't a major world wide untaking to create a toolchain for it. Way back when, there used to be something called "Small C". I wonder if the creator(s) of that would want to...
12
7459
by: John Connic | last post by:
Hi All: I just setup a new machine with Vista Business Edition and IIS 7. I had to turn on IIS 7 attributes including the IIS Manager. Not sure what options I needed I turn them all on that even remotely look like I might need them. The IIS Manager looks total foreign to me but eventually I figure how to add a virtual folder. I then...
0
7814
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7736
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8067
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8249
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5307
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3748
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3756
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1071
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.