[PHP-DEV] Bug #10928 Updated: Loading PHP as a DSO fails - "garbled" From: jmoore <email protected>
Date: 05/21/01

ID: 10928
Updated by: jmoore
Reported By: dave <email protected>
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 <email protected>
Yep - spot on - putting the full path for apxs did the trick!

Thanks,

Dave.

---------------------------------------------------------------------------

[2001-05-18 04:21:55] sniper <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>