Opened 17 years ago

Closed 12 years ago

#237 closed enhancement (wontfix)

Add "--with-unixODBC" to PHP config for Linux installs

Reported by: jdcard Owned by:
Priority: medium Milestone: 2.5
Component: Build System Version:
Severity: minor Keywords:
Cc: External ID:

Description

Although ODBC is required for MGOS FeatureSource joins (and therefore will be installed in many cases because of this), the PHP install script does not include ODBC support. MGOS applications running on Linux are even more likely to use PHP as the development environment (than in Windows) and ODBC support in PHP will make code more portable between the two operating environments.

Please revise the install procedures to include ODBC support in PHP by default.

Change History (4)

comment:1 by tomfukushima, 17 years ago

Hi James,

Thanks for taking the time to fill out this ticket. Can you send me a patch file or the list of changes that you did for this? I'll then get someone to review and commit them.

Also, is this something that only affects Linux? That is, does our Windows install of PHP already include ODBC support? I would think that it doesn't, but sometimes Windows just comes with stuff automatically (especially ODBC).

Tom

comment:2 by jdcard, 17 years ago

Sure, as soon as I get it working I'll be happy to document the steps. So far I've tried adding the with-unixODBC parameter to the build_apt.sh script, but that by itself doesn't seem to be enough to get full ODBC support in PHP.

I've not tried to build on Windows, so I have no idea whether this was a problem there. That config option doesn't appear in php_info on Windows and the php.ini file indicates that ODBC support is built-in, so I'm guessing that it is just not an issue in that environment -- ODBC just works.

comment:3 by jng, 12 years ago

Milestone: 2.5

comment:4 by jng, 12 years ago

Resolution: wontfix
Status: newclosed

A more practical approach (and something our efforts would be better spent on) is to allow for MapGuide's Web Tier to be integrated into the system installed Apache/PHP which will undoubtedly have all the necessary extra extensions included.

Note: See TracTickets for help on using tickets.