Forums / Install & configuration / Installing 4.1.1 on OS X - issue with iconv

Installing 4.1.1 on OS X - issue with iconv

Author Message

Jani Tarvainen

Sunday 10 May 2009 1:08:04 pm

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 :)

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

--
http://ezpublish.fi/

Ɓukasz Serwatka

Monday 11 May 2009 12: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

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Jani Tarvainen

Thursday 14 May 2009 9:01:31 pm

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/viewtopic.php?t=3937&sid=a96908f62deacc8232d36b36438ffcb7

--
http://ezpublish.fi/

eZ debug

Timing: Jan 18 2025 02:51:02
Script start
Timing: Jan 18 2025 02:51:02
Module start 'content'
Timing: Jan 18 2025 02:51:02
Module end 'content'
Timing: Jan 18 2025 02:51:02
Script end

Main resources:

Total runtime0.1526 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.8672180.8047
Module start 'content' 0.00580.0056 768.671993.9609
Module end 'content' 0.01140.1412 862.6328523.1250
Script end 0.1526  1,385.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.5568200.0002
Check MTime0.00161.0463200.0001
Mysql Total
Database connection0.00080.533810.0008
Mysqli_queries0.108671.17381410.0008
Looping result0.00140.90311390.0000
Template Total0.140892.210.1408
Template load0.00100.625710.0010
Template processing0.139891.605610.1398
Override
Cache load0.00070.460010.0007
Sytem overhead
Fetch class attribute can translate value0.00100.664310.0010
XML
Image XML parsing0.00030.172310.0003
General
dbfile0.00171.1125200.0001
String conversion0.00000.003330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs