<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>DIYMacServer &#187; Tag: PHP - Recent Posts</title>
<link>http://diymacserver.com/forum/</link>
<description>DIYMacServer &#187; Tag: PHP - Recent Posts</description>
<language>en</language>
<pubDate>Tue, 07 Feb 2012 07:10:13 +0000</pubDate>

<item>
<title>zelda on "PHP with iconv?"</title>
<link>http://diymacserver.com/forum/topic/php-with-iconv#post-2519</link>
<pubDate>Sun, 11 Dec 2011 14:34:48 +0000</pubDate>
<dc:creator>zelda</dc:creator>
<guid isPermaLink="false">2519@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Happy to report: after downloading latest version of PHP(5.3.8) and using the following configure below with iconv enabled; it successfully compiled, installed, and worked! Thanks for this website and all the great documentation.&#60;/p&#62;
&#60;p&#62;export MACOSX_DEPLOYMENT_TARGET=10.6 \&#60;br /&#62;
CFLAGS=&#34;-arch x86_64&#34; \&#60;br /&#62;
CXXFLAGS=&#34;-arch x86_64&#34;&#60;br /&#62;
./configure --prefix=/usr/local/php5 \&#60;br /&#62;
--mandir=/usr/share/man \&#60;br /&#62;
--infodir=/usr/share/info \&#60;br /&#62;
--sysconfdir=/etc \&#60;br /&#62;
--with-config-file-path=/etc \&#60;br /&#62;
--with-zlib \&#60;br /&#62;
--with-zlib-dir=/usr \&#60;br /&#62;
--with-openssl \&#60;br /&#62;
--with-iconv \&#60;br /&#62;
--enable-exif \&#60;br /&#62;
--enable-ftp \&#60;br /&#62;
--enable-mbstring \&#60;br /&#62;
--enable-mbregex \&#60;br /&#62;
--enable-sockets \&#60;br /&#62;
--with-mysql=mysqlnd \&#60;br /&#62;
--with-pdo-mysql=mysqlnd \&#60;br /&#62;
--with-mysqli=mysqlnd \&#60;br /&#62;
--with-apxs2=/usr/local/apache2/bin/apxs
&#60;/p&#62;</description>
</item>
<item>
<title>zelda on "PHP with iconv?"</title>
<link>http://diymacserver.com/forum/topic/php-with-iconv#post-2518</link>
<pubDate>Fri, 09 Dec 2011 20:44:02 +0000</pubDate>
<dc:creator>zelda</dc:creator>
<guid isPermaLink="false">2518@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Thanks for the reply: i'll give it whirl this weekend and see what happens !)
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "PHP with iconv?"</title>
<link>http://diymacserver.com/forum/topic/php-with-iconv#post-2516</link>
<pubDate>Fri, 09 Dec 2011 16:58:57 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">2516@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Zelda, I once removed it because it was causing problems with getting it compiled and never found the need to re-include it. &#60;/p&#62;
&#60;p&#62;Adding it is as simple as you indicate, change the without into with and keep your fingers crossed.
&#60;/p&#62;</description>
</item>
<item>
<title>zelda on "PHP with iconv?"</title>
<link>http://diymacserver.com/forum/topic/php-with-iconv#post-2512</link>
<pubDate>Thu, 08 Dec 2011 18:36:25 +0000</pubDate>
<dc:creator>zelda</dc:creator>
<guid isPermaLink="false">2512@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I used your great documentation to get a localhost server running on my iMac but i've run into a problem: i configured PHP pretty much the way you wrote in the documentation and recently noticed you had it compile without iconv and now i'm trying to use a piece of the Zend framework (Lucene search) that calls iconv functions and of course it fails with &#34;Fatal error: Call to undefined function iconv()&#34;&#60;/p&#62;
&#60;p&#62;Was there a reason you compiled PHP without iconv: like it does not work on osx, or something else?&#60;/p&#62;
&#60;p&#62;Any guidance on how to re-compile PHP with iconv: is it as simple as changing the line from without iconv to with iconv?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>lholcombe on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-861</link>
<pubDate>Fri, 13 Aug 2010 02:29:34 +0000</pubDate>
<dc:creator>lholcombe</dc:creator>
<guid isPermaLink="false">861@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Well, I may never know exactly what happened.  I finally decided that the only thing to do was clean up and start over - which meant reinstalling Snow Leopard.  After installing MySQL and PostgreSQL, I was able to build php-5.3.3 from source with no troubles, using the patch I found &#60;a href=&#34;http://diymacserver.com/2010/07/23/php-released-5-3-3-has-small-issue/&#34;&#62;here&#60;/a&#62;.  So everything works now.  I guess after all my previous failures with MacPorts and library upgrades, the whole system was fatally broken.  Lesson learned.  Here's my final configure directive:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;code&#62;sudo ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/private/etc --with-apxs2=/usr/sbin/apxs --enable-cli --with-config-file-path=/etc --with-libxml-dir=/usr --with-openssl=/usr --with-kerberos=/usr --with-zlib=/usr --enable-bcmath --with-bz2=/usr --enable-calendar --with-curl=/usr --enable-exif --enable-ftp --with-ldap=/usr --enable-mbstring --enable-mbregex --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql --with-iodbc=/usr --enable-soap --with-pear --with-iconv-dir=/usr --with-xsl=/usr --with-pcre-regex --with-pgsql=/Library/PostgreSQL/8.4/bin&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Thanks for the assistance.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-857</link>
<pubDate>Sat, 07 Aug 2010 13:02:57 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">857@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;What I usually do in cases like this is to go back to the default configuration and step by step add my changes and test every change if it still works. Usually that points to the problem.
&#60;/p&#62;</description>
</item>
<item>
<title>lholcombe on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-856</link>
<pubDate>Fri, 06 Aug 2010 19:58:50 +0000</pubDate>
<dc:creator>lholcombe</dc:creator>
<guid isPermaLink="false">856@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Well, it's not Apache itself.  I just installed 2.2.16 using the Darwin layout, and PHP is still not working.  It must be some setting somewhere, but I can't think of where to look.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-855</link>
<pubDate>Thu, 05 Aug 2010 18:06:29 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">855@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Not that I know of, you are the first to complain.
&#60;/p&#62;</description>
</item>
<item>
<title>lholcombe on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-854</link>
<pubDate>Wed, 04 Aug 2010 08:24:56 +0000</pubDate>
<dc:creator>lholcombe</dc:creator>
<guid isPermaLink="false">854@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Unfortunately, that didn't make any difference.&#60;/p&#62;
&#60;p&#62;Perhaps I should mention that I am using the default version of Apache, not a rebuilt version.  Is there anything specifically wrong with the version included in Snow Leopard?
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-853</link>
<pubDate>Wed, 04 Aug 2010 05:19:17 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">853@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;If this also results in a blank screen there is definitely something wrong with the configuration of Apache. Could you move the AddType statements directly into the httpd.conf just to see if it works. There might be a problem with the ifmodule.
&#60;/p&#62;</description>
</item>
<item>
<title>lholcombe on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-852</link>
<pubDate>Wed, 04 Aug 2010 03:02:46 +0000</pubDate>
<dc:creator>lholcombe</dc:creator>
<guid isPermaLink="false">852@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Okay, I was able to successfully build 5.3.2 today, but I still get a blank screen, in both Safari and Firefox.  If it helps, here's the configure script I used:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;sudo ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/private/etc --with-apxs2=/usr/sbin/apxs --enable-cli --with-config-file-path=/etc --with-libxml-dir=/usr --with-openssl=/usr --with-kerberos=/usr --with-zlib=/usr --enable-bcmath --with-bz2=/usr --enable-calendar --with-curl=/usr --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --enable-gd-native-ttf --with-ldap=/usr --enable-mbstring --enable-mbregex --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iodbc=/usr --enable-shmop --with-snmp=/usr --enable-soap --with-pear --enable-sockets --enable-sysvsem --enable-sysvmsg --enable-sysvshm --with-xmlrpc --with-iconv-dir=/usr --with-xsl=/usr --with-pcre-regex --with-pgsql=/Library/PostgreSQL/8.4/bin&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-851</link>
<pubDate>Tue, 03 Aug 2010 20:17:52 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">851@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Strange, had no problem whatsoever with 5.3.2. Do you have anything like macports or fink installed? Those might interfere...
&#60;/p&#62;</description>
</item>
<item>
<title>lholcombe on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-850</link>
<pubDate>Tue, 03 Aug 2010 07:41:07 +0000</pubDate>
<dc:creator>lholcombe</dc:creator>
<guid isPermaLink="false">850@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I haven't had any success with 5.3.2.  It built with no errors, but then apachectl would refuse to load the module because of a libiconv incompatibility.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-849</link>
<pubDate>Mon, 02 Aug 2010 04:42:39 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">849@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Have you tested this configuration with 5.3.2? I've got 5.3.3 running on a test server without problems. If it loads without a problem then it looks like a config problem.
&#60;/p&#62;</description>
</item>
<item>
<title>lholcombe on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-848</link>
<pubDate>Mon, 02 Aug 2010 00:33:23 +0000</pubDate>
<dc:creator>lholcombe</dc:creator>
<guid isPermaLink="false">848@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;The Add Type lines are in a file called php5.conf, which is included in the httpd.conf.  All the directives in php5.conf are enclosed by IfModule tags.&#60;/p&#62;
&#60;p&#62;apachectl -t -D DUMP_MODULES shows that the module is in fact being loaded into Apache with no problems.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-847</link>
<pubDate>Sun, 01 Aug 2010 14:33:31 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">847@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Blank pages usually means that the PHP is not parsed. Could be many things wrong. Did you compile everything in 32 bits, no warnings or errors in any of the logs, are the AddType lines added ?&#60;/p&#62;
&#60;p&#62;What happens if you re-install 5.3.2, without changing the config, will it work again? Then something went wrong with the compilation, try it again.
&#60;/p&#62;</description>
</item>
<item>
<title>lholcombe on "PHP pages not being served by brand new 5.3.3 source build"</title>
<link>http://diymacserver.com/forum/topic/php-pages-not-being-served-by-brand-new-533-source-build#post-846</link>
<pubDate>Sun, 01 Aug 2010 08:18:17 +0000</pubDate>
<dc:creator>lholcombe</dc:creator>
<guid isPermaLink="false">846@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Thanks to a news item and a patch from this website, I was able to build and install PHP 5.3.3 from source with no troubles.  Unfortunately, it does not seem to be working.  HTML pages from both localhost and my virtual host load fine, but PHP pages do not, including a phpinfo() page.  All I see in both Safari and Firefox is a blank page.  I've checked my error logs, but they are empty.  Everything in the various httpd conf files looks good - again, the virtual host is working just fine.  Previously, when there has been a problem with the PHP module, I got a detailed linker error message when I ran apachectl configtest.  But with this latest build, there are no errors.&#60;/p&#62;
&#60;p&#62;I think I've covered all the basics, but I'm willing to explore any suggestions or solutions.  Thanks in advance for your time.  My primary goal in recompiling PHP is to get PostgreSQL support.&#60;/p&#62;
&#60;p&#62;FYI, I'm running Snow Leopard on a 32-bit processor, if that changes anything.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Compile Apache+MySQL+php on Snow Leopard"</title>
<link>http://diymacserver.com/forum/topic/compile-apachemysqlphp-on-snow-leopard#post-719</link>
<pubDate>Mon, 28 Sep 2009 05:51:46 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">719@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;No problem, why are you using apache 2.2.4? It's not even the default installed version on Snow Leopard (2.2.11). &#60;/p&#62;
&#60;p&#62;The instructions are meant as a complete set and I'm assuming everyone is using the latest version. Checking all components with all possible older versions is not something I'm even considering ;-)&#60;/p&#62;
&#60;p&#62;Consider this a closed ticket....
&#60;/p&#62;</description>
</item>
<item>
<title>zerustech on "Compile Apache+MySQL+php on Snow Leopard"</title>
<link>http://diymacserver.com/forum/topic/compile-apachemysqlphp-on-snow-leopard#post-718</link>
<pubDate>Sun, 27 Sep 2009 14:02:46 +0000</pubDate>
<dc:creator>zerustech</dc:creator>
<guid isPermaLink="false">718@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi Richard,&#60;/p&#62;
&#60;p&#62;I think the problem is: looks like it's only possible to compile php with apache 2.2.13 on snow leopard. I tried to compile php with apache 2.2.4 and 2.0.55, but the &#34;apxs&#34; didn't work.&#60;/p&#62;
&#60;p&#62;So can you please update your instruction and close this ticket? &#60;/p&#62;
&#60;p&#62;Kind regards
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Compile Apache+MySQL+php on Snow Leopard"</title>
<link>http://diymacserver.com/forum/topic/compile-apachemysqlphp-on-snow-leopard#post-717</link>
<pubDate>Sun, 27 Sep 2009 06:49:59 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">717@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi, I don't know why you think the instructions here don't work. They do, there is a whole separate section that describes compiling on Snow Leopard: &#60;a href=&#34;http://diymacserver.com/installing-everything-on-snow-leopard/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/installing-everything-on-snow-leopard/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Maybe you didn't look at the correct place?
&#60;/p&#62;</description>
</item>
<item>
<title>zerustech on "Compile Apache+MySQL+php on Snow Leopard"</title>
<link>http://diymacserver.com/forum/topic/compile-apachemysqlphp-on-snow-leopard#post-716</link>
<pubDate>Sun, 27 Sep 2009 06:40:01 +0000</pubDate>
<dc:creator>zerustech</dc:creator>
<guid isPermaLink="false">716@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi Guys,&#60;/p&#62;
&#60;p&#62;I was trying to compile Apache+MySQL+PHP on Snow Leopard according to the instructions on this website, but unfortunately none of them worked. &#60;/p&#62;
&#60;p&#62;I tried different solutions and finally succeeded. So I'm just posting the instructions here and hopefully it will be helpful to you.&#60;/p&#62;
&#60;p&#62;1. First of all, you should download apache 2.2.13 (the apxs in its previous releases does not work)&#60;/p&#62;
&#60;p&#62;2. Install xcode from Snow Leopard installation DVD (I guess you have already installed)&#60;/p&#62;
&#60;p&#62;3. Install MacPorts and the following port libs:&#60;br /&#62;
- zlib&#60;br /&#62;
- curl&#60;br /&#62;
- xsl&#60;br /&#62;
- gd&#60;br /&#62;
- openjpeg&#60;br /&#62;
- libpng&#60;br /&#62;
- freetype&#60;br /&#62;
- xpm&#60;br /&#62;
- exif&#60;br /&#62;
- libiconv&#60;/p&#62;
&#60;p&#62;4. Compile MySQL (5.1.39) as follows:&#60;/p&#62;
&#60;p&#62;#!/bin/sh&#60;br /&#62;
MYSQLVERSION=&#34;5.1.39&#34;&#60;br /&#62;
MYSQLDIR=&#34;/opt/mysql/$MYSQLVERSION&#34;&#60;br /&#62;
make distclean&#60;br /&#62;
./configure \&#60;br /&#62;
--prefix=$MYSQLDIR \&#60;br /&#62;
--with-server-suffix=--standard \&#60;br /&#62;
--enable-thread-safe-client \&#60;br /&#62;
--enable-local-infile \&#60;br /&#62;
--enable-shared \&#60;br /&#62;
--with-zlib-dir=bundled \&#60;br /&#62;
--with-big-tables \&#60;br /&#62;
--with-readline \&#60;br /&#62;
--with-plugins=all \&#60;br /&#62;
--with-mysqld-user=mysql \&#60;br /&#62;
--with-extra-charsets=all \&#60;br /&#62;
--with-unix-socket-path=$MYSQLDIR/var/mysql.sock \&#60;br /&#62;
--without-docs&#60;br /&#62;
make&#60;br /&#62;
make install&#60;/p&#62;
&#60;p&#62;5. Compile Apache (2.2.13) as follows:&#60;br /&#62;
#!/bin/sh&#60;br /&#62;
APACHEVERSION=&#34;2.2.13&#34;&#60;br /&#62;
APACHEDIR=&#34;/opt/apache/$APACHEVERSION&#34;&#60;br /&#62;
make distclean&#60;br /&#62;
./configure -prefix=$APACHEDIR \&#60;br /&#62;
 -enable-mods-shared=all \&#60;br /&#62;
 -with-ssl \&#60;br /&#62;
 -with-mpm=prefork \&#60;br /&#62;
 -disable-unique-id \&#60;br /&#62;
 -enable-ssl \&#60;br /&#62;
 -enable-dav \&#60;br /&#62;
 -enable-cache \&#60;br /&#62;
 -enable-proxy \&#60;br /&#62;
 -enable-logio \&#60;br /&#62;
 -enable-deflate \&#60;br /&#62;
 -with-included-apr \&#60;br /&#62;
 -enable-cgi \&#60;br /&#62;
 -enable-cgid \&#60;br /&#62;
 -enable-suexec&#60;/p&#62;
