Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 27th July 2008
co_bofh co_bofh is offline
New User
Join Date: Jul 2008
Posts: 8
Default Problem with php and apache on OpenBSD

Default apache

php5-core-5.1.4p2 server-side HTML-embedded scripting language
php5-curl-5.1.4p0 curl URL library extensions for php5
php5-gd-5.1.4p0 image manipulation extensions for php5
php5-mysql-5.1.4p0 mysql database access extensions for php5

However the gd.so module doesn't load:

PHP Warning: PHP Startup: Unable to load dynamic library '/var/www/lib/php/modules/gd.so' - Cannot load specified object in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/var/www/lib/php/modules/gd.so' - Cannot load specified object in Unknown on line 0

Originally I installed the package for standalone gd and rrdtool and had to install X4.0. Unfortunately gd still couldn't find freetype and fontconfig. Even after running ldconfig -m to include the X paths. Frustrated, I removed the gd package and compiled gd 2.0.35 instead which worked. I compiled an older version of rrdtool because cairo wasn't able to find fontconfig and freetype (needed for newest version of rrdtool) and it works and creates graphs so I know the standalone gd tool is working.

The main issue is the lack of reasonable information on why something's not working. "Cannot load specified object" is just an idiot light type of message. "Hey, there's a problem in the car. Take it to a mechanic."

Sorry for the rant. Followups are gratefully accepted.


Last edited by co_bofh; 27th July 2008 at 06:49 PM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
openvpn on openbsd problem.... michaelk OpenBSD Security 8 9th February 2011 04:49 AM
Big5 Character Set in Apache problem after upgrade to 6.4 paul-lkw FreeBSD Installation and Upgrading 0 23rd February 2009 09:20 AM
Apache: problem with rewritten content-type header Malakim General software and network 2 3rd December 2008 07:51 PM
Apache Problem ( Permission ) dctr FreeBSD General 8 27th May 2008 09:48 PM
apache fd size problem oxy FreeBSD Ports and Packages 0 10th May 2008 10:49 AM

All times are GMT. The time now is 03:32 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick