<?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: Error - Recent Posts</title>
<link>http://diymacserver.com/forum/</link>
<description>DIYMacServer &#187; Tag: Error - Recent Posts</description>
<language>en</language>
<pubDate>Tue, 07 Feb 2012 07:19:41 +0000</pubDate>

<item>
<title>Lindhardsen on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-945</link>
<pubDate>Thu, 07 Apr 2011 21:32:10 +0000</pubDate>
<dc:creator>Lindhardsen</dc:creator>
<guid isPermaLink="false">945@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;That's really great service. I hope you will be able to find a clue somewhere, as I have ran my forehead against the wall one to many time now!
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-944</link>
<pubDate>Thu, 07 Apr 2011 09:15:49 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">944@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I'll see if I can reproduce your problem to be able to determine a solution.
&#60;/p&#62;</description>
</item>
<item>
<title>Lindhardsen on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-943</link>
<pubDate>Tue, 05 Apr 2011 20:25:31 +0000</pubDate>
<dc:creator>Lindhardsen</dc:creator>
<guid isPermaLink="false">943@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;No, Skip-networking is not enabled.&#60;br /&#62;
On the other hand, neither is &#34;port&#34;, could that be a problem? I guess not, at least not related to this...
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-942</link>
<pubDate>Tue, 05 Apr 2011 18:51:41 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">942@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Jan did you enable the skip-networking option in MySQL so it can only use the socket for connectivity?
&#60;/p&#62;</description>
</item>
<item>
<title>Lindhardsen on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-941</link>
<pubDate>Mon, 04 Apr 2011 20:24:17 +0000</pubDate>
<dc:creator>Lindhardsen</dc:creator>
<guid isPermaLink="false">941@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi Richard, thanks for your responses, your help is highly appreciated!&#60;/p&#62;
&#60;p&#62;I'm running an DIY server, the only thing that is not according to your guides, is the MySQL, which I downloaded and installed of the MySQL website back in October, just before I found your excellent website.&#60;br /&#62;
The version is Server version: 5.1.51 MySQL Community Server&#60;br /&#62;
the my.cfn is located in /private/etc/my.cnf and the content is:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[client]
socket = /var/mysql/mysql.sock

