Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf

On Wednesday 12 September 2007 21:28:45 Eric wrote:
Mel wrote:
On Wednesday 12 September 2007 09:23:19 Zbigniew Szalbot wrote:
Hi there again,

Change the order of the extensions in extensions.ini. Each upgrade the
order is magically different, but the following comments I've assembled
over time: $ grep '^;' /usr/local/etc/php/extensions.ini
; NOTE: spl makes php coredump if loaded after pspell
; NOTE 2: simplexml makes php coredump if loaded after pspell

Yes, pspell is the common factor, but it isn't always. I should've kept
track, but the binding factor seems to be php extensions using a
C++-written library.
Once I see the coredump, I start moving the last extension up and re-run
php -v. If it's all the way up, take the next extension on the bottom and
rince and repeat.

i see the same behavior if session module is loaded after other modules.
Moving things around fixes this. I use the php -v trick as well until
the core dump goes away

Correct, it started with session in 5.1.x, only on -cli, so I moved it from
extensions.ini to etc/php.ini and *not* in etc/php-cli.ini (cli doesn't need
sessions 99.9% of the time anyway). Later another module was the cause, so I
started looking into it more.

freebsd-questions@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • RE: STG Security Advisory: [SSA-20041215-17] Vulnerability of uploading files with multiple exten
    ... "multiple extensions" behaviour in the past. ... There are a huge number of 3rd party PHP scripts out there ... upload a file without a registered MIME type are somewhat reduced. ... extensions behaviour for handlers as there seemed no legitimate ...
  • Loading DLLs from different path
    ... PHP is a popular server-side scripting language for web servers. ... It popularity is mainly due that it has many 3rd party extensions. ... The issue is that our DLL is dependent on RPC application server API DLLs in a different folder. ... The problem is that we never recommended putting dlls on the PATH nor do we recommend for our customers to have copies of DLLS over all the place. ...
  • Re: [PHP] Include an encoder into PHP distribution?
    ... >> libraries will not be accepted by the PHP group. ... I think that an encoder ... PHP already comes with extensions for the same ... caching, including Zend and Ioncube's. ...
  • Re: php?
    ... Also does this mean i can run php on the subsites while not affecting the ... When you use PHP with FrontPage 2003, you create the overall Web page design ... If you do not administer your own Web server, ... Disable features that require the FrontPage Server Extensions ...
  • Re: php extensions compile error - another compile bug?
    ... Re: php extensions compile error - another compile bug?: ... Is not triviality is a matter of perspective? ... AFFECTS: users of PHP ... and shared extensions to allow more flexibility and add new features. ...