Bluehost.com Web Hosting $6.95

Problem with 4.3.2 built as DSO

This is a discussion on Problem with 4.3.2 built as DSO within the PHP General forums, part of the PHP Programming Forums category; Hi, I recently upgraded from 4.2.2 to 4.3.2 built as a DSO for apache 1.3....


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2003
Patrick Hutchinson
 
Posts: n/a
Default Problem with 4.3.2 built as DSO

Hi,

I recently upgraded from 4.2.2 to 4.3.2 built as a DSO for apache
1.3.26. Now, documents are not being executed. I am just getting the
source listed back. I have the propper AddModule/LoadModule stuff in my
conf as well as the propper AddType for php documents. When I tried to
revert back to 4.2.2 the same thing happens now.

Using my same config files with php built statically into apache 1.3.26
(with the add/load module stuff removed of course) it works fine.

Any pointers on the next thing to look at would be greatly appreciated.


--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Patrick Hutchinson phutchin@cisco.com
Engineering Web Systems Administrator 408.527.0305 direct
Cisco Systems, Inc. 408.527.2313 fax

Reply With Quote
  #2 (permalink)  
Old 07-14-2003
Ray Hunter
 
Posts: n/a
Default Re: [PHP] Problem with 4.3.2 built as DSO

Here is how i trouble shoot it:

1. make sure that there is a libphp4.so file in libexec.
2. make sure that you have these lines in httpd.conf:

LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php

3. restart apache

That should work for you. Also make sure that when you configured php
that you supplied the correct path to apxs? Sometimes i mess this up and
give it a path to an older apache version.


--
BigDog

On Mon, 2003-07-14 at 15:38, Patrick Hutchinson wrote:
> Hi,
>
> I recently upgraded from 4.2.2 to 4.3.2 built as a DSO for apache
> 1.3.26. Now, documents are not being executed. I am just getting the
> source listed back. I have the propper AddModule/LoadModule stuff in my
> conf as well as the propper AddType for php documents. When I tried to
> revert back to 4.2.2 the same thing happens now.
>
> Using my same config files with php built statically into apache 1.3.26
> (with the add/load module stuff removed of course) it works fine.
>
> Any pointers on the next thing to look at would be greatly appreciated.
>
>
> --
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> Patrick Hutchinson phutchin@cisco.com
> Engineering Web Systems Administrator 408.527.0305 direct
> Cisco Systems, Inc. 408.527.2313 fax
>


Reply With Quote
  #3 (permalink)  
Old 07-14-2003
Patrick Hutchinson
 
Posts: n/a
Default Re: [PHP] Problem with 4.3.2 built as DSO

Yeah, I have all that in the conf file. I've rebuilt it twice and made
sure it was pointing to the propper apxs and everything. Even did a make
clean to be sure. Still doesn't work. I've checked everything I can
think of.

-Patrick


Ray Hunter wrote:
> Here is how i trouble shoot it:
>
> 1. make sure that there is a libphp4.so file in libexec.
> 2. make sure that you have these lines in httpd.conf:
>
> LoadModule php4_module libexec/libphp4.so
> AddType application/x-httpd-php .php
>
> 3. restart apache
>
> That should work for you. Also make sure that when you configured php
> that you supplied the correct path to apxs? Sometimes i mess this up and
> give it a path to an older apache version.
>
>
> --
> BigDog
>
> On Mon, 2003-07-14 at 15:38, Patrick Hutchinson wrote:
>
>>Hi,
>>
>>I recently upgraded from 4.2.2 to 4.3.2 built as a DSO for apache
>>1.3.26. Now, documents are not being executed. I am just getting the
>>source listed back. I have the propper AddModule/LoadModule stuff in my
>>conf as well as the propper AddType for php documents. When I tried to
>>revert back to 4.2.2 the same thing happens now.
>>
>>Using my same config files with php built statically into apache 1.3.26
>>(with the add/load module stuff removed of course) it works fine.
>>
>>Any pointers on the next thing to look at would be greatly appreciated.
>>
>>
>>--
>>/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
>>Patrick Hutchinson phutchin@cisco.com
>>Engineering Web Systems Administrator 408.527.0305 direct
>>Cisco Systems, Inc. 408.527.2313 fax
>>

>
>
>



--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Patrick Hutchinson phutchin@cisco.com
Engineering Web Systems Administrator 408.527.0305 direct
Cisco Systems, Inc. 408.527.2313 fax

Reply With Quote
  #4 (permalink)  
Old 07-15-2003
Ray Hunter
 
Posts: n/a
Default Re: [PHP] Problem with 4.3.2 built as DSO

Try this:

Stop apache first.

1. Delete the libphp4.so file from libexec in apache dir.
2. make clean in php src dir.
3. rm config.cache
4. ./config.nice (gives you all the stuff that u configured)
5. make & make install
6. verify httpd.conf
7. start apache up and verify.

--
bigdog


On Mon, 2003-07-14 at 15:52, Patrick Hutchinson wrote:
> Yeah, I have all that in the conf file. I've rebuilt it twice and made
> sure it was pointing to the propper apxs and everything. Even did a make
> clean to be sure. Still doesn't work. I've checked everything I can
> think of.
>
> -Patrick
>
>
> Ray Hunter wrote:
> > Here is how i trouble shoot it:
> >
> > 1. make sure that there is a libphp4.so file in libexec.
> > 2. make sure that you have these lines in httpd.conf:
> >
> > LoadModule php4_module libexec/libphp4.so
> > AddType application/x-httpd-php .php
> >
> > 3. restart apache
> >
> > That should work for you. Also make sure that when you configured php
> > that you supplied the correct path to apxs? Sometimes i mess this up and
> > give it a path to an older apache version.
> >
> >
> > --
> > BigDog
> >
> > On Mon, 2003-07-14 at 15:38, Patrick Hutchinson wrote:
> >
> >>Hi,
> >>
> >>I recently upgraded from 4.2.2 to 4.3.2 built as a DSO for apache
> >>1.3.26. Now, documents are not being executed. I am just getting the
> >>source listed back. I have the propper AddModule/LoadModule stuff in my
> >>conf as well as the propper AddType for php documents. When I tried to
> >>revert back to 4.2.2 the same thing happens now.
> >>
> >>Using my same config files with php built statically into apache 1.3.26
> >>(with the add/load module stuff removed of course) it works fine.
> >>
> >>Any pointers on the next thing to look at would be greatly appreciated.
> >>
> >>
> >>--
> >>/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> >>Patrick Hutchinson phutchin@cisco.com
> >>Engineering Web Systems Administrator 408.527.0305 direct
> >>Cisco Systems, Inc. 408.527.2313 fax
> >>

> >
> >
> >

>
>
> --
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> Patrick Hutchinson phutchin@cisco.com
> Engineering Web Systems Administrator 408.527.0305 direct
> Cisco Systems, Inc. 408.527.2313 fax
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:22 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0