473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Weird problem with PHP

I have installed GDE and PHP 5.2.4. If I run phpinfo from a web page it
reports version 5.1.4 instead of 5.2.4. It also does njot show gd support.
I get a "Call to undefined function imagecreatefromjpeg" in a web page I am
working with.

I go to a command prompt (Linux Fedora 4) and it shows 5.2.4 with gd
enabled.

I have recompiled Apache (2.2.4), PHP (5.2.4) and GD (2.0.35) and
reinstalled all 3 - still the same result.

I do a locate for php and only find the 5.2.4 version in any of the
executable directories.

How can I find where the 5.1.4 is coming from.

Glenn
Nov 1 '07 #1
3 1254
DaWiz wrote:
I have installed GDE and PHP 5.2.4. If I run phpinfo from a web page it
reports version 5.1.4 instead of 5.2.4. It also does njot show gd support.
I get a "Call to undefined function imagecreatefromjpeg" in a web page I am
working with.

I go to a command prompt (Linux Fedora 4) and it shows 5.2.4 with gd
enabled.

I have recompiled Apache (2.2.4), PHP (5.2.4) and GD (2.0.35) and
reinstalled all 3 - still the same result.

I do a locate for php and only find the 5.2.4 version in any of the
executable directories.

How can I find where the 5.1.4 is coming from.

Glenn
Find out where your web server is loading the PHP library from
(httpd.conf for Apache). And check phpinfo() in both versions to see
which config file you're using.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Nov 1 '07 #2
Rob
On Nov 1, 12:11 pm, "DaWiz" <da...@dawiz.netwrote:
I have installed GDE and PHP 5.2.4. If I run phpinfo from a web page it
reports version 5.1.4 instead of 5.2.4. It also does njot show gd support.
I get a "Call to undefined function imagecreatefromjpeg" in a web page I am
working with.

I go to a command prompt (Linux Fedora 4) and it shows 5.2.4 with gd
enabled.

I have recompiled Apache (2.2.4), PHP (5.2.4) and GD (2.0.35) and
reinstalled all 3 - still the same result.

I do a locate for php and only find the 5.2.4 version in any of the
executable directories.

How can I find where the 5.1.4 is coming from.

Glenn
Take a look at these two lines in phpinfo, to see if something isn't
being loaded as you think :-

Configuration File (php.ini) -Path C:\WINDOWS
Loaded Configuration File -C:\PHP\php.ini

Nov 1 '07 #3
On Nov 1, 1:11 pm, "DaWiz" <da...@dawiz.netwrote:
I have installed GDE and PHP 5.2.4. If I run phpinfo from a web page it
reports version 5.1.4 instead of 5.2.4. It also does njot show gd support.
I get a "Call to undefined function imagecreatefromjpeg" in a web page I am
working with.

I go to a command prompt (Linux Fedora 4) and it shows 5.2.4 with gd
enabled.

I have recompiled Apache (2.2.4), PHP (5.2.4) and GD (2.0.35) and
reinstalled all 3 - still the same result.

I do a locate for php and only find the 5.2.4 version in any of the
executable directories.

How can I find where the 5.1.4 is coming from.

Glenn
Wonderful situation to realise you should switch to Linux.

Nov 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Gabriel Afana | last post by:
I have a simple php script to just send email.....When I first load the script in a browser...it sends 2 emails. Why?? The weird thing is then when I refresh the page, it send only one email...I...
3
by: redneck_kiwi | last post by:
Hi all: I have a really weird problem. I am developing a customer catalog system for my company and as such have delved into sessions for authentication and access levels. So far, I have managed...
0
by: LRW | last post by:
I manage our mySQL database through putty (SSH terminal client). And whenever I do a select * from the table that contains ENCODEd passwords, the funky characters do funky things with the display....
1
by: Kaneda | last post by:
Hello everyone! I have some weird(?) problems, and I am not quite sure if there are due to my errors or maybe a limitation in the .Net framework. I have a ComboBox I need to fill with the...
0
by: Kaneda | last post by:
Hello everyone! I have some weird(?) problems, and I am not quite sure if there are due to my errors or maybe a limitation in the .Net framework. I have a ComboBox I need to fill with the...
6
by: Unicorn | last post by:
I can only say this is a weird problem! I will be sitting there typing away in the code window, when the whole IDE just vanishes without a trace. I get no error messages and no indication, it...
82
by: nobody | last post by:
Howdy, Mike! mikecoxlinux@yahoo.com (Mike Cox) wrote in message news:<3d6111f1.0402271647.c20aea3@posting.google.com>... > I'm a C++ programmer, and have to use lisp because I want to use >...
13
by: Dmitry Tkach | last post by:
Hi, everybody! Here is a weird problem, I ran into... I have two huge (80 million rows each) tables (a and b), with id as a PK on both of them and also an FK from b referencing a. When I try to...
3
by: aling | last post by:
Execute following T-SQL within Queary Analyzer of SQL Server 2000: ======================================= DECLARE @dTest DATETIME SET @dTest='2001-1-1 1:1:1:991' SELECT @dTest SET...
0
by: P Pulkkinen | last post by:
Dear all, sorry, i know this code is far little too long to debug here, but there is really annoying logical error. If someone debugs this, I really offer warm virtual handshake. What this...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.