The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics 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 06:50 PM
TCPDF 2.2.004 (PHP4 branch) iBot Software Releases - RSS News 0 03-04-2008 05:10 PM
TCPDF 2.2.002 (PHP4 branch) iBot Software Releases - RSS News 0 02-28-2008 04:20 PM
TCPDF 2.2.001 (PHP4 branch) iBot Software Releases - RSS News 0 02-17-2008 02:20 AM
TCPDF 2.1.001 (PHP4 branch) iBot Software Releases - RSS News 0 02-10-2008 01:10 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-30-2001
t_zone t_zone is offline
Registered User
  
 

Join Date: Mar 2001
Posts: 6
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 07:16 PM..
  #2 (permalink)  
Old 09-02-2001
qodoc qodoc is offline
Registered User
  
 

Join Date: Jun 2001
Location: Jakarta, Indonesia
Posts: 7
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0