How do I install php GD libray on Leopard 10.5.8?

How do I install php GD libray on Leopard 10.5.8?
I know there are a bunch of places on the internet that will help but they probably just want to open the door to attack my server. I don't want that - I want to command line it into Terminal myself.
A related question: Why is the GD library not installed to begin with? It's an incredible tool but now people in my field are being LURED into installing GD libraries from 3rd parties into their command-line (from seemingly "friendly" coding forums they find on google). They think "I've done command-line maybe 5-10 times in my life - I can handle this." so they do it - but it's not their fault - they're just trying to get their job done. How does Apple feel about their servers being hijacked like this?
Sorry for the double-post but I called my OS "tiger" in the title.

I tried the malisphoto.com solution it but it didn't work for me.
I even tried the one at entropy.com but that also didn't work.
I was very careful and successful in the command line (bash) and afterwards, phpInfo() showed that the GD library was installed, however, my localhost GD (gif draw) scripts still kept showing the same old error messages on my localhost (and not online): "Fatal error: Call to undefined function imagecreatefromgif()"
Perhaps I'm just wrong to think PHP GD will work on my localhost pages after performing these installations - perhaps I'm misunderstanding something? Am I'm trying to change a light-bulb with a jack-hammer?
I should also point out that both solutions made my localhost run extremely slow. After restoring my system, it's all working fine (but without php GD).
My system is a Power Mac 10.5.8 Leopard
This is really lame. Is Apple trying to shut out PHP now? Is PHP the new "Flash"?

