Go Back   Forum Care Forums > Development Reference Area > Php Development

Reply
 
LinkBack Thread Tools Display Modes
install problems
Old
  (#1)
jekillen
Guest
 
Posts: n/a
Default install problems - 05-14-2007, 02:54 AM

Hello;
Well, this one I cannot seem to figure out:
I installed Apache 1.3.37 with
../configure --enable-module=so --enable-module=rewrite
--enable-shared=max
Then tried to install
php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc

libphp5.so is no where to be found. It sure is not
in apache/libexec

I saved the ./configure options in a file and had
configure read from it. All seemed to go ok,
no errors, bailouts. I can send that file if anyone
thinks it may have the answer.

The problem showed up when I tried to start apache and
it would not start because it could not find libphp5.so

OS: Freebsd 6.2
(I know there is the ports system, I have install all of this
successfully on
two other machines doing just untar, configure, make, make install. I
had
reasons for not dealing with ports)
Any clues?
Thanks in advance
Jeff K
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: install problems
Old
  (#2)
Haydar TUNA
Guest
 
Posts: n/a
Default Re: install problems - 05-14-2007, 02:54 AM

Hello,
This is php.install question but I can help you. Two weeks ago, I
faced same problem with Apache 2.2.4 and PHP 5.2.1 in Redhat Linux AS 4
Update 3 operating system. I tried to install apache and php together but I
faced to same problem. I tried to install PHP 5.1.6 and Apache 2.2.4, my
problem could be solved.

--
Haydar TUNA
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net

"jekillen" <EMAIL REMOVED>, haber iletisinde sunlari
yazdi:EMAIL REMOVED ...
> Hello;
> Well, this one I cannot seem to figure out:
> I installed Apache 1.3.37 with
> ./configure --enable-module=so --enable-module=rewrite --enable-shared=max
> Then tried to install
> php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc
>
> libphp5.so is no where to be found. It sure is not
> in apache/libexec
>
> I saved the ./configure options in a file and had
> configure read from it. All seemed to go ok,
> no errors, bailouts. I can send that file if anyone
> thinks it may have the answer.
>
> The problem showed up when I tried to start apache and
> it would not start because it could not find libphp5.so
>
> OS: Freebsd 6.2
> (I know there is the ports system, I have install all of this successfully
> on
> two other machines doing just untar, configure, make, make install. I had
> reasons for not dealing with ports)
> Any clues?
> Thanks in advance
> Jeff K

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: [PHP] Re: install problems
Old
  (#3)
jekillen
Guest
 
Posts: n/a
Default Re: [PHP] Re: install problems - 05-14-2007, 02:54 AM


On Mar 18, 2007, at 7:51 PM, Haydar TUNA wrote:

> Hello,
> This is php.install question but I can help you. Two weeks
> ago, I
> faced same problem with Apache 2.2.4 and PHP 5.2.1 in Redhat Linux AS 4
> Update 3 operating system. I tried to install apache and php together
> but I
> faced to same problem. I tried to install PHP 5.1.6 and Apache 2.2.4,
> my
> problem could be solved.
>

Thanks, I still do have the 5.1.2 tarball. I will try that and see if
it makes a dif.
I thought of stealing the file that is missing from another
installation that is
very similar but decided against it because it was based on a different
version
of php (5.2.1). And this file is in /usr/local/libexec instead of
/usr/local/apache/libexec
(That actually be part of my problem; I.E. when I installed Apache I
did not give
../configure a prefix because the install instructions said the default
was /usr/local/apache.
And httpd.conf is expecting to find the stuff in /usr/local/libexec.)
Thanks again
trying again,
Jeff K
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: [PHP] install problems
Old
  (#4)
Chris
Guest
 
Posts: n/a
Default Re: [PHP] install problems - 05-14-2007, 02:54 AM

jekillen wrote:
> Hello;
> Well, this one I cannot seem to figure out:
> I installed Apache 1.3.37 with
> ./configure --enable-module=so --enable-module=rewrite --enable-shared=max
> Then tried to install
> php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc
>
> libphp5.so is no where to be found. It sure is not
> in apache/libexec


Did you run 'make' ?

Running configure doesn't create this file, 'make' does.

A rather obvious question but I couldn't see whether you ran it or not.

--
Postgresql & php tutorials
http://www.designmagick.com/
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: [PHP] install problems
Old
  (#5)
jekillen
Guest
 
Posts: n/a
Default Re: [PHP] install problems - 05-14-2007, 02:54 AM


On Mar 18, 2007, at 10:54 PM, Chris wrote:

> jekillen wrote:
>> Hello;
>> Well, this one I cannot seem to figure out:
>> I installed Apache 1.3.37 with
>> ./configure --enable-module=so --enable-module=rewrite
>> --enable-shared=max
>> Then tried to install
>> php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc
>> libphp5.so is no where to be found. It sure is not
>> in apache/libexec

>
> Did you run 'make' ?
>
> Running configure doesn't create this file, 'make' does.
>
> A rather obvious question but I couldn't see whether you ran it or not.
>


Yes, I did, an oversight on my part not to mention it.
It went all the way through configure, make, and make install
I watched all the text fill up the screen and fly by and I did
not get and bail outs. How ever I suspect that part of the
problem is the way I configured Apache, I know I had
trouble with Apache not editing the .conf file by putting
all the AddModule and LoadModule lines in. I got that
fixed then encountered the php problem. I even went
through and removed everything related to php I could
find and started again from scratch. No luck.
Thanks for the reply
Jeff k
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: [PHP] install problems
Old
  (#6)
Chris
Guest
 
Posts: n/a
Default Re: [PHP] install problems - 05-14-2007, 02:55 AM

jekillen wrote:
>
> On Mar 18, 2007, at 10:54 PM, Chris wrote:
>
>> jekillen wrote:
>>> Hello;
>>> Well, this one I cannot seem to figure out:
>>> I installed Apache 1.3.37 with
>>> ./configure --enable-module=so --enable-module=rewrite
>>> --enable-shared=max
>>> Then tried to install
>>> php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc
>>> libphp5.so is no where to be found. It sure is not
>>> in apache/libexec

>>
>> Did you run 'make' ?
>>
>> Running configure doesn't create this file, 'make' does.
>>
>> A rather obvious question but I couldn't see whether you ran it or not.
>>

>
> Yes, I did, an oversight on my part not to mention it.


Just wanted to check

After 'make' you should have a libs/libphp5.a and/or libs/libphp5.so

No need to do the 'make install' step if those files don't get created
(depending on your configure options you may only get one of them, but
there should be something created there).

If you're not getting them at all, does 'make' finish properly - ie do
you get:


Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).


as the last two lines?

--
Postgresql & php tutorials
http://www.designmagick.com/
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: [PHP] install problems
Old
  (#7)
jekillen
Guest
 
Posts: n/a
Default Re: [PHP] install problems - 05-14-2007, 02:55 AM


On Mar 19, 2007, at 5:58 PM, Chris wrote:

> jekillen wrote:
>> On Mar 18, 2007, at 10:54 PM, Chris wrote:
>>> jekillen wrote:
>>>> Hello;
>>>> Well, this one I cannot seem to figure out:
>>>> I installed Apache 1.3.37 with
>>>> ./configure --enable-module=so --enable-module=rewrite
>>>> --enable-shared=max
>>>> Then tried to install
>>>> php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc
>>>> libphp5.so is no where to be found. It sure is not
>>>> in apache/libexec
>>>
>>> Did you run 'make' ?
>>>
>>> Running configure doesn't create this file, 'make' does.
>>>
>>> A rather obvious question but I couldn't see whether you ran it or
>>> not.
>>>

>> Yes, I did, an oversight on my part not to mention it.

>
> Just wanted to check
>
> After 'make' you should have a libs/libphp5.a and/or libs/libphp5.so
>
> No need to do the 'make install' step if those files don't get created
> (depending on your configure options you may only get one of them, but
> there should be something created there).
>
> If you're not getting them at all, does 'make' finish properly - ie do
> you get:
>
>
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).
>
>
> as the last two lines?
>

Yes
I rm'd everything related to php and went and got a copy of php 5.1.2
and tried that with the same
list of ./configure options read into ./configure from a file:
--with-apxs=/usr/local/sbin/apxs \
--with-openssl \
--with-zlib \
--enable-bcmath \
--with-gd \
--with-jpeg-dir \
--with-freetype-dir \
--with-ttf \
--enable-gd-native-ttf \
--with-mcrypt \
--with-mysql \
--with-mysql-sock \
--without-sqlite \
--with-regex=php
and the same thing happened.
It should be in /usr/local/libexec with all the other Apache modules,
right?
find found nada.
I have done this twice before on FreeBSD v6.0 with out this trauma.
I subscribed to the install list to see what someone might have to say
there.
Jeff K
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top