| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
OK, I finally finish it. I have to try it to make sure but at least it shows up in phpinfo.
I'll post back when it will be tested.
Thanks a lot:)
Xavier
Hello ???
thanks for taking the time to write all this.
I followed your instructions and was able to finish it.
gd.so was installed in /usr/lib/php/extensions/no-debug-non- zts-20020429/
I edited php.ini to add extension=gd.so
restarted Web using serveradmin stop web && serveradmin start web
But when I request my phpinfo page I still have nothing about GD. Is there anything else to do?
Xavier
On Jun 8, 2006, at 10:41 , ServerDev wrote:
Hi Hadley,
I think your answer is for me;)
I know Marc has great packages, but as I mentioned in my initial request, I don't want to be in charge of "keeping php up-to-date and secure".
So I'm back to my initial point: "how to activate an external library":)
Let me first start off by saying that installing the external GD library was unnecessary and unrequired.
You can add GD functionality without rebuilding or installing someone else's PHP and I'm not sure why nobody suggested it.
Since all you want to do is add GD functionality without modifying the installed PHP software here are the steps you can use to perform this task.
(this requires XCode to be installed from your install media)
(if you think you are getting one up by not installing this XCode package and installing a newer version then you can't read english very well)
(regardless of which version you want to run, you MUST install the version which came with your OS first!!!!!)
1) install an info.php page on your server.
2) access it to verify the installed version of PHP.
3) download the source for the installed version of PHP.
4) make a list of the graphic libraries you have installed for use with GD (installing Apple's X11 goes a long way with gd)
5) unpack the PHP source archive.
6) cd into the PHP source directory and issue: [with brackets]
( cd ext && tar cf - gd | ( cd / && tar xf - ) )
7) now you process the source
cd /gd
phpize
./configure ;#<-- this is where you place your arguments
make
make install
8) edit your php.ini file and add an entry in the load extensions section
extension=gd.so
9) issue:
apachectl restart
10) you're done, gd is now active.
I've just tested these instructions with Apple's PHP 4.4.1 and had no build issues.
I installed Apple's X11 and some graphic libraries.
Built everything as dual architecture so it will run on any Mac (PowerPC or Intel)
Tested the files on an intel iMac and a ppc G5 and it worked on both machines so you shouldn't have any issues making it work on your own machine.
I will comment further, if you build it, it will be specific to your computer/OS as generated at the time of build, distribution should be avoided.
I do not suffer this distribution issue, I build in a development environment and my builds are not specific to any particular Mac hardware or specific 10.4.x version of OS.
If enough interest is generated, I can create an installer package of the GD dependancies and the GD module making life easier on those less capable.
Xavier
Saline, you can obtain a version of PHP from Marc Liyange at
http://www.entropy.ch/software/macosx/welcome.html
This is a great version either 4.x or 5.x that has been tested on both Osx
Server and Desktop. It has an installer so the set up is very easy. We have
been using these builds for a long time on our production servers with out
any issues. You will find many nice features in the builds including GD.
Hadley
http://lists.apple.com/mailman/options/macos-x-server/hpbrandt% 40mindspring.co>email@hidden
Might have some good answers as well.
Erik
On Jun 7, 2006, at 11:41 AM, ServerDev wrote:
Hi Guys,
I'm not familiar with php so maybe I'm missing something, but after
searching I couldn't find an answer.
So here's my issue and what I've found so far:
-I need to add GD to php for at least one of my customer
-I know sips is included, but I can't tell my customer to rewrite
his code
So far I think I have 3 options: 1-installing another version of php with gd support 2-rebuilding the stock php with --with-gd 3-adding gd as a dynamic library to the stock install
I don't want to go for 1 as I will have to handle the updates, the
security fixes etc
I don't want to go for 2 as every os update may break it
So I have to go for 3:)
I have downloaded and "make install" all the missing libraries for
gd and also gd2.0.33
There's been a couple issues, but finally gd installed correctly
(at least make install worked).
But now, I don't know how to "activate" gd! I looked at the php.ini file, but I don't know what to add in it, not even if it's the only thing left to do (I know I have to restart Apache at the end;))
So could someone tell me what left to be done to "activate" gd?
Thanks a lot for your help.
Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/esaline% 40pen-
tec.com
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
m
This email sent to email@hidden
Thanks, Hadley
-- Dale
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/server% 40anazys.com
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden
| References: | |
| >Re: External GD library for PHP on 10.4 Tiger server (From: ServerDev <email@hidden>) | |
| >Re: External GD library for PHP on 10.4 Tiger server (From: webmaster <email@hidden>) | |
| >Re: External GD library for PHP on 10.4 Tiger server (From: ServerDev <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.