Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th November 2008, 02:54
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default PrestaShop -- gd2.dll

I followed the PrestaShop installation instructions to uncomment the gd2 extension line in the php.ini file

;extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_hyperwave.dll

but php says the php_gd2.dll doesn't exist.

Anyone know where and how I should install it?

I have ISPConfig on a Debian Etch server.
Reply With Quote
Sponsored Links
  #2  
Old 27th November 2008, 09:19
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Did you do the change in the non-ISPConfig's php.ini and restart the non-ISPConfig apache afterwards (unless you use php as CGI)?

What does a script containing the following show, for the location of the php.ini, just to check that you did the changes in the right file (e.g. debian's php comes with different php.ini files for cli and apache).

PHP Code:
<?php

phpinfo
();

?>
Reply With Quote
  #3  
Old 27th November 2008, 11:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

You are on a linux system? If yes, all loadable php modules have the file ending .so and never .dll. Instead of editing the php.ini file, you should just install the php5-gd pckage from debian.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 27th November 2008, 15:00
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default

OK, I guess it's already installed--says php5-gd is already the newest version--I'll try installing PrestaShop

One problem--I just screwed up and I meant to delete the php.ini to revert to the saved one and I deleted the other file at ispconfig/php/ -- I think it was just called php.

Is this a critical file? If so, how would I restore it?
Reply With Quote
  #5  
Old 27th November 2008, 15:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Quote:
Is this a critical file? If so, how would I restore it?
Never edit or delete files in this directory! You deleted the ispconfig php, ispconfig is not able to write any configuration changes without it. To restore it, download the latest ispconfig version again and run the setup script again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 27th November 2008, 15:40
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by till View Post
Never edit or delete files in this directory! You deleted the ispconfig php, ispconfig is not able to write any configuration changes without it. To restore it, download the latest ispconfig version again and run the setup script again.
Does that mean I lose all my sites and settings?

Is there any way to recover?

I have the backups run from within ISPConfig? Can it be restored from there?
Reply With Quote
  #7  
Old 27th November 2008, 15:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

You dont loose any site or settings as long as you did not delete the complete /root/ispconfig directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 27th November 2008, 16:59
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
 
Default

Quote:
Originally Posted by till View Post
You dont loose any site or settings as long as you did not delete the complete /root/ispconfig directory.
Whew, heart attack avoided.

I ran the latest update, smooth, all ok. Server is also responding much faster.

Now I'll install PrestaShop.

Last edited by PermaNoob; 27th November 2008 at 17:03.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.