eZ Community » Forums » Install & configuration » Installing 4.1.1 on OS X - issue with...
expandshrink

Installing 4.1.1 on OS X - issue with iconv

Installing 4.1.1 on OS X - issue with iconv

Sunday 10 May 2009 10:08:04 pm - 2 replies

eZ Publish 4.1.1 requires iconv support to be enabled in PHP. Normally installation is a snap, but Idiscovered that it is quite tricky to get iconv support to work on OS X (at least using PHP built from source and iconv from Ports installed). And to just to be clear - this is not an issue with eZ Publish, just the platform happy.gif Emoticon

Just incase you hit the same issue - here are the steps that worked for me (OS X 10.5.6, PHP 5.2.9):

- get PHP source, extract, etc., have your current configure command available (from phpinfo(), for example)
- run configure: ./configure --with-apxs2
- run make
- reconfigure with your current configure command (remove "--with-apxs2" and make sure you use: --with-iconv=/opt/local)
- make
- make install
- restart apache

More info: http://bugs.php.net/bug.php?id=43189

Modified on Sunday 10 May 2009 10:10:54 pm by Jani Tarvainen

Monday 11 May 2009 9:14:00 am

Hi,

Thanks for sharing your experience. Another easy way is to just install PHP via MacPorts[1] where the iconv is enabled by default. Works great in my environment.

Using MAMP[2] should be easy as well, it has iconv enabled too.

[1] http://www.macports.org/
[2] http://www.mamp.info/en/index.html

Friday 15 May 2009 6:01:31 am

If I would do a clean install I would install the PHP package from entropy.ch. It has pretty much everything built in and installation is a snap: http://www.entropy.ch/phpbb2/view...sid=a96908f62deacc8232d36b36438ffcb7

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu