HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   PrestaShop -- gd2.dll (http://www.howtoforge.com/forums/showthread.php?t=29006)

PermaNoob 27th November 2008 01:54

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.

Ben 27th November 2008 08:19

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
();

?>


till 27th November 2008 10:39

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.

PermaNoob 27th November 2008 14:00

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?

till 27th November 2008 14:10

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.

PermaNoob 27th November 2008 14:40

Quote:

Originally Posted by till (Post 156921)
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?

till 27th November 2008 14:45

You dont loose any site or settings as long as you did not delete the complete /root/ispconfig directory.

PermaNoob 27th November 2008 15:59

Quote:

Originally Posted by till (Post 156927)
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.


All times are GMT +2. The time now is 21:48.

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