473,378 Members | 1,138 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

GD 2 on Mac OS X Server 10.4?

Hi all,

I'm in the process of setting up a PowerMac G4 Dual 1.25 as an
Expression Engine (http://www.pmachine.com) development server.

All is going well, except GD/GD 2 support. OS X Server does not come
with GD 2 support out of the box. So I did some digging around, and
found others with the same problem.

The common advice from almost everybody, has been to run Marc Linyage's
PHP 5 installer from http://www.entropy.ch/software/macosx/php/
This however, resulted in Apache not working, so I had to uninstall it
again, and restore the httpd.conf file from backup.

I then turned to Fink, at http://fink.sourceforge.net/

Fink downloaded and installed GD 2 plus all of the GD libraries fine,
but now I have no idea how to tell PHP and/or Apache, that the GD 2
libraries are installed.

Can anyone help me do that?

If anyone needs to see the PHP configuration of my server - the result
you get when you run this code:
[code]
phpinfo();
[code]
Please mail me, and I'll send you the link.

Tboelskifte AT mac DOT com

Links:
My test server is located at:
http://www.thefastlane.dk/

The Expression Engine server-test-wizard's result can be seen at:
http://www.thefastlane.dk/wizard.php
Thanks in advance,
Thomas
Jul 3 '06 #1
4 4424
Thomas Boelskifte wrote:
Hi all,

I'm in the process of setting up a PowerMac G4 Dual 1.25 as an
Expression Engine (http://www.pmachine.com) development server.

All is going well, except GD/GD 2 support. OS X Server does not come
with GD 2 support out of the box. So I did some digging around, and
found others with the same problem.

The common advice from almost everybody, has been to run Marc Linyage's
PHP 5 installer from http://www.entropy.ch/software/macosx/php/
This however, resulted in Apache not working, so I had to uninstall it
again, and restore the httpd.conf file from backup.

I then turned to Fink, at http://fink.sourceforge.net/

Fink downloaded and installed GD 2 plus all of the GD libraries fine,
but now I have no idea how to tell PHP and/or Apache, that the GD 2
libraries are installed.

Can anyone help me do that?
Apache couldn't care less about GD/GD2 but PHP needs to be *compiled* to
include support for it. In other words, if Marc's package doesn't float
your boat, then you'll need to download the PHP4/5 source and install
from that. I seriously think there wasn't something awry with your last
install attempt of Marc's package - it Just Works(tm) normally.

I'm running PHP 5.1.4 with GD2 support etc from Marc Linyage on OSX
10.4.7 on a MacMini (Intel CoreDuo) without any problems.

HTH a little,

James
Jul 3 '06 #2
Centurion <sp*******@nowhere.tldwrote:
Apache couldn't care less about GD/GD2 but PHP needs to be *compiled* to
include support for it. In other words, if Marc's package doesn't float
your boat, then you'll need to download the PHP4/5 source and install
from that. I seriously think there wasn't something awry with your last
install attempt of Marc's package - it Just Works(tm) normally.

I'm running PHP 5.1.4 with GD2 support etc from Marc Linyage on OSX
10.4.7 on a MacMini (Intel CoreDuo) without any problems.

HTH a little,
Thanks James, I tried installing again, but the installer says the
installation didn'r complete because of "errors", whatever they are :)

After the failed installation, Apache won't start or work, and I have to
restore the httpd.conf file, witch the Entropy installer does make a
backup off.

I did install the GD 2 and all libraries via Fink, is that as good as
downloading and installing from source?

And if so, how do I tell PHP that it's installed and where it's located?
Some conf file of sorts, php.ini perhaps?

Maybe you could post the relevant parts, of whatever cinfig file I need
to edit, fron your file?

Regards,
Thomas
Jul 3 '06 #3

Thomas Boelskifte wrote:
Thanks James, I tried installing again, but the installer says the
installation didn'r complete because of "errors", whatever they are :)

After the failed installation, Apache won't start or work, and I have to
restore the httpd.conf file, witch the Entropy installer does make a
backup off.

I did install the GD 2 and all libraries via Fink, is that as good as
downloading and installing from source?

And if so, how do I tell PHP that it's installed and where it's located?
Some conf file of sorts, php.ini perhaps?

Maybe you could post the relevant parts, of whatever cinfig file I need
to edit, fron your file?

Regards,
Thomas
Many are having the same problem. Here is my problem, I went and
downloaded the Apache2 version of PHP5, installed the package fine, but
when I did, the webserver wouldn't load. Others are getting the same
problem as I noticed in the entropy's forums. Nobody has helped with
them either. One person mentioned getting it working by comparing the
two versions of the php.ini files. But he didn't mentioned his steps or
the lines. For me to get my system working again, I had to comment out
the PHP5 lines in the httpd.conf file.

With installing from fink, you will need to recompile PHP/Apache.
Apple's developer site has specific info on including GD, but is a long
pain in the ass. Honestly, I have no clue why Apple can't get their
heads out of their asses and include the GD module. It is one of the
most requested pieces for the webserver and no simple solution. Sorry
for the griping, but I am at my wits end on this myself. I have posted
in Apple's forums (and searched), entropy's site, and everything. It
should just work (that is how Apple has everything (mostly)).

When my new Dell server comes in, I will be working on that and seeing
if I have any problems configuring Linux with user authentication with
LDAP users for email. If not, I will drop the Xserve config for the
webserver as I want one box to do both.

Corey

Jul 10 '06 #4

Thomas Boelskifte wrote:
Hi all,

I'm in the process of setting up a PowerMac G4 Dual 1.25 as an
Expression Engine (http://www.pmachine.com) development server.

All is going well, except GD/GD 2 support. OS X Server does not come
with GD 2 support out of the box. So I did some digging around, and
found others with the same problem.

The common advice from almost everybody, has been to run Marc Linyage's
PHP 5 installer from http://www.entropy.ch/software/macosx/php/
This however, resulted in Apache not working, so I had to uninstall it
again, and restore the httpd.conf file from backup.

I then turned to Fink, at http://fink.sourceforge.net/

Fink downloaded and installed GD 2 plus all of the GD libraries fine,
but now I have no idea how to tell PHP and/or Apache, that the GD 2
libraries are installed.

Can anyone help me do that?

If anyone needs to see the PHP configuration of my server - the result
you get when you run this code:
[code]
phpinfo();
[code]
Please mail me, and I'll send you the link.

Tboelskifte AT mac DOT com

Links:
My test server is located at:
http://www.thefastlane.dk/

The Expression Engine server-test-wizard's result can be seen at:
http://www.thefastlane.dk/wizard.php
Thanks in advance,
Thomas
There is no GD for PHP5 (not officially) I use Debian and same deal.. I
have it compiled now however, its just a case of finding a unofficial
package that has it supported. So either install php4 with php-gd (or
is it php4-gd..) or google yourself a php5-gd package for your OS.

Flamer.

Jul 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Phil | last post by:
I am using a Pascal like language (Wealth-Lab) on W2K and call this server: class HelloWorld: _reg_clsid_ = "{4E797C6A-5969-402F-8101-9C95453CF8F6}" _reg_desc_ = "Python Test COM Server"...
6
by: Nathan Sokalski | last post by:
I want to set up SQL Server on Windows XP Pro so that I can use the database capabilities of ASP and IIS. I am probably using some incorrect settings, but I am not sure what they are. Here is what...
9
by: Grim Reaper | last post by:
My work let me put SQL Server 7.0 Enterprise Edition on my laptop. I have never setup a server from the beginning, so I am a little new at creating server groups. Alright, I am trying to create...
0
by: Chris Halcrow | last post by:
Hi I've spent ALL DAY trying to re-install SQL Server 2000 on Windows XP. I continually get the error 'cannot configure server' just at the end of the installation. I've tried the following: ...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
14
by: Developer | last post by:
Hello All, i have recently installed VS2005 and was trying to install SQL sever 2000. I have Win XP' SP2. But when I tried installing, it only installed client tools and not the database. Can...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.