Similar Messages

  • How can I install Mac OS X Snow Leopard on Mac OS X Tiger?

    Hello. Can someone tell me how I can install Mac OS X Snow Leopard on Mac OS X Tiger? I have the disk, but when I open the installer, I get a message saying that Snow Leopard could not be installed on my computer and it could only be installed on a Intel-Based Mac. This is a PowerPC Mac, so that makes sense.
    So, I'm trying to ask how to make my Mac an Intel-Based Mac so I could install Snow Leopard. Or if I can't do that, I need to know how to install Snow Leopard some other way. Please help.

    Just an FYI, the Mac App Store was introduced with Mac OS X 10.6.6.    However the rest of what you say is accurate.
    10.6.8 is required if you want to upgrade certain Macs beyond 10.7.5 without having to reformat the drive you are installing the operating system on and without having to install some version of 10.7 first.
    One can actually install 10.7 or later if you maintain an original copy of the full installer of the operating system in question for your personal use without having to have the prerequisite operating system installed, if the hardware supported it.  But that's a discussion for another forum.
    For HFTaylor,
    Consider buying a used or refurbished Mac with an Intel CPU depending on your needs.  Read this tip about the migration of data from PowerPC to Intel before proceeding:
    https://discussions.apple.com/docs/DOC-2295
    and see this tip about used and refurbished Macs*:
    http://www.macmaps.com/usedrefurbished.html
    * Links to my pages may give me compensation.

  • How do i install php on my mac pro os x lion

    I want to install php on my macbook pro that currently runs os x lion.

    It is built-in to every web browser.   Look in your browser preference to make sure it is turned on, and make sure you are using the most current version of the browser.   Mind you some scripts depend on Microsoft's ActiveX, which is not supported by Mac OS X.  For those, see this tip:
    https://discussions.apple.com/docs/DOC-2741

  • How can i install mac os x snow leopard on Lion?

     

    You cannot. Either you erase the drive on which you installed Lion then reinstall Snow Leopard or you create another partition on the drive and install Snow Leopard on that partition so you can dual boot.
    Downgrade Lion to Snow Leopard
    1.  Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Quit DU and return to the installer. Install Snow Leopard.
    This will erase the whole drive so be sure to backup your files if you don't have a backup already. If you have performed a TM backup using Lion be aware that you cannot restore from that backup in Snow Leopard (see below.) I suggest you make a separate backup using Carbon Copy Cloner 3.4.1.
    If you have Snow Leopard Time Machine backups, do a full system restore per #14 in Time Machine - Frequently Asked Questions.  If you have subsequent backups from Lion, you can restore newer items selectively, via the "Star Wars" display, per #15 there, but be careful; some Snow Leopard apps may not work with the Lion files.

  • How do you install Mac OS X Snow Leopard on an Apple Intel Developer Kit?

    I want to get an Apple Intel Developer Kit from 2005. It comes with Mac OS X Tiger. I was wondering if you could install Mac OS X Snow Leopard within Tiger or you have to clean install it using iBoot.

    What is the underlying Hardware of a "2005 Apple Intel developer Kit" ??
    Your Apple License agreement requires Apple Hardware.

  • How can i install mac os x snow leopard on a macbook pro new hard drive

    I replaced the hard drive on my macbook pro and I'm having difficulty installing Mac Snow leopard on the new hard drive. I press "C" when rebooting with the disk inside and all I get is "you need to restart your computer. Hold down the power button until it turns off, then press the Power button again" any suggestion?

    Booting From An OS X Installer Disc
    1. Insert OS X Installer Disc into the optical drive.
      2. Restart the computer.
      3. Immediately after the chime press and hold down the "C" key.
      4. Release the key when the spinning gear below the dark gray Apple
          logo appears.
      5. Wait for installer to finish loading.
    Clean Install of Snow Leopard
         1. Boot the computer using the Snow Leopard Installer Disc.  Insert the disc into the
             optical drive and restart the computer.  After the chime press and hold down the
             "C" key.  Release the key when you see a small spinning gear appear below the
             dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, set the format type to Mac
             OS Extended (Journaled, if supported), then click on the Partition button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. Be sure you configure your initial admin account with the exact same
             username and password that you used on your old drive. After you finish Setup
             Assistant will complete the installation after which you will be running a fresh
             install of OS X.  You can now begin the update process by opening Software
             Update and installing all recommended updates to bring your installation current.

  • How to install PHP on OS X 10.2?

    Hi,
    I'm a bit confused. Ther are lots of PHP related files in the library folder, but when i try to open a php file (drag and drop onto safari dock icon), it just opens a blank browser window. How do i install php so i can open php files like this?
    Thanks.

    Damien--
    You can't just drag a PHP file to a browser window. It's a server-side technology, so PHP web pages have to be served by a web server. Since you have OS X, you have Apache installed by default. Read this article on setting up PHP and Apache on Jaguar. That's part three of three parts, so look at the other two parts, especially part one, where he tells how to turn on the server...
    charlie

  • How can I install SL 10.6.3 on my brand new !00GB SSD HD?

    How can I install MAC OS X Snow Leopard version 10.6.3 in to my brandnew Samsung 100GB SSD ?. I have a MacBook Pro model A1150 , 2GB memory and just bought the Mac OS X Snow Leopard version 10.6.3.
    alexandervuong

    Clean Install of Snow Leopard
         1. Boot the computer using the Snow Leopard Installer Disc.  Insert the disc into the
             optical drive and restart the computer.  After the chime press and hold down the
             "C" key.  Release the key when you see a small spinning gear appear below the
             dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, set the format type to Mac
             OS Extended (Journaled, if supported), then click on the Partition button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4.  When the installation has completed your computer will require a restart after
             which you will be running a fresh install of OS X.  You can now begin the update
             process by opening Software Update and installing all recommended updates to
             bring your installation current.
    First you will have to prep your new SSD:
    Drive Partition and Format
    1. Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.

  • How to Install PHP in PL/SQL??

    Hello!!
    How to install php in pl/sql ??

    See Metalink Note 207303.1 for a compatibility matrix that details support for database links between database versions.

  • How to install php, perl, python, C text editor

    I want to know how to install perl, php, C , Java Text Editors in Mac OSX.
    which editor is better .

    C you installed by installing the XCode package from your installation DVD
    Perl is already installed
    PHP is already installed
    Text Editors are a Religion, as once you have trained your fingers to use a given text editor, you frequently do not want to change, so after that your editor is the only "True" editor :-)
    If you are serious about C programming in a Unix environment, then Vim or emacs.  If you are going to be doing mostly Mac OS X Objective-C, then use the XCode editor.  If this is just a hobby, then a GUI text editor such as one of the previously mentioned editors

  • The guide to bootcamp assistant states that bootcamp can only be installed on a drive with a single partition. New Macs with Lion preinstalled have two partitions - the second is a recovery partition.  How do I install Bootcamp?

    Late in August 2011 I took delivery of a new 27" iMac with Lion preinstalled.  I need to run Windows as well. Following Apple's written suggestion, I printed off the then current 12 pages of the document "Bootcamp Installation & Setup Guide" which clearly stated that the hard drive you were going to install on had to have on it, before install, a maximum of one partition.  Using finder and disk utility I determined that there was only one partition.  Unbeknownst to me, there was (is) an additional hidden (from those two pieces of software) partition on the disk.  As of machines delivered new with Lion preinstalled, Apple has begun to include a "recovery partition".  In that partition there is a copy of the software necessary to reinstall Lion via a download from the Apple App Store.  Not knowing the partition was there, I cranked up  "Bootcamp Assistant" which nicely offered to repartition my hard drive creating a "Bootcamp Partition" in addition to the existing.  I told it how big to make each and hit the do it button, subsequently destroying my operating system.  Oh, it very nicely told me, after the damage was done, how many partitions were REALLY on the disk and that I could not install Bootcamp cause there were too many partitions.
    Luckily the the Recovery Partition, which at that point I knew existed, was not harmed and after doing some research on another compter, I used it to once again download Lion from the App Store and reinstall. So, I have recovered but am still stuck with the problem:  how do I install Bootcamp in this new environment?

    First you need to seriously back up your Mac.
    A clone is an exact duplicate of your existing Mac HDD. Merely copying and pasting a drive will not make a bootable backup. In case of problems you can boot from an Ext HDD clone and use the utilities to repair, reformat, or clone the Ext HDD back to the internal Mac HDD.  While Time machine back ups are easy you can not boot from it. The best thing to have for any kind of problem is a bootable clone backup on an external drive. Some even have two external backup drives in case one fails. There are two good apps for cloning named SuperDuper and Carbon Copy Cloner.
    In dealing with the recovery partition a simple approach is to clone the Mac partition to an external disk then re-partition the Mac to a single partition (GUID partition table) . Then clone the external disk clone back to the Mac. You will now have only one Partition and Boot Camp assistant sould not object.
    Some have recommended getting rid of the recovery partition while others have advised not to do this. If you have the Lion USB Thumb Drive you do not need a recovery partition so can discard it without concern. There is another way to get rid of the recovery partition if you decide to do it but first be sure to have a backup of your Mac ( I know I sound like a nagging mom but many dead computers have been saved by this simple precaution).
    Use Disk Utility.
    1) Make the Recovery visible in Disk Utility by using a program like Secrets:http://www.macupdate.com/app/mac/27025/secrets or MacPilot:http://www.koingosw.com/products/macpilot.php (15 day free trial).
    2) Highlite the Recovery partition and Control click it and select Mount the partition.
    3) With the Recovery partition highlited, erase the partition, you'll get an error message, ignore it.
    4) Now highlite the top identity of the hard drive and select the partition tab.
    5) Highlite the Recovery partition and press the minus sign.
    6) Click and hold on the bottom edge of the partition above and drag it to the bottom, if it doesn't go there automatically, the press apply.

  • How do i install a SATA 150 HDD in MSI KT6.

    How do i install a sata 150 HDD in MSI KT6.
    I will build a new rig.
    The HDD drive is virgin. I put windowns xp cd in the cdrom then set the bios to boot up from the cdrom, and then?
    When will i install the HDD drivers? Or the SATA drivers?  I'm confuse!
    One more thing please... When should i install the mobo drivers? Are that drivers the: VIA_Hyperion 4IN1_V449vp2 ? And the sound driver, it's included in there?

    Hi,
    Read all this:
    http://www.amdforums.com/showindex.php?s=57b7aa706298397fc255dfa84b1fdc1f&threadid=257841
    and after that you will learn something.
    Also, read the manual that came with the motherboard.

  • How do I install newest version of itunes if the Bonjour file cannot be found?

    How do I install the newest version of itunes if the Bonjour file cannot be found on my computer?

    perfect, thanks.
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another install. Does it go through this time?

  • How do I install WordPress in the new Lion Server X?

    How do I install WordPress within Lion Server? I have the Mountain Lion running plus the Lion Server X 2.0. Please advise. Thanks in advance.

    Unfortunately that site doesn't cover half the issues.
    For one its install location might not make the most sense - ~/Sites are useful for personal web sites, but probably not the best option for WordPress (even if this is going to be your own personal blog).
    Part of this depends on how the site is expected to be used, so it might be OK, but that does need clarifying first.
    Second, even though it's what the OP asked for installing WordPress is a small part of getting WordPress working. WordPress is a performance dog and to get any sense of acceptable performance you're going to need a cache server (typically memcached). You'll likely also need various PHP modules depending on what WordPress modules/features you want to use. For example, do you want to upload images to your blog? Well you'll need GD. What about some of the performance plugins that do things like minifying javascript and CSS. They'll need various things including memcached (so that the minified versions can be cached and not regenerated for every page view).
    Oh, and then you'll have to consider security. WordPress has almost zero concept of security (seriously, it still assumes/requires FTP access to your site for updates).
    So, at the risk of repeating myself, it's relatively easy to install WordPress. Getting it working well is another chapter (entire book?) all in itself.

  • Trying to install php 5 broke my webserver

    I wanted to use the image creating GD2 capabilities of php and I heard I had to update the version of php currently used in Mac OS X 10.4.8. So I followed the directions on the site (http://www.entropy.ch/software/macosx/php/) and downloaded the version 5.0.2 for PPC and Intel for Apache 1.3. I ran the installer. It seemed to run fine.
    Since I installed php5, the apache webserver shut down. It will no longer start (either using System Preferences->Sharing or the Terminal command, "sudo apachectl graceful"). I even tried restarting, but the problem persists. I had it up and running fine, hosting my website for several years. When I type "sudo apachectl graceful", I get the following error...
    www:/usr/local/php5/bin myusername$ sudo apachectl graceful
    Password:
    /usr/sbin/apachectl graceful: httpd not running, trying to start
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/+entropy-php.conf
    Processing config file: /private/etc/httpd/users/myusername.conf
    /usr/sbin/apachectl: line 193: 321 Bus error $HTTPD
    /usr/sbin/apachectl graceful: httpd could not be started
    My Configuration
    Apache: 1.3.33
    Mac OS 10.4.8 with all the software updates run to present (Monday December 18, 2006).
    Running on a PPC.
    As you can see, I have the latest software and have never installed php before. I have just used the version that came with 10.4.8.
    Do you have any idea why my webserver is no longer running after running the php5 installer at that site?
    Thank you in advance for any help anyone can give me. If I knew this would happen, I never would have downloaded it. I assumed it would reside safely in its own folder (/usr/local/php5) and not trample my webserver. At this point, I would like to get my webserver back up and running as soon as possible either with or without the php version 5.
    Any ideas?

    I have tried resetting the mysql
    password for root following the directions on
    mysql.com, but it is not working.
    Can you post a link to the page with the directions you used? I messed around with MySQL changing passwords for a bit, though I cheerfully admit I didn't try to reset the root password. But the directions look like they should work the same for any user.
    Basically, I followed the last alternative on this page, except that I didn't have to use --skip-grant-tables, instead, I just logged in as the root user. I did the update like they show:
    <pre class="command">UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE user='root';</pre>Except that since I wasn't changing the root user, I used a different username. Then I had to reload the grants tables:
    <pre class="command">FLUSH PRIVILEGES;</pre>Once I did that, the new password was good to go.
    One thing I found was that I kept mis-typing the password when I tried to log in. Or I'd mis-typed it when I updated the table, so I found that one really handy thing you can do is to look at the password that's stored and compare it to what you might be typing. For example, once I type in the new password ('newpwd', I could look at it like so:
    <pre class="command">mysql> select host,user,password from mysql.user;
    --------------+------------+------------------
    | host | user | password |
    --------------+------------+------------------
    | localhost | root | 43adcaeb639dab47 |
    | 192.168.1.nn | usern01 | 43adcaeb639dab47 |
    | localhost | userno2 | 43adcaeb639dab47 |
    | localhost | userno3 | 43adcaeb639dab47 |
    --------------+------------+------------------
    4 rows in set (0.00 sec)</pre>Ordinarily, you'd probably have different passwords there. By itself, the display you see there isn't too helpful. But you can also check your password like this:
    <pre class="command">mysql> SELECT PASSWORD('newpWd');
    | PASSWORD('newpWd') |
    | 43916d0b63bad907 |
    1 row in set (0.00 sec)</pre>Notice how it's different just because of the different case of the "W". The difference between a "W" and "w" is pretty obvious, but if you have a "1" or an "l", they can look pretty similar in your password, same thing with "O" and "0".
    charlie

Maybe you are looking for