473,725 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bizarre Apache/PHP startup error

I've been trying to bring up an IMP webmail server for...oh, several
days now. I've never had so much trouble bringing up any machine, and
I've beaten my forehead flat against it. Either I've been at it too
long, or I've been at it too long and there's a bug here somewhere.

Basically, I had a working machine up until yesterday, with gd.so,
imap.so, ldap.so, mbstring.so, mcrypt.so, and pgsql.so all up and
running nicely. At that point I wanted to install fileinfo, so I first
installed Christos Zoulas' File 4.17 from astron.com. I then did a
"pear install fileinfo", which I *think* relies on File 4.17 and/or its
magic.h header as a prerequisite, although it's possible that this idea
crept into my head along the way and has no basis in reality. After
"pear install fileinfo", pear exits with "Warning:
opendir(/var/tmp/pear-build-davek/install-Fileinfo-1.0.3//var/www/pear):
failed to open dir: No such file or directory in Builder.php on line
162", so I popped into pear's download directory under /tmp and ran
configure, make and make install, without any error messages. After
running "phpxs -a fileinfo" I should be done.

Except that now Apache 1.3.29 will no longer start:

/var/www/conf # httpd
Syntax error on line 267 of /var/www/conf/httpd.conf:
Cannot load /usr/lib/apache/modules/libphp5.so into server: Cannot load
specified object
/var/www/conf # httpd -u
Syntax error on line 267 of /var/www/conf/httpd.conf:
Cannot load /usr/lib/apache/modules/libphp5.so into server: Cannot load
specified object

Line 267 of httpd.conf looks as follows:

LoadModule php5_module /usr/lib/apache/modules/libphp5.so

A quick check verifies that libphp5.so is present in
/usr/lib/apache/modules. It hasn't been touched for the past several
days in between the time it loaded up just fine and the time it didn't.
Neither has httpd.conf, which was syntactically correct last week but
not this week even though it also is unchanged. If I comment out the
offending PHP5 startup line, Apache starts.

There isn't anything in either Apache's or PHP's error log. I've tried
copying the straight "php.ini-recommended" over with no luck.

I've tried running a commandline php test using fileinfo object file,
and it seems
to work great, so I don't think the problem is with fileinfo. But I'm
not positive. All I really know is that I was working on the machine
and it suddenly stopped working. I need some better ways to diagnose
the problem than what Apache and PHP provide.

So what am I missing?

Thanks in advance for any advice!
Dave Klingler

The OS is OpenBSD snapshot (3.9), although I've had the same problem
trying this in OpenBSD 3.8.

Apr 11 '06 #1
0 1685

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3232
by: Harry | last post by:
Since yesterday, when I try and start apache, I get the following message: Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_mysql.dll' - the specified procedure could not be found. I am running PHP 5.0 on Apache 2 and have been for some time. I got this error when I first installed PHP5/Apache2 on this machine (a
2
14166
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip Smarty-2.6.7.tar.gz on a system running WindowsXP SP2. Apache and PHP tested out fine. After adding Smarty, I ran the following http://localhost/testphp.php
1
2557
by: anks | last post by:
I am tring to install apache tomcat1.4 on a windows 2000 advanced server. it got installed successfully.but when i start it the command prompt(for apache tomcat) appears for a second and then just disposes off.Can anybody tell me what is the problem. Thanks in advance
4
6659
by: Jon Maz | last post by:
Hi All, I'm getting to grips with PHP and Apache (on Windows for current development, production site will be on Linux), and have a simple (I hope!) request. When you change the httpd.conf file and restart Apache, if you have made an error you simply get a popup saying that there has been an error, but giving no useful information about what or where the error is (on Windows anyway).
5
5670
by: voronwae | last post by:
Hi folks. Either I'm missing something really obvious (most likely) or I'm missing something really subtle. I've been building up a machine as an IMP webmail server, with php 5.1.2, cyrus-sasl, openldap, imap, fileinfo, mod_perl, sqlite, horde, Berkeley DB and PostgreSQL, among others, on top of an old Potatoe machine that was already alive and in production so I just went with it. Everything worked great up until the installation of...
18
2395
by: rfhurley | last post by:
How do I run a .php program? (I'm starting with the "hello world" script)
6
7978
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as "include not found", rather much of the page is blank where the included menus, etc would be, and the CSS is not attached. thanks so much!!! My httpd.conf looks like this:
0
3956
by: newdbprgmer | last post by:
I am using a business objects API that is a web service and has axis as dependency. it works fine with 1.1 version, but with 1.3 gives an error. The code is as follows: public void initWSConnection() { try{ String biCatalogURL = "http://" + super.getServerHostName() + ":" + PORT_NUMBER + BI_CATALOG_DIRECTORY ; URL boConURL = new URL(biCatalogURL); boConnection = new Connection(boConURL); boSession = new...
6
7598
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not work. Please review my work and let me know if you see that one little thing that is throwing me for a loop. HTTPD.CONF # # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the...
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9113
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8097
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2635
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.