|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-11-02 13:26 UTC] margus at zone dot ee
Description:
------------
When building and using Tidy extension separately as shared module, then PHP-CLI crashes at the end.
Everything seems to work, when compiling the extension directly into PHP binary.
Reproduce code:
---------------
build LIBTIDY:
- /bin/sh build/gnuauto/setup.sh
- ./configure --with-prefix=/usr
- make
- make install
- ldconfig
build PHP5 (5.0.2):
- ./configure --with-tidy=shared,/usr
- make
changes in PHP.INI:
extension_dir=.
script tidytest.php:
<?php
dl ('modules/tidy.so');
$tidy = tidy_parse_string ("<HTML></HTML>");
echo "Exiting...";
?>
Expected result:
----------------
Exiting...
Actual result:
--------------
Exiting...Segmentation Fault
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
<?php dl ('modules/tidy.so'); $tidy = tidy_parse_string ("<HTML></HTML>"); echo "Exiting..."; ?>