[Typo3-debian] MySQL connection error while trying to install TYPO3
Jordan van Bergen
jordanvanbergen at hotmail.com
Tue Sep 2 12:35:43 CEST 2003
Hi Michael / All,
> apt-get install php4-gd2
> (Should be installed already!)
> Then go ahead and scroll down to the end of your php.ini.
> The relevant line must look like this:
> extension=gd.so
> If there is a semicolon in front of it (which comments the line out) you
> need to remove this.
> Then you restart Apache and try again.
This helped on my testing server environment. I'm now ready to put the
website live on the production server. I'm not a 100% linux debian guru so I
was happy to see that the apt-get install typo3-env didn't screw up the
running system. It installed over 59 Mb's of data/libraries and everything
went okay....
Now for the problem:
As described above I had the same problems again with GDlib v2.0. It's
perfectly installed. I added the line
extension=gd.so in my php.ini and restarted apache. This goes okay, but when
I enter phpinfo(); I don't see a GD entry. So I think GD is not started
or???
When I go to typo3, login as admin and try to make a new page I get the
following error message on the live (to be) production server:
Fatal error: Call to undefined function: imagecreatefrompng() in
/var/lib/typo3/typo3_src-3.5.0/t3lib/class.t3lib_iconworks.php on line 241
I assume this has to do with the GDlib v2.0 that's not started correctly? Am
I wrong or correct? If I'm correct how do I get the gdlib v2.0 to be
correctly started?
I have the following in php.ini:
extension=gd.so
If I look where this file is on the webserver I see the following, locate
gd.so:
/usr/lib/libgd.so.1
/usr/lib/libgd.so.1.8.4
/usr/lib/libgd.so.2
/usr/lib/libgd.so.2.0.1
/usr/lib/php4/20020429/gd.so
Is this correct???? On my testserver it looks the same and the gd.so are
equal in filesize.
Any help is appreciated.
Regards
Jordan van Bergen
jordanvanbergen at hotmail.com
More information about the TYPO3-debian
mailing list