&#60;p&#62;6. Compile PHP (4.4.9 or 5.3.0) as follows:&#60;br /&#62;
#!/bin/sh&#60;br /&#62;
PHPVERSION=4.4.9&#60;br /&#62;
MYSQLVERSION=5.1.39&#60;br /&#62;
APACHEVERSION=2.2.13&#60;br /&#62;
BUILDTAG=$PHPVERSION.mysql.$MYSQLVERSION&#60;br /&#62;
PHPDIR=/opt/php/$BUILDTAG&#60;br /&#62;
MYSQLDIR=/opt/mysql/$MYSQLVERSION&#60;br /&#62;
make distclean&#60;br /&#62;
./configure \&#60;br /&#62;
--prefix=$PHPDIR \&#60;br /&#62;
--with-apxs2=/opt/apache/$APACHEVERSION/bin/apxs \&#60;br /&#62;
--with-config-file-path=$PHPDIR/etc \&#60;br /&#62;
--with-mysql=$MYSQLDIR \&#60;br /&#62;
--with-mysqli=$MYSQLDIR/bin/mysql_config \&#60;br /&#62;
--with-pdo-mysql=$MYSQLDIR \&#60;br /&#62;
--with-zlib=/opt/local \&#60;br /&#62;
--with-curl=/opt/local \&#60;br /&#62;
--with-mcrypt=/opt/local \&#60;br /&#62;
--with-xsl=/opt/local \&#60;br /&#62;
--with-gd=/opt/local \&#60;br /&#62;
--with-jpeg-dir=/opt/local \&#60;br /&#62;
--with-png-dir=/opt/local \&#60;br /&#62;
--with-zlib-dir=/opt/local \&#60;br /&#62;
--with-xpm-dir=/opt/local \&#60;br /&#62;
--with-freetype-dir=/opt/local \&#60;br /&#62;
--with-iconv=/opt/local \&#60;br /&#62;
--enable-mbstring \&#60;br /&#62;
--enable-exif \&#60;br /&#62;
--enable-cli \&#60;br /&#62;
--enable-pcntl \&#60;br /&#62;
--enable-sockets \&#60;br /&#62;
--enable-ftp \&#60;br /&#62;
--enable-soap&#60;br /&#62;
export EXTRA_CFLAGS=&#34;-lresolv&#34;&#60;br /&#62;
make&#60;br /&#62;
make install
&#60;/p&#62;</description>
</item>
<item>
<title>loizos on "Warning: date() [function.date] error with php"</title>
<link>http://diymacserver.com/forum/topic/warning-date-functiondate-error-with-php#post-697</link>
<pubDate>Fri, 28 Aug 2009 15:17:58 +0000</pubDate>
<dc:creator>loizos</dc:creator>
<guid isPermaLink="false">697@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;thanks Dan it works on me. i use opensuse and on the /etc/php5/apache2/php.ini on [Date] part date.timezine i enter Europe/Sofia with out &#34;&#34; and it works.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Warning: date() [function.date] error with php"</title>
<link>http://diymacserver.com/forum/topic/warning-date-functiondate-error-with-php#post-689</link>
<pubDate>Sun, 02 Aug 2009 17:28:40 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">689@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Yes, create a test page with just displaying the phpinfo() output. Find out what the configured location should be of your php.ini&#60;/p&#62;
&#60;p&#62;It might be in &#60;code&#62;/usr/local/php5/lib/&#60;/code&#62; instead of &#60;code&#62;/etc&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>LarryL on "Warning: date() [function.date] error with php"</title>
<link>http://diymacserver.com/forum/topic/warning-date-functiondate-error-with-php#post-688</link>
<pubDate>Sat, 01 Aug 2009 21:53:12 +0000</pubDate>
<dc:creator>LarryL</dc:creator>
<guid isPermaLink="false">688@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I'm getting the same errors and put a &#60;code&#62;date.timezone = &#38;quot;America/Chicago&#38;quot;&#60;/code&#62; directive in /etc/php.ini, but I'm still getting the errors after a complete restart:&#60;/p&#62;
&#60;p&#62;[Sat Aug 01 16:33:09 2009] [notice] Apache/2.2.12 (Unix) DAV/2 PHP/5.3.0 configured -- resuming normal operations&#60;br /&#62;
[Sat Aug 01 16:34:25 2009] [error] [client ::1] PHP Warning:  set_magic_quotes_runtime() [&#60;a href='function.set-magic-quotes-runtime'&#62;function.set-magic-quotes-runtime&#60;/a&#62;]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /Library/WebServer/Documents/roundcubemail-0.2.2/program/include/iniset.php on line 62&#60;/p&#62;
&#60;p&#62;Got any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>Dan on "Warning: date() [function.date] error with php"</title>
<link>http://diymacserver.com/forum/topic/warning-date-functiondate-error-with-php#post-684</link>
<pubDate>Wed, 22 Jul 2009 10:58:43 +0000</pubDate>
<dc:creator>Dan</dc:creator>
<guid isPermaLink="false">684@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Yes this works. But if you are using software like Wordpress and do not want to re-edit files every update, or worry about where to place the above funciton you can edit your own php.ini file.&#60;/p&#62;
&#60;p&#62;Place a line like:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;date.timezone = &#38;quot;America/Anchorage&#38;quot;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You can find valid time zone strings at &#60;a href=&#34;http://nl3.php.net/manual/en/timezones.php&#34; rel=&#34;nofollow&#34;&#62;http://nl3.php.net/manual/en/timezones.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks for the help!
&#60;/p&#62;</description>
</item>

</channel>
</rss>

