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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 > |
|
|||
|
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 |
|
|||
|
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 > |