Bug #10928 Updated: Loading PHP as a DSO fails - "garbled"

From: Date: Mon, 21 May 2001 19:12:24 +0000
Subject: Bug #10928 Updated: Loading PHP as a DSO fails - "garbled"
Groups: php.dev 
Request: Send a blank email to php-dev+get-56102@lists.php.net to get a copy of this message
ID: 10928 Updated by: jmoore Reported By: dave@mustardresearch.com Old-Status: Open Status: Closed Bug Type: Dynamic loading Operating system: PHP Version: 4.0.5 Assigned To: Comments: Closing Previous Comments: --------------------------------------------------------------------------- [2001-05-21 21:03:45] dave@mustardresearch.com Yep - spot on - putting the full path for apxs did the trick! Thanks, Dave. --------------------------------------------------------------------------- [2001-05-18 04:21:55] sniper@php.net You're most likely using wrong apxs here. Try using the full path for it. ie. --with-apxs=/httpd/bin/apxs --Jani --------------------------------------------------------------------------- [2001-05-17 11:31:44] dave@mustardresearch.com I've built PHP 4.0.5 as a DSO with config: ./configure --with-apxs --with-mysql=no I'm running Apache V1.3-14 with SSL patches and the config: ./configure --enable-module=info --enable-module=so --prefix=/httpd When I start apache and try to add PHP I get: Starting httpsd: Syntax error on line 225 of /httpd/conf/httpd.conf: API module structure `php4_module' in file /httpd/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO? /httpd/bin/httpsdctl start: httpsd could not be started I've read through the previous responses on this topic and I've tried 'make clean' and deleting the config.cache in PHP before the build - this doesn't make any difference. Dave. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10928&edit=2

« previous php.dev (#56102) next »