On Fri, 2003-11-21 at 07:33, Bernd wrote:
> Hello,
> my probelm is, if i create a module with apache 2.0 php 4.3.3 it doesn`t
> work on the server were
> apache 1.3.7 with php 4.2.2. is installed.
> how can i create a modul with apache 2.0. with php 4.3.3 that works fine
> with apache 1.3.7 and php 4.2.2 ?

If you are talking about C extension modules, then you can't AFAIK.
Loadable extension are not compatible between most major versions, and
occasionally between minor versions. You need to compile different
versions for your users to download. An option might be to package both,
and given them some naming scheme based on the version of PHP with which
they are compatible. Then at run time your PHP script could check the
PHP version and load the correct one accordingly.

HTH,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to