LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-24-2006, 02:32 AM   #1
mjl3434
Member
 
Registered: Sep 2003
Location: USA
Distribution: Ubuntu 20.04
Posts: 111

Rep: Reputation: 15
problem w/phplot or php5


I'm trying to install the whole snort/apache/mysql/acid thing and I'm having problems with phplot.

I installed apache 2.0.52 to /usr/local/apache2 and untared all of phplot to the folder /usr/local/apache2/htdocs/phplot. I also have php 5.0.2 installed. When I run http://localhost/phplot/examples/test_setup.php it fails like so:

...stuff that appears to work
Fatal error: Call to undefined function imagetypes() in /usr/local/apache2/htdocs/phplot/examples/test_setup.php on line 29

I think that imagetypes() is a php function so my first thought is the problem is with php5. However my simple php test script: <?php phpinfo(); ?> seems to work so that makes me think it might be phplot.

Any ideas of how to fix this?
 
Old 01-24-2006, 03:46 AM   #2
Archangel-13
LQ Newbie
 
Registered: Nov 2004
Distribution: Arch Linux
Posts: 15

Rep: Reputation: 0
Well, from a quick check of the phplot website I see that they only mention phplot being compatable with php version 3 or 4. So it looks like you'll have to settle for php4.
 
Old 01-24-2006, 09:53 AM   #3
mjl3434
Member
 
Registered: Sep 2003
Location: USA
Distribution: Ubuntu 20.04
Posts: 111

Original Poster
Rep: Reputation: 15
Yes I did notice that, but I'm wondering if php 5 should work anyway (like versions are backwards compatible or something). I looked at the imagetypes() function and it says its from these versions of php: (PHP 3 CVS only, PHP 4 >= 4.0.2, PHP 5) So all in all it looks rather new, as in likely php 4.0.2.

Is anyone an expert at php here that might have an idea of why php is choking?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Apache and PHP5 Problem (FC4) jjwl89 Linux - Software 5 06-07-2007 08:59 PM
problem compiling php5 BCarey Slackware 2 01-12-2006 01:07 AM
problem with php5.1.1 reinstall ndekeluka Linux - Software 2 12-18-2005 08:54 AM
PHP5 SimpleXML (problem editing XML) carlosruiz Programming 1 06-23-2005 02:16 AM
installing apache2+php5+mysql4 problem yangying Linux - Software 5 04-21-2005 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:14 PM.

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