The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
TCPDF 3.0.007 (PHP4 branch) iBot Software Releases - RSS News 0 05-06-2008 02:50 PM
TCPDF 2.2.004 (PHP4 branch) iBot Software Releases - RSS News 0 03-04-2008 01:10 PM
TCPDF 2.2.002 (PHP4 branch) iBot Software Releases - RSS News 0 02-28-2008 12:20 PM
TCPDF 2.2.001 (PHP4 branch) iBot Software Releases - RSS News 0 02-16-2008 10:20 PM
TCPDF 2.1.001 (PHP4 branch) iBot Software Releases - RSS News 0 02-10-2008 09:10 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-30-2001
Registered User
 

Join Date: Mar 2001
Posts: 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
redhat 6.2 : Apache + PHP4

Hello,
how are you all , I am having a hard time here

I've got my Linux Redhat 6.2 server , with pre-instalation of redhat.
anyway , I installed mysql (not rpm) and its working very well, but I faced lot of trouple with PHP4.

Apache 1.1.12 was installed through rpm package and I updated it to 1.1.14 today, and I installed ( rpm package) PHP3.0.18 .

I want to install PHP4.0.4pl1 , it's avalable in redhat.com, I tried to download it and run the installation but it failed, it keeps asking for 2 files which are ( libc.so.6 And libresolv.so.2 -GLIBC 2.2- as dependencies). I upgrade the glibc to 2.1.x before that and the those files are on my system but it still asking for them , anyway I failed to upgrade to ( glibc 2.2 which resides on version 7.0 of redhat at ftp.redhat.com) .

I looked at the files at ftp.redhat.com and I couldn't find a GLIBC 2.2 in redhat 6.2 folder , the max version was 2.1 ,, there is GLIBC 2.2 but it's in redhat 7.0 folder , I've tried to install it ! but it also failed.

How in earth could I install PHP4.0.4 (or later) at redhat through rpm ?

---Another thing I did. ( If you think whats below is better, forget what I wrote above there)
Actully I installed PHP4.0.6 (latest stable version ) on my box yesterday, but with no ( --with-apache NOR --with-apx ) because when I tried to use : --with-apache , and I specified the directory ( /etc/httpd ) which is in the access.conf file , make command failed : wrong path to apache, can't find apache.h ( as I think). --with-apx , I failed to find the directory, It's not there.
I compiled it without two options and It goes fine ( with warning about the CGI ) anyway , I added :
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
to access.conf file and I restrated Apache , but it doesn't work !

So now I couldn't have PHP4.x.x installed at all, and the main problem is : my code uses some functions on PHP which require PHP > 4 . in the meantime situation I can't run my code .

Sencerely yours.

Last edited by t_zone : 08-30-2001 at 03:16 PM.
Forum Sponsor
  #2 (permalink)  
Old 09-02-2001
Registered User
 

Join Date: Jun 2001
Location: Jakarta, Indonesia
Posts: 7
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
redhat 6.2: apache+php4

redhat 6.2 packaged with php3. so i think if you just want to run apache+php4, and don't want to be meshed up with setting some rpm, and some are not, why don't you upgrade to redhat 7.0 or 7.1. it include php4 engine 'off the shelf'.

i currently am running redhat 7.0 and without problem running php4 script 'off the shelf'. if you're maintaining php3 files, you still can run it, but it's better to change extension '.php3' to 'php' only.

qodoc
Google UNIX.COM
Closed Thread



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102