The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 mod_php4
Author: Moe Elzubeir 
Date:   18-12-00 04:41


I wanted to add php4 support to my Apache server, so I typically went on to the /usr/ports/www/mod_php4/ then 'make install'.. and the compiler starts crunching.

Well, this never worked out and I got a whole lot of errors, so I decided to install the prepackaged binaries. On with /stand/sysinstall, Configure, Packages, and maneuver to mod_php4, and it's installed.

Well, everything works now, after adding it to the apache configurations files and all. However, when Apache starts, it complains about mod_php4 being susceptible to crashes, asking me to compile with -DEAPI. It works, and never gave me trouble, but I can't keep using something that is clearly telling me that it will crash! I can't compile because.. (circular)

Any suggestions?

Reply To This Message
 
 Re: mod_php4
Author: Dan Langille 
Date:   18-12-00 05:37

What version of mod_php4? The latest is <a href="http://freshports.org/port-description.php3?port=3384">mod_php4 4.0.3pl1</a>.

What version of apache? The latest is <a href="http://freshports.org/port-description.php3?port=768">apache13 1.3.14</a>.

Have you cvsup'd your ports lately?

Did you pkg_delete your old ports first? Use pkg_info to find out what's already installed.

I recently upgraded my box from php3 to php4. First I started with apache13 then mod_php4.

Reply To This Message
 
 Re: mod_php4
Author: Mike Raymer 
Date:   29-12-00 02:54

I encountered the same problem when adding php4 support. The problem
was corrected when I did the following prior to compiling;

CFLAGS=-DEAPI ./configure
Moe Elzubeir wrote:
>
>
> I wanted to add php4 support to my Apache server, so I
> typically went on to the /usr/ports/www/mod_php4/ then 'make
> install'.. and the compiler starts crunching.
>
> Well, this never worked out and I got a whole lot of errors,
> so I decided to install the prepackaged binaries. On with
> /stand/sysinstall, Configure, Packages, and maneuver to
> mod_php4, and it's installed.
>
> Well, everything works now, after adding it to the apache
> configurations files and all. However, when Apache starts, it
> complains about mod_php4 being susceptible to crashes, asking
> me to compile with -DEAPI. It works, and never gave me
> trouble, but I can't keep using something that is clearly
> telling me that it will crash! I can't compile because..
> (circular)
>
> Any suggestions?

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org