These are the PHP extensions I currently have: php5-gd @5.3.1_3 (active) php5-mbstring @5.3.1_2 (active) php5-mysql @5.3.1_2+mysqlnd (active)
Does anyone one know if others are required for Wordpress. What are the standard extentions normally needed? On Fri, Jan 15, 2010 at 5:41 PM, Jasper Frumau <[email protected]>wrote: > Like mentioned in the last thread I got Drupal running on my MAMP (Mac Book > Pro) built on MacPorts Apache, MySQL5 and PHP 5.3.1 . I got Wordpress > running as well but when I tried to install a theme I got: > > *Warning*: Invalid argument supplied for foreach() in * > /opt/local/apache2/htdocs/wordpress/wp-content/themes/chapter26/index.php*on > line > *5* > > *Parse error*: syntax error, unexpected $end in * > /opt/local/apache2/htdocs/wordpress/wp-content/themes/chapter26/header.php > * on line *154 > > *In the theme preview and* > > *a crashed Wordpress with a bunch of code and these warnings:* > * > *Warning*: session_start() > [function.session-start<http://localhost/wordpress/wp-admin/function.session-start>]: > Cannot send session cache limiter - headers already sent (output started at > /opt/local/apache2/htdocs/wordpress/wp-content/themes/chapter26/admin/admin-options.php:293) > in * > /opt/local/apache2/htdocs/wordpress/wp-content/themes/chapter26/functions.php > * on line *145* > > *Warning*: Cannot modify header information - headers already sent by > (output started at > /opt/local/apache2/htdocs/wordpress/wp-content/themes/chapter26/admin/admin-options.php:293) > in */opt/local/apache2/htdocs/wordpress/wp-includes/functions.php* on line > *790* > > *Warning*: Cannot modify header information - headers already sent by > (output started at > /opt/local/apache2/htdocs/wordpress/wp-content/themes/chapter26/admin/admin-options.php:293) > in */opt/local/apache2/htdocs/wordpress/wp-includes/functions.php* on line > *791* > > after activating the theme. > > I wonder if I forgot to install certain PHP extensions or there needs to be > done something in httpd.conf. Anybody? >
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
