Php Fatal Error Call To Undefined Function Imagecreatetruecolor Centos
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us call to undefined function imagecreatetruecolor windows Learn more about Stack Overflow the company Business Learn more about hiring developers
Php Imagecreatetruecolor Not Working
or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow imagecreatetruecolor example Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up function imagecreatetruecolor() is not working in my server php install gd library up vote 4 down vote favorite In my website's cpanel it shows that Apache version : 2.0.63 PHP version : 5.2.9 MySQL version : 5.0.92-community Operating system : linux I currently installed a joomla website inside the server. I am using a module named "negetics PSS" as my homepage banner. Here is the working model of the banner : http://extensions.negetics.de/negetics-Presentation-Slider-Slim/demo-1.html as you can see in the demo,
Imagecreatetruecolor Php
the 6 handles of that slider is generated using php imagecreatetruecolor function. Now my problem is that, while i am using this module in my server, the module is generating error in its error log that : [24-Oct-2011 02:32:27] PHP Fatal error: Call to undefined function imagecreatetruecolor() in..... as a result you can imagine, the handles are not generating. How do i fix this..? please Help me. Thanks php joomla1.5 fatal-error share|improve this question edited Jan 14 '12 at 11:41 hakre 134k26216390 asked Oct 24 '11 at 7:16 Jithesh Kt 1621520 3 Do you have GD > 2.0.1 installed? check with phpinfo() –Damien Pirsy Oct 24 '11 at 7:19 No. I don't have GD installed. Checked with phpinfo(). Now what should i do.? –Jithesh Kt Oct 24 '11 at 7:28 1 Well...install it? :) If you are not allowed by your host, drop them a line and have it done for you. –Damien Pirsy Oct 24 '11 at 7:30 add a comment| 1 Answer 1 active oldest votes up vote 8 down vote accepted Install Gd library. follow the below link. GD library instalation share|improve this answer answered Oct 24 '11 at 7:25 chandoo 34529 a
error: Fatal error: Call to undefined function centos install php-gd imagecreatetruecolor() Do I need to reactivate/reinstall GD? If so, imagecolorallocate how do I do this? chris_upjohn 2010-08-21 09:10:58 UTC #2 httpd.conf is the
Imagecopyresampled
file you need to edit but because your using CentOS which is a Unix system you will need to run the sudo http://stackoverflow.com/questions/7872360/function-imagecreatetruecolor-is-not-working-in-my-server command as only the windows server comes with GD library pre-installed dsmIT 2010-08-21 11:38:48 UTC #3 Morthian said: I am not very familiar with Linux or server maintenance. I am running on a CentOS server. Which httpd file would typically be the one I should https://www.sitepoint.com/community/t/call-to-undefined-function-imagecreatetruecolor/65202 edit? The default httpd.conf location on CentOS is /etc/httpd/httpd.confUse an editor like vim or nano to adjust the config file as suggested by SgtLegend. Morthian 2010-08-21 08:47:10 UTC #4 SgtLegend said: In your Apache httpd file find ;extension=php_gd2.dll and simply remove the ; before it. If your on a UNIX system read this http://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/ I am not very familiar with Linux or server maintenance. I am running on a CentOS server. Which httpd file would typically be the one I should edit? chris_upjohn 2010-08-21 07:44:07 UTC #5 In your Apache httpd file find ;extension=php_gd2.dll and simply remove the ; before it. If your on a UNIX system read this http://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/ Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled Shop Versioning Reference Articles Premium
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu https://ubuntuforums.org/showthread.php?t=1352135 Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad http://pchart.sourceforge.net/documentation.php?topic=faq.gd Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community call to Ubuntu Specialised Support Development & Programming Programming Talk imagecreatetruecolor in php? Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 6 of 6 Thread: imagecreatetruecolor in php? Thread Tools Show Printable Version Subscribe to call to undefined this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December 11th, 2009 #1 abhilashm86 View Profile View Forum Posts Private Message Visit Homepage Dark Roasted Ubuntu Join Date Sep 2008 Location Bangalore,India Beans 982 DistroUbuntu 10.04 Lucid Lynx imagecreatetruecolor in php? i'm building a contact form along with captcha, i'm getting this error on execution? why is it so? can anyone try this and tell me what is wrong? is there any alternative to this? PHP Code:
session_start();
$string='';
for($i=0;$i<5;$i++){
$string.=chr(rand(97,122));
}
php -q Example1.php PHP Fatal error: Call to undefined function imagecreatetruecolor() in C:\pChart.class on line 134 To activate GD support on windows systems edit your php.ini file (located in your php installation) and uncomment this line : ;extension=php_gd2.dll ..by removing the ; character. If you are running a linux installation of PHP, you must recompile it including GD support, you'll also need to include the FreeType support. We invite you to read the PHP manual. How to check your PHP setup To see the configuration of PHP on your web server, make a file named test.php in the web directory root and write the following in it : ..then open this page in a web browser and locate the GD part : GD Supportenabled GD Versionbundled (2.0.34 compatible) FreeType Supportenabled FreeType Linkagewith freetype FreeType Version2.1.9 pChart needs that both GD and FreeType support are enabl