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

apache won't start with PHP/Zend Studio's ZendExtensionManager.so

Posted on 2004-10-16
Last Modified: 2013-12-13
When I try to start apache with php it won't start. Running apachectl configtest results in the errors below. These are the lines that Zend Studio Server installed in my php.ini:
zend_gui_password=[REMOVED FOR PRIVACY]
zend_debugger.allow_hosts=[REMOVED FOR PRIVACY]
zend_server.allow_hosts=[REMOVED FOR PRIVACY]

If I comment out the last line apache will start. Someone please help! I've been stuck on this for over a week. I'd assign more points to this but this is all I've got.

dyld: /usr/sbin/httpd Undefined symbols:
/usr/sbin/apachectl: line 171: 14318 Trace/BPT trap          $HTTPD -t
Question by:youngad6
  • 2
  • 2
LVL 48

Expert Comment

ID: 12331502
Which Operating system are you using (Mac OS I guess)?
Which PHP version are you using?
Which Apache are you using?
Which version of the ZendServer have you downloaded?
LVL 51

Expert Comment

ID: 12331664
Cc: hernst42

please post error messages from apache startup too

also, can you please post result of:
  ldd /usr/local/Zend/lib/ZendExtensionManager.so

> zend_server.apache_error_log=/etc/|rotatelogs
are you shure there is no typo here?


Author Comment

ID: 12332237
OS X Server 10.3.5 (nice guess!)
PHP 4.3.9 configured with:
'./configure' '--prefix=/usr/local/php' '--with-zlib-dir=/usr/local' '--with-jpeg=/sw' '--with-libtiff=/sw' '--with-png=/sw' '--with-gd=/sw' '--with-mysql' '--with-curl' '--with-xml' '--with-dom=/sw' '--with-apxs' '--with-iconv' '--with-openssl' '--enable-cgi' '--with-xpm-dir=/sw' '--with-t1lib=/sw' '--with-mcrypt=/sw' '--with-mhash=/sw' '--with-pdflib=/sw' '--with-expat-dir=/sw' '--with-gettext=/sw' '--with-dom=/sw' '--with-dom-xslt=/sw' '--with-dom-exslt=/sw' '--with-xslt-sablot=/sw' '--with-mime-magic=/usr/local/php/etc/magic.mime' '--with-mssql' '--enable-xslt' '--with-ldap' '--with-xml' '--with-xmlrpc' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-trans-sid' '--enable-exif' '--enable-wddx' '--enable-ftp' '--enable-mbstring' '--with-ttf' '--enable-gd-native-ttf' '--with-freetype-dir=/sw/lib/freetype2'

Apache 1.3.29

apache output:
/usr/sbin/apachectl: line 171: 26451 Trace/BPT trap         $HTTPD -t >/dev/null 2>&1
/usr/sbin/apachectl restart: configuration broken, ignoring restart
/usr/sbin/apachectl restart: (run 'apachectl configtest' for details)

OS X doesn't have ldd but apparently otool -L gives the same info:
admin$ otool -L /usr/local/Zend/lib/ZendExtensionManager.so
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 63.0.0)

I changed the zend_server.apache_error_log line to point to a file, apachectl still gives the same problems.
LVL 51

Accepted Solution

ahoffmann earned 73 total points
ID: 12334135
it sounds like your zend-libs are compiled ay dynamic shared objects which need other libs, the path to these libs seems missing.
Sorry, I don't know Mac, but what you can do is:
  1. check which lib-paths are build into ZendExtensionManager.so (using otool or whatever)
  2. trying to set LD_LIBRARY_PATH environment variable to missing libs
  3. search for missing libs using find, then check if they contain the unresolved symbols (using nm or whtever OS X has)
LVL 48

Assisted Solution

hernst42 earned 72 total points
ID: 12337423
Why don't you open a support-ticket at zend?
Have a look at this: https://www.zend.com/phorum/read.php?num=7&id=1565&loc=0&thread=1565

It looks like the php-installer sometimes screw up the http.conf sometimes.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Currency in SQL? 2 31
Extracting store locations from Google maps or site 2 23
Link failure 16 34
PHP: Best way to scan folders and process files 10 40
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

829 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