- Joined
- Apr 24, 2008
- Messages
- 9
- Reaction score
- 0
This is a real long shot, but could I get a version of phpshield.dll and php_cmstatus.dll compiled for php 5.2.4 ?
I'd like to prove the concept of running IIS + PHP along with 3CX (not an uncommon situation for users of 3CX surely ?) - and I've gotten as far as actually seeing the login page and even the side bar, with a little modification to the php files. The problem is while I may not mind so much running the extra Apache server with its own PHP install, it doesn't seem to be possible with a PATH environment variable pointing to the existing PHP directory, so a compatible solution is needed.
Most extensions needed by 3CX are all available for PHP 5.2.4, but the 3CX proprietary ones, which hold functionality essential for the 3CX management console are not - hence being unable to 'share' the existing PHP install between IIS and 3CX's Apache. The same fix would also be valid for running an alongside and existing Apache server, i'd imagine.
To clarify what I have in mind :
- Existing PHP 5.2.4 and IIS6 are on server
- 3CX is installed
- 3CX Apache adapted to use existing PHP Installation by setting the LoadModule and PhpIniDir directives in httpd.conf
- Existing PHP has phpshield.dll and php_cmstatus.dll added to its extension dir, and registered in its php.ini
- After rebooting the services, everything should work fine.
I have proved the concept up this point, and now the Apache log is showing that PHP is giving a startup error for these two dll files, in that they have been compiled against a different version of the module API. As previous stated though, it is comfortably using the existing install of PHP, its just the web admin fails because it cannot find certain functions that i'd imagine are defined in these extensions.
I'd like to prove the concept of running IIS + PHP along with 3CX (not an uncommon situation for users of 3CX surely ?) - and I've gotten as far as actually seeing the login page and even the side bar, with a little modification to the php files. The problem is while I may not mind so much running the extra Apache server with its own PHP install, it doesn't seem to be possible with a PATH environment variable pointing to the existing PHP directory, so a compatible solution is needed.
Most extensions needed by 3CX are all available for PHP 5.2.4, but the 3CX proprietary ones, which hold functionality essential for the 3CX management console are not - hence being unable to 'share' the existing PHP install between IIS and 3CX's Apache. The same fix would also be valid for running an alongside and existing Apache server, i'd imagine.
To clarify what I have in mind :
- Existing PHP 5.2.4 and IIS6 are on server
- 3CX is installed
- 3CX Apache adapted to use existing PHP Installation by setting the LoadModule and PhpIniDir directives in httpd.conf
- Existing PHP has phpshield.dll and php_cmstatus.dll added to its extension dir, and registered in its php.ini
- After rebooting the services, everything should work fine.
I have proved the concept up this point, and now the Apache log is showing that PHP is giving a startup error for these two dll files, in that they have been compiled against a different version of the module API. As previous stated though, it is comfortably using the existing install of PHP, its just the web admin fails because it cannot find certain functions that i'd imagine are defined in these extensions.