hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Installing PHP 4.0.6 on RaQ4 - help!
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Installing PHP 4.0.6 on RaQ4 - help!

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-10-2002, 01:48 AM
microlinx microlinx is offline
Newbie
 
Join Date: Mar 2002
Posts: 5
Question

Installing PHP 4.0.6 on RaQ4 - help!


Recently purchased a RaQ4.

I have installed the OS 2 update and had to uninstall the old PHP ( I never verified that it was working).

I am now trying to get PHP 4.0.6 working and have installed it using the RaQ4 GUI (Maintenance > Install Software > upload ).

No errors were reported, but when I try to pull up a .php3 file it opens a "File download" page, obviously not running the php stuff...

Anyone got any troubleshooting tips?

(I've visited every php link out there only to be overwhelmed with the amount of disparate info!)

TIA!



Reply With Quote


Sponsored Links
  #2  
Old 03-10-2002, 03:14 AM
Mxhub Mxhub is offline
Web Hosting Master
 
Join Date: May 2001
Posts: 2,161
1. pico httpd.conf and search for the domain.com that is using php3 extension.

Add the following:

AddType application/x-httpd-php .php3

Restart apache.

Now .php3 can be read.

I advise you to update php to 4.1.2 . The latest version had a security patches.

__________________
Managed Multi-domain Shared, Reseller, VPS, Dedicated, Shoutcast Hosting
FFMPEG, PHP5, cPanel/WHM, Fantastico, Site Migration, Wordpress, Magento Ready!

Mxhub.com - Since 2001 - USA - UK - Canada - Europe - Singapore



Reply With Quote
  #3  
Old 03-10-2002, 03:59 AM
AP AP is offline
Junior Guru Wannabe
 
Join Date: Sep 2000
Posts: 34
Just FYI, there are some security flaws for most versions of PHP, you might want to upgrade to PHP 4.1.2. Maybe you already knew this, but I thought I'd mention it anyways.

AP

Reply With Quote
Sponsored Links
  #4  
Old 03-10-2002, 06:29 AM
Angel78 Angel78 is offline
Registered User
 
Join Date: Jan 2001
Location: Vienna, Austria
Posts: 2,530
where did you find the 4.0.6 pkg?

Reply With Quote
  #5  
Old 03-10-2002, 10:03 AM
microlinx microlinx is offline
Newbie
 
Join Date: Mar 2002
Posts: 5
*

After taking a quick look at httpd.conf, I found some modules for php that are also commented out...

My assumption was that installing via the GUI would take core of at least some of the configuration with apache, HA!

I guess my real question still is How can I tell if PHP has been installed and working? I created a web page at:
http://www.cobalt-host.com/test.htm which has some simple
php script in it (<?php
echo "Hi, I'm a PHP script!";
?>), but refuses to run the script.
That is telling me the GUI did NOT install php (yes I am now installing 4.1.2)

Finally who has a nice, clear, easy to understand step by step install & troubleshooting procedure for php 4.1.2???

I sure can't find one!


By the way Angel, I got 4.0.6 off the sun/cobalt web packages page, which is probably long gone...if you need it, let me know.

Reply With Quote
  #6  
Old 03-10-2002, 11:16 AM
Angel78 Angel78 is offline
Registered User
 
Join Date: Jan 2001
Location: Vienna, Austria
Posts: 2,530
I do could you mail it or ftp it somewhere?

btw this is php 4.1.2 how to from rackshack

http://forum.rackshack.net/showthrea...&threadid=3985

hope it will help you.

Reply With Quote
  #7  
Old 03-10-2002, 03:55 PM
microlinx microlinx is offline
Newbie
 
Join Date: Mar 2002
Posts: 5
* "File download of .phpx files....

Just another bit of info...
Even though PHP 4.1.2 now seems to have installed
(rpm -qa reports 2 php 4.1.2 packages, see below:
php-4.1.2-PM1
php-devel-4.1.2-PM1
)

I still can not run any php scripts...
I created a page at:
www.cobalt-host.com/phptest.php
which will not spit out any info on php info or the simple text messag, it just wants to download the file, not run it.

try is your self!

This has got to be a stupid, simple config issue.

Thanks


Last edited by microlinx; 03-10-2002 at 05:06 PM.
Reply With Quote
  #8  
Old 03-10-2002, 04:58 PM
GideonX GideonX is offline
Web Hosting Master
 
Join Date: Dec 2001
Location: NYC
Posts: 1,902
Re: "File download of .phpx files....

Quote:
Originally posted by microlinx
Just another bit of info...
Even though PHP 4.1.2 now seems to have installed
(rpm -qa reports 2 php 4.1.2 packages, see below:
php-4.1.2-PM1
php-devel-4.1.2-PM1
)

I still can not run any php scripts...
I created a page at:
www.microlinx.com/phptest.php
which will not spit out any info on php info or the simple text messag, it just wants to download the file, not run it.

try is your self!

This has got to be a stupid, simple config issue.

Thanks
file not found for me

Reply With Quote
  #9  
Old 03-10-2002, 05:14 PM
microlinx microlinx is offline
Newbie
 
Join Date: Mar 2002
Posts: 5
*

sorry, wrong domain..it is
www.cobalt-host.com/phptest.php


Reply With Quote
  #10  
Old 03-10-2002, 05:20 PM
Angel78 Angel78 is offline
Registered User
 
Join Date: Jan 2001
Location: Vienna, Austria
Posts: 2,530
Unhappy

hui i get the download thing... it is not working

Reply With Quote
  #11  
Old 03-10-2002, 06:02 PM
microlinx microlinx is offline
Newbie
 
Join Date: Mar 2002
Posts: 5
*

Ok...

Here's a few questions:

1. where does the cobalt GUI try to install the PHP 4.1.2 package? (full directory path).
2. what config files are involved?
3. is there a process that can be checked to see if PHP is alive?
4. is there a log file to check for install errors or execution errors.
5. are there any known issues or gotchas (please 10,000 words or less.. )

This should get me in the right direction and help me develop a "dummies" version of a install & startup guide for PHP...if that is possible!

Regards
Steve

Reply With Quote
  #12  
Old 03-10-2002, 06:15 PM
GideonX GideonX is offline
Web Hosting Master
 
Join Date: Dec 2001
Location: NYC
Posts: 1,902
open up

/etc/httpd/conf/srm.conf

and look for

AddType application/x-httpd-php .php

if it isn't there (or commented out) it'll give you that download prompt.

oh yea...restart httpd after u do that

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Ex-HostGator Employee Charged with Installing Backdoor to Access 2,700 Servers Web Hosting News 2013-04-19 17:38:42
Site24x7 Offers Website Monitoring Service via New WHMCS Plug-in Web Hosting News 2013-04-19 12:16:46
SoftLayer Technologies Offers Private Cloud Automation Option Web Hosting News 2013-03-07 16:39:13
Softaculous Releases Auto Installer Version 4.1.7 Web Hosting News 2012-12-19 16:45:21
Rogue Antivirus Campaign Tricks WordPress Users, Infects 30,000 Sites Web Hosting News 2012-03-08 12:10:48


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?