[EMAIL PROTECTED] unexpectedly said that;

> Hello all,
> 
> I have been using the built in PHP v4.1something on Red Hat7.3 with
> applications like ACID and such.  I've read around that I should uninstall
> those RPMs and recompile PHP v4.21 from source.  So I uninstalled all the
> default Red Hat 7.3 PHP RPMs, and dloaded php-4.2.1.tar.gz and
> httpd-2.0.39.tar.gz.  I used the following site:
> http://www.php.net/manual/en/install.apache.php
> And followed the instructions towards the bottom of that page, altering
> only a little to fit my environment.
> 
> I got Apache2.0.39 installed with no problems over my exsiting
> Apache2.0.35, by doing this:
> 1.) ./configure --prefix=/usr/local/apache --enable-modules=so
> 2.) make
> 3.) make install
> 
> 
> Then I installed PHP:
> 1.) I had to edit the file sapi/apache2filter/php_functions.c at line 93.
>   #if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)
>              ADD_STRING(boundary);
>   #endif
>   -->Got that one from the posts as well, thanks all!!!
> 2.) ./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs
> 3.) make
> 4.) make install
> 5.) libtool --finish
> 
> Everything fine so far....
> 
> I then made sure that:
> LoadModule php4_module        modules/libphp4.so
>   AddType application/x-httpd-php .php
> got added to my /usr/local/apache/conf/http.conf file
> and I restart apache:
> /usr/local/apache/bin/apachectl restart
> and it restarts fine with no problems.
> 
> However, when I try and view my old ACID php pages and stuff, I see the
> source of the PHP files instead of the actual PHP pages.  Any idea why?
> 
> I've read over the mail archives, but can't seem to figure this one out,
> since everything appears to have compiled and installed correctly, but I
> just can't seem to view the pages.
> 
> TIA,
>  -Lup
> P.S. Let me know if there is any other information needed.

I had the same problem.. I searched the web for it.. but the only thing i 
got was people complaining about the problem..

I wrote here but didnt get a response but " Using PHP as an Apache2 module 
is experimental and not stable "

I couldnt find out why i kept having that problem and installed an earlier 
version of apache and things went ok.

i think simply do not using --with-apxs2=/usr/local/apache/bin/apxs suffix 
while configuring PHP.. i think Apache2 module thing has something wrong in 
it, or all of us are doing the same thing wrong.

if you find and answer to this question, i'd apreciate..

thanks..
-- 
junkie lives.. somewhere in time
---------------------------
hey sofia guy! what happened to eddie then?

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to