Garrett
06-20-2002, 04:26 PM
Hi All,
I installed the two latest raq 4i updates to one of my servers today. After rebooting, the server does not parse PHP documents anymore, it just displays the contents of the file in the web browser.
Furthermore, it doesn't allow telnet access. I can login via FTP though.
Any ideas on what to do to get it working?
All I had running were some static graphics files, and an ad serving program called "phpadsnew" which is mysql based.
Garrett
06-20-2002, 04:50 PM
Ok, here's an update. I needed root access to modify the httpd.conf file (which got modified somehow), and since I couldn't telnet in I was in a pickle.
So, I telneted to another server at rackshack, and tried to telnet in from there. It worked, and I was able to add these lines to the httpd.conf file:
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
And after a reboot, it worked.
But, I still can't telnet in through the cmd window. Any ideas?
blacknight
06-20-2002, 07:27 PM
Can you access the control panel?
FiberOptic
06-21-2002, 02:34 AM
Why using telnet...??
SSH....
Garrett
06-21-2002, 06:31 AM
Originally posted by FiberOptic
Why using telnet...??
SSH....
Because I'm a complete idiot :) Really, i'm the kind of guy everyone makes fun of on here. Just know enough to be dangerous.
Soooo, what is SSH, where can I get it, and why is it better than telnet? I'm sure it is much better, everone seems to love it - just wondering why.
Garrett
06-21-2002, 06:32 AM
Originally posted by blacknight
Can you access the control panel?
Yes, I could access the control panel, and reboot through the web interface.
blacknight
06-21-2002, 01:24 PM
Ok. I don't want to insult your intelligence, but have you enabled PHP via the control panel?
Cephren
06-21-2002, 03:16 PM
You can get ssh from pkgmaster.com
or you can manually rpm the package onto the server.
Garrett
06-24-2002, 11:45 AM
Originally posted by blacknight
Ok. I don't want to insult your intelligence, but have you enabled PHP via the control panel?
Haha, not an insult - it actually took me a while to figure that out. Yes, it's enabled.
blacknight
06-24-2002, 02:33 PM
Check your httpd.conf
On some of the RAQs the default extension might be set to .php , so it will treat .php3 as tect...