ID: 10928
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Dynamic loading
Operating system: Linux Redhat 6.2 Kernel 2.2.17
PHP Version: 4.0.5
Description: Loading PHP as a DSO fails - "garbled"

Yep - spot on - putting the full path for apxs did the trick!

Thanks,

Dave.

Previous Comments:
---------------------------------------------------------------------------

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

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


Full Bug description available at: http://bugs.php.net/?id=10928


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to