LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2006, 04:35 AM   #1
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Rep: Reputation: 15
phpinfo wont show updated values..Why??? Help


I had configured php, mysql , apache with old versions of gd and zlib. Phpinfo showed the earlier versions indicating that the installation was successful. Now for some professional reasons I upgraded libxml to libxml2, gd to 2.0.3, and installed zlib, jpegsrc and png. configured php with ./configure command did make, make clean and make install. All went smoothly. Now when I checked phpinfo page it still seem to show the old values. I also get the error. "imagecreatetruecolor(): requires GD 2.0...." when try to execute a line graph code.

What could be the error???? Its so crazy...

Can somebody pls pls pls shed some light and suggestion into it. Have tried all possible permutations and combinations. Pls HELLLPPPPPP!!!
 
Old 03-16-2006, 04:48 AM   #2
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Hi

The GD 2.0 error is due to you not have the gdlib-dev packages installed,you will need to update your packages to include the -dev packages.
I also assume you restarted apache once updating the packages?,otherwise it wont reflect correctly.

Cheers
 
Old 03-16-2006, 04:57 AM   #3
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Yes I stopped and restarted but no different result. Ohhh I didnt know abt the dev packages for glib. But should I be doing that for libxml2 as well?? Cause even that its showing the old version. And the glib-dev packages are rpms or tar files? And what is the latest version??

Thx.

Last edited by rajnair0278; 03-16-2006 at 05:07 AM.
 
Old 03-16-2006, 07:09 AM   #4
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Hi

I always install the -dev packages as well,just to prevent any problems.What distro are you using as you should be able to install them easily.I am not sure what the latest version is of the glib-dev packages,but install what you have,you can update them once you have everything working.

Cheers
 
Old 03-16-2006, 07:35 AM   #5
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Red Hat Linux 9. I tried installing libgd-devel-2.0.20-2.i386.rpm buit its asking for libgd-devel-2.0.20.i386.rpm. Haveing a hard time acquiring one. My whole day has been wasted in updating and getting this damn server running!!!!!
 
Old 03-17-2006, 02:59 AM   #6
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Hi

These should be avalable at a rpm repository like http://dag.wieers.com/home-made/apt/ or dries.ulyssis.org/rpm/
Try using a package manager like yum or apt,setup apt on the server yo are installing,and all you type at the command prompt is "apt-get install lbgd-dev" and it will install everything for you.

Or go to http://rpmfind.net or http://atrpms.net/dist/rh9/, I have looked at these websites and the rpm for gd is gd-1.8.4-11.i386.rpm?. I would suggest you configure apt or yum and let the Operating system update itself on its own.

To get all the packages plus the dev packages go to http://atrpms.net/dist/rh9/gd/.
they are all listed here.

The link for the development source package is at sourceforge and can be found at
ftp://rpmfind.net/linux/sourceforge/...ei_cl.i386.rpm

Cheers
 
Old 03-17-2006, 08:37 AM   #7
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Thx alot shawn. One more thing. After i download the gd devel-lib do i have to re configure, make and make install php again with mysql, apache, gd, zlib, libxml2 etc or only gd library will do. Or will php automatically detect it. So far i have had a torrid time 'making' php...so wondering if it can be avoided. Everythng else is working pretty well after I just formatted the machine. Thx.
 
Old 03-20-2006, 12:31 AM   #8
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Hi

I think only the gd-lib should do,php should automatically detect the updated package.
Hopefully this helps

Cheers
 
Old 03-20-2006, 11:42 PM   #9
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Hi shawn installed the gd library from the path your mentioned earlier. phpinfo didnt recognize it. So re-configured, make and make install, php. But unfortunately phpinfo still shows the old value. What is more surprising is for php I downloaded 5.0 tar file from php.net and installed it. It showed the php version as 4.2.2. I uninstalled it and then downloaded 5.1 tar from php.net. I installed it once again, configured, make and make install php, its still showing 4.2.2. WHat is wrong with my PC?? Is it cause there are two versions currently on my Linux system?? Am not sure. How can I check?? I have alot of line graph programs to be executed and I need gd lib 2.0. Just cant get this server up and running once and for all.??? Please help guys!!!!!!
 
Old 03-22-2006, 12:52 AM   #10
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Hi
I think we are going about this the wrong way,firstly

1. What OS are you running,with version number and Kernel?
2. Lets get the OS to install and update the System and see if that works,before we upgrade the PHP and GD to the latest versions

3. Lets see what happens after we get the system up from the default sources.

Cheers
 
Old 03-22-2006, 03:17 AM   #11
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Hi shawn, the info you needed : The O.S version is Red Hat Linux 9. Apache 2, Php 5, Mysql 5.0. How do i check the version of kernel??

I checked once again through my system and I seen all the files of php5 that I have installed. But also I see some files like libphp4.so and am also there must several files of version4 somewhere on the system, that I have not installed (I dont know where they came from!!!!). There are also files like libphp5. Now I have one important question. What makes my webserver determine that the verison installed is 4, 5 or whatever??? Probably i may just need to tell the webserver to locate that particular file (php5) from a particular folder, by making some changes in the configuration files like httpd.conf, php.ini or some other ones etc etc.

Do lemme know whatever info you need?? I want to get it resolved no matter what. There is no immediate need for this server to be up and running so have some buffer and time for the time being. Thx for contributing.

Cheers to u2.
 
Old 03-22-2006, 03:27 AM   #12
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Ok..Great
You can check the kernel version by typing "uname -a" at the command prompt
Lets do the following...

1. Reconfigure the Server so it is a clean server,so install it with Apache/PHP/MYSQL etc
2. Then using a package manager,like yum or apt install the packages you require,(sorry not sure if RH9 has a built in package manager) if you can maybe use Fedora Core 4.
3. Once these are installed and you have what you want up and running,then we can procede to upgrade.( I assume it is a test server if you are using MySQL 5??)
4. Then we can take it from there.( I assume this is a LAMP installation??,Linux,Apache,MySQL,PHP) go to www.lamphowto.com..very good website

If you want to message I am on MSN at shawn_r_bishop@hotmail.com

Cheers

Last edited by shawnbishop; 03-22-2006 at 03:36 AM.
 
Old 03-22-2006, 04:01 AM   #13
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Thx for providing your email address. That was very kind of you. The kernel version is 2.4.20-8. Shawn no offence. Is it not possible to do some troubleshooting steps on the basis of things you require and see if we can do something. Because one thing I can assure you that the installations are perfectly clean. Step-by-step installation as mentioned in www.lamphowto.com. At present there are several client sites and data on this server. Moving them again and re-configuring is slightly difficult if not impossible. I hope you understand what am trying to say. I will add you to my msn messenger once I create it. In the meantime i have a yahoo address, rajnair0278@yahoo.com. Add me if you have one. Thx again
 
Old 03-22-2006, 04:21 AM   #14
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Hi

Dont worry about MSN messenger,I have a yahoo address shawn_r_bishop@yahoo.com.

I see you are having MySQL problems with PhpMyAdmin,I think this might be due to MySQL 5,remember it is a test version still.
Ok I will have a look at the PHP and GD installation and see what i can come up with

Cheers
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webpage wont show up. JerryMcFarts Linux - General 4 04-24-2005 09:27 PM
X wont show movitto Linux - Hardware 3 06-08-2004 09:36 PM
Opera wont show a site true_atlantis Mandriva 5 10-27-2003 01:42 PM
Text wont show up - Help WarChild Linux - Hardware 33 03-18-2003 10:53 PM
galeon wont worked after i updated mozilla.... pls help.. kublador Linux - Newbie 5 03-13-2003 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration