View previous topic :: View next topic |
Author |
Message |
hansoj -
Joined: 16 May 2003 Posts: 15
|
Posted: Tue Feb 22, 2005 5:21 pm Post subject: php with gd2 on mac os x, possible? |
|
|
Hi,
I've used you abyss for years on windows and are very happy with it. It's a great program!
Now to the problem. I'm trying to get php with gd2 to work on my powerbook. I downloaded and followed the instructions on how to get it working and everything works. But how do I get gd2 to work? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Feb 22, 2005 11:53 pm Post subject: Re: php with gd2 on mac os x, possible? |
|
|
hansoj,
You should download the source code of the GD2 library and compile it. Then you should download the source code of PHP and build it with GD2 extensions enabled.
If you're not used to building software from source code, this can be difficult for you. But if you can wait for some days, we can do this for you: we're going to build PHP 4 and 5 for MacOS X with MySQL and GD enabled for our MacOS users. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
hansoj -
Joined: 16 May 2003 Posts: 15
|
Posted: Thu Feb 24, 2005 2:17 pm Post subject: |
|
|
I could probably manage to do it. But it would take some time and if you do it it will problably be better done. I would love if you did it :D |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Feb 24, 2005 11:41 pm Post subject: |
|
|
hansoj wrote: | I could probably manage to do it. But it would take some time and if you do it it will problably be better done. I would love if you did it :D |
We've managed to build (on Mac) PHP 4.3.10 with GD2, MySQL and other extra extensions today. We're currently testing it. If it is working fine, we'll release the package tomorrow. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Feb 25, 2005 10:53 pm Post subject: |
|
|
The MacOS X PHP package with MySQL and GD2 support is ready.
* Download http://www.aprelium.com/data/PHP-CGI.dmg
* Double-click on the downloaded file.
* A disk image will be opened.
* Drag the PHP folder in your Applications folder (it must be in this folder.)
* Configure PHP in Abyss Web Server as explained in http://www.aprelium.com/abyssws/php.html and enter /Applications/PHP/bin/php as the interpreter.
The php.ini file is in /Applications/PHP/lib/php.ini .
Please let us know if it works fine for you or if there are issues or suggestions. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
hansoj -
Joined: 16 May 2003 Posts: 15
|
Posted: Sat Feb 26, 2005 12:35 pm Post subject: |
|
|
Perfect! It worked right out of the box.
The only thing I would like to changes is that I would like to move the PHP folder from /Applications to my /Applications/Abyss Web Server folder. But other than that I love it.
Now the only problems is to make my Powerbook accessible from the internet :D. But that's a totally different problem.
Thanks, you are wonderful. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Feb 27, 2005 5:54 pm Post subject: |
|
|
hansoj wrote: | The only thing I would like to changes is that I would like to move the PHP folder from /Applications to my /Applications/Abyss Web Server folder. But other than that I love it.
|
You're welcome.
The problem with PHP is that you have to choose the directory it will be in before compiling it. In other words, the paths are hard coded inside it. So you cannot move it to another directory without breaking many things. For example, if you see the phpinfo() page, you'll notice that the php.ini location is hard coded.
If you want to use another directory, you'll have to rebuild it from scratch (and this takes too much time because you must build some libraries that it relies on.) _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|