[warn] Apache php 5

Posted on 2005-04-04
Medium Priority
Last Modified: 2012-06-27
Dear Experts,
I have this web server installed (copied from php.ini):
Apache/1.3.33 (Win32) PHP/5.0.3 mod_ssl/2.8.22 OpenSSL/0.9.7e
#Win32 is win-XP professional

When restarting the apache service I get this two warnings in the apache log:

[warn] Loaded DSO c:/php/php5apache.dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
[warn] module mod_php5.c is already added, skipping

my httpd.conf file has these lines added to it:
LoadModule php5_module "c:/php/php5apache.dll"
AddModule mod_php5.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php .wml
As far as I can see, my web site functions normally (wap included).
Should I worry about this?
How do I go on solving this?

Thank you.
Question by:eyal_barouk
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Author Comment

ID: 13705773
OK, I got rid of the second warning by removing:
AddModule mod_php5.c
from the httpd.conf file.

I am still concerned with the other warning.

Expert Comment

ID: 13758189
This is simply a problem of an old module. You just need to download a new verison of the php apache module. Make sure you get the one for apache2.

Author Comment

ID: 13767039
But I am using Apache 1.3.33
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI


Expert Comment

ID: 13777950
I would suggest upgrading to Apache 2.0+. Its fully stable and supported now.

Accepted Solution

kryptic0329 earned 840 total points
ID: 13951830
Also eyal_barouk, if you wish to use Apache 1.3, you need to recompile it without EAPI. Just add the -DEAPI switch to your compile string.

Author Comment

ID: 13960507
I would upgrade to apache 2.0 but my problem is that I cannot install SSL on it as I did with 1.3.
With 1.3 I found an apache installation with SSL already configured on it. But as I understand, it doesn't exist for apache 2.0 for some legal reason.

I don't want to deal with compiling it for lack of tools and knowledge to do it.

I'm pretty confused by the subject right now and have to give it more thought.
Any more suggestions maybe? Does any site owner that want to have SSL installed on apache 2.0 have to compile it herself? Sounds pretty strange.

Expert Comment

ID: 13964636
Well most of the time any serious webmaster doesn't use apache on windows. :)

Linux compiles much easier and its quite easy to add it. I would purchasing a dedicated server from somewhere like 1and1.com for $5 a month if your site gets any traffic and needs SSL. They will give you a licensed SSL certification from a real certifying authority. Also you won't have to deal with any of this compiling and your site will be extremely fast. I've got a dedicated server there and I love it.

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question