[mysqld]
socket = /var/mysql/mysql.sock&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And if I understand you correct, this is the setting that SQLGrey should pick up, just as the rest of the components does correctly. Right?&#60;br /&#62;
If I'm to change the connection setting, where should I do that? In my amateur eyes, this all seems just about right... Maybe I'm looking in the wrong place?
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-940</link>
<pubDate>Mon, 04 Apr 2011 19:36:16 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">940@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;After some googling I found that Perl uses the MYSQL config file to determine the connection or socket settings in the config file.&#60;/p&#62;
&#60;p&#62;Otherwise we need to change the code to make a database connection look like:&#60;br /&#62;
DBI-&#38;gt;connect(&#34;DBI:mysql:host=localhost:mysql_socket=/tmp/mysql.sock;database=business&#34;...
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-939</link>
<pubDate>Mon, 04 Apr 2011 19:21:32 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">939@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Also, I forgot, do you have a MYSQL config file in /etc/ called my.cnf
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-938</link>
<pubDate>Mon, 04 Apr 2011 18:59:50 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">938@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Jan, which version of MySQl have you got installed and are you running a real OSX server or our DIYMacServer?
&#60;/p&#62;</description>
</item>
<item>
<title>Lindhardsen on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-937</link>
<pubDate>Mon, 04 Apr 2011 10:35:47 +0000</pubDate>
<dc:creator>Lindhardsen</dc:creator>
<guid isPermaLink="false">937@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;I have a problem that has been keeping me puzzled since I installed my OSX &#34;Server&#34; in October:&#60;/p&#62;
&#60;p&#62;When I restart my server, postfix cannot connect to Dovecot. This it turns out, is related to that postgrey cannot ponnect to the database.&#60;br /&#62;
For some reason, sqlgrey is trying to connect to the socket (I assume) /tmp/mysql.sock!&#60;/p&#62;
&#60;p&#62;The workaround for this is simple, just create a link from the socket file /private/var/mysql/mysql.sock to /tmp/mysql.sock using:&#60;br /&#62;
&#34;ln /private/var/mysql/mysql.sock /tmp/mysql.sock&#34;.&#60;br /&#62;
The disadvantage of this, is that /tmp is emptied on every restart of the server, so I have to manually run this command after each restart.&#60;/p&#62;
&#60;p&#62;But WHY is this happening? Looking in my sqlgrey.conf, I have the following connection settings:&#60;br /&#62;
db_type = mysql&#60;br /&#62;
db_name = sqlgrey&#60;br /&#62;
# Note: the following are not used with SQLite&#60;br /&#62;
db_host = localhost&#60;br /&#62;
db_port = default&#60;/p&#62;
&#60;p&#62;Which is the same as any other component that uses MySQL on the system, and all other works fine!&#60;br /&#62;
I have tried to change the location of the mysql.sock file, but that basically causes all other components to fail :-(&#60;/p&#62;
&#60;p&#62;Is there a hidden setting in perl (which sqlgrey is built upon), which points to an alternative mysql location?&#60;/p&#62;
&#60;p&#62;Alternatively how can I prevent OSX from deleting the /tmp/mysql.sock link on shutdown?&#60;/p&#62;
&#60;p&#62;What I see in my system.log file is this:&#60;br /&#62;
Apr  4 10:38:52 Minin com.diymacserver.sqlgrey[357]: dbaccess: can't connect to DB: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)&#60;br /&#62;
Apr  4 10:38:52 Minin com.diymacserver.sqlgrey[357]: dbaccess: error: couldn't get now() from DB: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)&#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
Jan
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Error on Apache make"</title>
<link>http://diymacserver.com/forum/topic/error-on-apache-make#post-652</link>
<pubDate>Sat, 11 Apr 2009 19:56:21 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">652@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Could be many things. Can you mail me your config.log (diymacserver at gmail.com) and soem more of the output that cam before the error. Also tell me which version of Mac OS X and if you are on a PPC or intel box.
&#60;/p&#62;</description>
</item>
<item>
<title>jc1782 on "Error on Apache make"</title>
<link>http://diymacserver.com/forum/topic/error-on-apache-make#post-650</link>
<pubDate>Sat, 11 Apr 2009 04:26:58 +0000</pubDate>
<dc:creator>jc1782</dc:creator>
<guid isPermaLink="false">650@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;When I type in make it gives me this error at the end&#60;br /&#62;
make[3]: *** [libapr-1.la] Error 1&#60;br /&#62;
make[2]: *** [all-recursive] Error 1&#60;br /&#62;
make[1]: *** [all-recursive] Error 1&#60;br /&#62;
make: *** [all-recursive] Error 1&#60;/p&#62;
&#60;p&#62;does any one know how to fix this?
&#60;/p&#62;</description>
</item>
<item>
<title>mastertk on "PHP doesn&#039;t install &#039;&#039;addtype&#039;&#039; in httpd.conf"</title>
<link>http://diymacserver.com/forum/topic/php-doesnt-install-addtype-in-httpdconf#post-525</link>
<pubDate>Mon, 11 Aug 2008 10:52:13 +0000</pubDate>
<dc:creator>mastertk</dc:creator>
<guid isPermaLink="false">525@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Ok thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "PHP doesn&#039;t install &#039;&#039;addtype&#039;&#039; in httpd.conf"</title>
<link>http://diymacserver.com/forum/topic/php-doesnt-install-addtype-in-httpdconf#post-524</link>
<pubDate>Sun, 10 Aug 2008 19:31:08 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">524@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Please add them yourself, restart Apache and then everything should work.
&#60;/p&#62;</description>
</item>
<item>
<title>mastertk on "PHP doesn&#039;t install &#039;&#039;addtype&#039;&#039; in httpd.conf"</title>
<link>http://diymacserver.com/forum/topic/php-doesnt-install-addtype-in-httpdconf#post-520</link>
<pubDate>Sun, 10 Aug 2008 08:59:47 +0000</pubDate>
<dc:creator>mastertk</dc:creator>
<guid isPermaLink="false">520@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hello,&#60;br /&#62;
I am new in the webserver installing on mac.&#60;br /&#62;
I have a mac mini (1.83GHZ) and I have installed mysql and apache with success,&#60;br /&#62;
I installed everything within the root account.&#60;br /&#62;
But when i compile php it doesn't add these two lines in httpd.conf&#60;/p&#62;
&#60;p&#62;AddType application/x-httpd-php .php .phtml&#60;br /&#62;
AddType application/x-httpd-php-source .phps&#60;/p&#62;
&#60;p&#62;The strange thing is that this line does get added:&#60;/p&#62;
&#60;p&#62;LoadModule php5_module modules/libphp5.so&#60;/p&#62;
&#60;p&#62;I used PHP 5.2.6&#60;br /&#62;
And Apache 2.2.9&#60;br /&#62;
and mysql: Mac OS X 10.5 (x86)		5.0.67&#60;br /&#62;
With the source file: Compressed GNU TAR archive (tar.gz)		5.0.67&#60;/p&#62;
&#60;p&#62;I hope someone can tell me how to solve this problem.&#60;/p&#62;
&#60;p&#62;KInd Regards, Thomas
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Unrecognized options:"</title>
<link>http://diymacserver.com/forum/topic/unrecognized-options#post-502</link>
<pubDate>Mon, 23 Jun 2008 12:55:12 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">502@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;You are correct, I've received these warnings as well. It's nothing to worry about, the configure options have changed a bit and those options are now obsolete. It will compile without any problem. I will remove them from the documentation set.
&#60;/p&#62;</description>
</item>
<item>
<title>wkanoff on "Unrecognized options:"</title>
<link>http://diymacserver.com/forum/topic/unrecognized-options#post-501</link>
<pubDate>Fri, 20 Jun 2008 06:15:30 +0000</pubDate>
<dc:creator>wkanoff</dc:creator>
<guid isPermaLink="false">501@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I tried to compile Apache 2.2.9 on a Quicksilver 800 with OS X 10.4.11 and I received the following:&#60;br /&#62;
williams-place:~/Desktop/httpd-2.2.9 wKanoff$ CFLAGS=&#34;-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wno-pointer-sign&#34; \&#60;br /&#62;
&#38;gt; ./configure \&#60;br /&#62;
&#38;gt; --enable-layout=William \&#60;br /&#62;
&#38;gt; --enable-mods-shared=all \&#60;br /&#62;
&#38;gt; --with-ssl=/usr \&#60;br /&#62;
&#38;gt; --with-mpm=prefork \&#60;br /&#62;
&#38;gt; --enable-ssl \&#60;br /&#62;
&#38;gt; --enable-dav \&#60;br /&#62;
&#38;gt; --enable-cache \&#60;br /&#62;
&#38;gt; --enable-proxy \&#60;br /&#62;
&#38;gt; --enable-shared \&#60;br /&#62;
&#38;gt; --disable-static \&#60;br /&#62;
&#38;gt; --disable-unique-id \&#60;br /&#62;
&#38;gt; --disable-ipv6 \&#60;br /&#62;
&#38;gt; --enable-logio \&#60;br /&#62;
&#38;gt; --enable-deflate \&#60;br /&#62;
&#38;gt; --with-ldap \&#60;br /&#62;
&#38;gt; --with-ldap-include=/usr/include \&#60;br /&#62;
&#38;gt; --with-ldap-lib=/usr/lib \&#60;br /&#62;
&#38;gt; --with-included-apr \&#60;br /&#62;
&#38;gt; --enable-ldap \&#60;br /&#62;
&#38;gt; --enable-auth-ldap \&#60;br /&#62;
&#38;gt; --enable-cgi \&#60;br /&#62;
&#38;gt; --enable-cgid \&#60;br /&#62;
&#38;gt; --enable-suexec&#60;br /&#62;
configure: WARNING: Unrecognized options: --enable-shared, --disable-static, --disable-ipv6, --with-ldap, --with-ldap-include, --with-ldap-lib, --enable-auth-ldap
&#60;/p&#62;</description>
</item>
<item>
<title>Whisller on "Install newest PHP ( 5.2.6 ) on Leopard - with &#34;Leopard&#34; Apache installation."</title>
<link>http://diymacserver.com/forum/topic/install-newest-php-526-on-leopard-with-leopard-apache-installation#post-498</link>
<pubDate>Sun, 15 Jun 2008 22:16:37 +0000</pubDate>
<dc:creator>Whisller</dc:creator>
<guid isPermaLink="false">498@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;SOLUTION:&#60;br /&#62;
1. First I downloaded latest snapshot version of PHP 5.3 ( tomorrow I will check how it works with 5.2.6 stable )&#60;br /&#62;
2. Before ./configure add &#34;CFLAGS=&#34;-arch x86_64&#34; \&#34;&#60;br /&#62;
3. And it is all :) On my localhost it works good&#60;/p&#62;
&#60;p&#62;So now my whole ./configure file looks that&#60;br /&#62;
CFLAGS=&#34;-arch x86_64&#34; \&#60;br /&#62;
./configure \&#60;br /&#62;
--prefix=/usr \&#60;br /&#62;
--mandir=/usr/share/man \&#60;br /&#62;
--infodir=/usr/share/info \&#60;br /&#62;
--with-apxs2=/usr/sbin/apxs \&#60;br /&#62;
--with-config-file-path=/etc \&#60;br /&#62;
--with-ldap=/usr \&#60;br /&#62;
--with-kerberos=/usr \&#60;br /&#62;
--sysconfdir=/private/etc \&#60;br /&#62;
--enable-cli \&#60;br /&#62;
--with-zlib-dir=/usr \&#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;
--enable-zip \&#60;br /&#62;
--enable-soap \&#60;br /&#62;
--enable-bcmath \&#60;br /&#62;
--with-iodbc=/usr \&#60;br /&#62;
--with-curl=/usr \&#60;br /&#62;
--with-xmlrpc \&#60;br /&#62;
--with-xsl=/usr \&#60;br /&#62;
--without-sqlite \&#60;br /&#62;
--without-pear \&#60;br /&#62;
--disable-short-tags&#60;/p&#62;
&#60;p&#62;Is without &#34;--with-pgsql&#34;, because here also was a problem with architecture.&#60;br /&#62;
Tomorrow , ohh it is 12:15 am ... so today I will try to re-compile PostgreSQL to 64-bit architecture.
&#60;/p&#62;</description>
</item>
<item>
<title>Whisller on "Install newest PHP ( 5.2.6 ) on Leopard - with &#34;Leopard&#34; Apache installation."</title>
<link>http://diymacserver.com/forum/topic/install-newest-php-526-on-leopard-with-leopard-apache-installation#post-497</link>
<pubDate>Sun, 15 Jun 2008 19:40:05 +0000</pubDate>
<dc:creator>Whisller</dc:creator>
<guid isPermaLink="false">497@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I compiled postgresql using this article &#60;a href=&#34;http://blog.whisnet.pl/wp-content/uploads/2008/06/pg_install.pdf&#34; rel=&#34;nofollow&#34;&#62;http://blog.whisnet.pl/wp-content/uploads/2008/06/pg_install.pdf&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;How I installed it earlier? I just install another instance of apache :) Using your article. But I crashed something so I decide to reinstall it using Leopard Apache.&#60;/p&#62;
&#60;p&#62;But as I said Leopard Apache is in 64-bit - only this information I found about this problem.&#60;/p&#62;
&#60;p&#62;I will try to compile it without curl etc. And if it will not work, I can only re-compile apache :(&#60;/p&#62;
&#60;p&#62;Ok i will try and write progress :)
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Install newest PHP ( 5.2.6 ) on Leopard - with &#34;Leopard&#34; Apache installation."</title>
<link>http://diymacserver.com/forum/topic/install-newest-php-526-on-leopard-with-leopard-apache-installation#post-496</link>
<pubDate>Sun, 15 Jun 2008 19:31:32 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">496@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;There is no problem with 64 bit or other architecture if you compile it accirding to my earlier setup. How did you compile postgresql ?&#60;/p&#62;
&#60;p&#62;What you could do is start with a minimum set of extra stuff compiled in and add more and more options to see where it might go wrong. &#60;/p&#62;
&#60;p&#62;So first no SSL, postgresql, curl, calender, bcmath, etc and try to get that to work. Then add one component at a time. &#60;/p&#62;
&#60;p&#62;Good luck and please post your working ./configure for other people.
&#60;/p&#62;</description>
</item>
<item>
<title>Whisller on "Install newest PHP ( 5.2.6 ) on Leopard - with &#34;Leopard&#34; Apache installation."</title>
<link>http://diymacserver.com/forum/topic/install-newest-php-526-on-leopard-with-leopard-apache-installation#post-495</link>
<pubDate>Sun, 15 Jun 2008 19:09:06 +0000</pubDate>
<dc:creator>Whisller</dc:creator>
<guid isPermaLink="false">495@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Yes, I have read it.&#60;/p&#62;
&#60;p&#62;My ./configure command:&#60;/p&#62;
&#60;p&#62;./configure \&#60;br /&#62;
--prefix=/usr \&#60;br /&#62;
--mandir=/usr/share/man \&#60;br /&#62;
--infodir=/usr/share/info \&#60;br /&#62;
--with-apxs2=/usr/sbin/apxs \&#60;br /&#62;
--with-config-file-path=/etc \&#60;br /&#62;
--with-ldap=/usr \&#60;br /&#62;
--with-kerberos=/usr \&#60;br /&#62;
--sysconfdir=/private/etc \&#60;br /&#62;
--enable-cli \&#60;br /&#62;
--with-zlib-dir=/usr \&#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;
--enable-zip \&#60;br /&#62;
--enable-soap \&#60;br /&#62;
--enable-bcmath \&#60;br /&#62;
--enable-calendar \&#60;br /&#62;
--with-iodbc=/usr \&#60;br /&#62;
--with-curl=/usr \&#60;br /&#62;
--with-openssl \&#60;br /&#62;
--with-xmlrpc \&#60;br /&#62;
--with-xsl=/usr \&#60;br /&#62;
--with-pgsql=/usr/local/pgsql \&#60;br /&#62;
--with-pdo-pgsql=/usr/local/pgsql \&#60;br /&#62;
--without-sqlite \&#60;br /&#62;
--without-pear \&#60;br /&#62;
--disable-short-tags&#60;/p&#62;
&#60;p&#62;And using it with Leopard apache I got error about incorrect architecture :/&#60;/p&#62;
&#60;p&#62;EDIT:&#60;br /&#62;
Maybe only one solution is recompile apache using other architecture :/
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Install newest PHP ( 5.2.6 ) on Leopard - with &#34;Leopard&#34; Apache installation."</title>
<link>http://diymacserver.com/forum/topic/install-newest-php-526-on-leopard-with-leopard-apache-installation#post-494</link>
<pubDate>Sun, 15 Jun 2008 19:03:36 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">494@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi, have you read: &#60;a href=&#34;http://diymacserver.com/installing-php/installing-php-on-leopard-using-the-default-apache-installation/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/installing-php/installing-php-on-leopard-using-the-default-apache-installation/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That is if you are using the default Apache install, which isn't quit clear to me.&#60;/p&#62;
&#60;p&#62;Can you please post your ./configure command ?
&#60;/p&#62;</description>
</item>
<item>
<title>Whisller on "Install newest PHP ( 5.2.6 ) on Leopard - with &#34;Leopard&#34; Apache installation."</title>
<link>http://diymacserver.com/forum/topic/install-newest-php-526-on-leopard-with-leopard-apache-installation#post-493</link>
<pubDate>Sun, 15 Jun 2008 17:36:27 +0000</pubDate>
<dc:creator>Whisller</dc:creator>
<guid isPermaLink="false">493@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I have a fresh version of Leopard - just reinstalled. And I'm tried to install PHP ( I must recompile it because I must add support for PostgreSQL ).&#60;br /&#62;
So I tried install it on apache which is installed default by Leopard ( configuration is good etc. so why don't use it :) ), but it was first mistake ;p&#60;br /&#62;
After sudo make install and trying to restart apache it return an critical error.&#60;/p&#62;
&#60;p&#62;httpd: Syntax error on line 114 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so: mach-o, but wrong architecture&#60;/p&#62;
&#60;p&#62;Huh and what now, I say to myself. But google show me the small information. And I found that Apache from Leopard is on 64-bit architecture.&#60;br /&#62;
I checked it by httpd -V, and it is true&#60;/p&#62;
&#60;p&#62;Server version: Apache/2.2.6 (Unix)&#60;br /&#62;
Architecture:   64-bit&#60;/p&#62;
&#60;p&#62;So I tried to use CFLAGS='-arch x86_64' before ./configure, but after It I cannot do make because it crash all the time :/&#60;br /&#62;
I try to remove all PHP files.&#60;/p&#62;
&#60;p&#62;Maybe you also saw this error?&#60;br /&#62;
I will be glad if someone will help me.
&#60;/p&#62;</description>
</item>
<item>
<title>yudixue on "Error on Apache make"</title>
<link>http://diymacserver.com/forum/topic/error-on-apache-make#post-452</link>
<pubDate>Thu, 20 Mar 2008 06:02:18 +0000</pubDate>
<dc:creator>yudixue</dc:creator>
<guid isPermaLink="false">452@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;The openssl in macport management has been annoying and it's the same version with the openssl that comes with Leopard. The only reason I have it&#60;br /&#62;
is that macport needed it to build an outdated wget. I've uninstalled both of them and build the latest wget to /usr/local, so the 'which openssl' returns the original&#60;br /&#62;
'/usr/bin/openssl'&#60;/p&#62;
&#60;p&#62;I have modified the --with-ssl part to '--with-ssl=/usr/include/openssl \' , and the make part is successful. Before I start sudo make install and work on the buggy SSL,&#60;br /&#62;
I want to thank you for your help.&#60;/p&#62;
&#60;p&#62;Besides, I have emailed the new config.log to your email just in case.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Error on Apache make"</title>
<link>http://diymacserver.com/forum/topic/error-on-apache-make#post-451</link>
<pubDate>Wed, 19 Mar 2008 20:47:19 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">451@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Thanks for mailing. There is an issue with Leopard and Apache 2.2.8, more about that here: &#60;a href=&#34;http://diymacserver.com/2008/02/18/update-on-apache-228-and-mod_ssl/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/2008/02/18/update-on-apache-228-and-mod_ssl/&#60;/a&#62; and the bug: &#60;a href=&#34;https://issues.apache.org/bugzilla/show_bug.cgi?id=44384&#34; rel=&#34;nofollow&#34;&#62;https://issues.apache.org/bugzilla/show_bug.cgi?id=44384&#60;/a&#62;. In short it has to do with the libtool.&#60;/p&#62;
&#60;p&#62;The config.log you send is trying to reference the include files in the /usr directory and finds the default installation. If you change the location of the openssl stuff in the ./configure statement you might be able to solve the issue.&#60;/p&#62;
&#60;p&#62;Let me know how you get on.
&#60;/p&#62;</description>
</item>
<item>
<title>yudixue on "Error on Apache make"</title>
<link>http://diymacserver.com/forum/topic/error-on-apache-make#post-450</link>
<pubDate>Tue, 18 Mar 2008 21:19:36 +0000</pubDate>
<dc:creator>yudixue</dc:creator>
<guid isPermaLink="false">450@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;the config.log has been sent to your email, thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>

