close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Requirements GD and php?

Thread began 5/24/2009 1:03 pm by olle189996 | Last modified 5/30/2009 7:32 am by olle189996 | 1355 views | 4 replies |

olle189996

Requirements GD and php?

Hi
I have a little question about the reqirements of GD library and php on my local machine.

I'm trying to upload two images at the same time. one large image and one thumb to different locations. I do this by making two uploads on the same form post.

This works ok on the remote server. And on my local macine with MAMP 1.72.
But not with the leopard websharing and php (Entropy PHP 5.2.9-7). With that only one of the images is uploaded. The first one.

So I think it is some setting in the php.ini perhaps? So what do I need for settings for that? Or how can I figure out what is wrong?

I rather run with the leopard installation of apache and php than MAMP.

Regards
olle

Sign in to reply to this post

office377308

check with phpinfo()

Hi,
best to check if it is enabled. upload a file to your server with nothing but
<?php
phpinfo();
?>
in it
it should show a lot of information about your server. Further down, you should find an entry similar to this:

gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

hope that helps

Sign in to reply to this post

olle189996

Yes its enabled. If you reed my post above. The problem is that its not working with double upload from the same form.

GD is working but only fore one image.

MAMP and remote server works ok.

So what can be the trouble with this perticular php GD installation?

regards
olle

Sign in to reply to this post

office377308

You sure its GD2?

What happens if you put both files in the same directory? Have you checked write permissions on the thumbnail folder?
It is normal to submit two files within one post if you need thumbnails. I do it even with 4 different sizes at once. No probs at all.
Most common problems with php.ini settings are file sizes.

Sign in to reply to this post

olle189996

Hi
Well, it's working with MAMP so i'ts not a big problem. I'm just qurious why it wont work with the other installation of php. So what are the most important settings in the php.ini file?

Would it be safe to post link to my php info on this server here? Or the php ini.
Or what else can I do?

PHP Version 5.2.9

www.entropy.ch Release 7

Universal Binary i386/x86_64/ppc7400/ppc64

GD is enabled.

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.5
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

Regards
Olle

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...