LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-17-2007, 10:38 AM   #1
zoffmann
Member
 
Registered: Jun 2005
Posts: 60

Rep: Reputation: 15
Cool how to check sever configuration


I know that my ISP use Apache 1.03 for storing our webpages.

It seems that the server is not configured to use php. (phpinfo(); doesn't work)

So I want to upload some html (or similar) document which will check how the server is configured. How do I do that ?

Why I am asking this question and not calling directly my ISP's support - because they will ask me what the webserver is.

Thanks in advance.

 
Old 12-17-2007, 04:15 PM   #2
poonippi
Member
 
Registered: Dec 2007
Distribution: Debain Fluxbox
Posts: 72

Rep: Reputation: 15
Put this into your editor of choice:

---cut-here---
<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>
---cut-here---

Save as phpinfo.php then upload to your pulic html directory.
 
Old 12-17-2007, 07:01 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,239

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
"Why I am asking this question and not calling directly my ISP's support - because they will ask me what the webserver is."
And that's a problem because ????
 
Old 12-18-2007, 02:16 AM   #4
zoffmann
Member
 
Registered: Jun 2005
Posts: 60

Original Poster
Rep: Reputation: 15
The code above didn't worked:


<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>




to Chris - I haven't opportunity to ask on some other place for this problem - isn't it obvious ?

I just wanted to explain why I am asking such a question, people who work at my ISP's support are not very capable to answer such a question.

Is it now clear?
 
Old 12-18-2007, 04:30 AM   #5
poonippi
Member
 
Registered: Dec 2007
Distribution: Debain Fluxbox
Posts: 72

Rep: Reputation: 15
Quote:
Originally Posted by zoffmann View Post
The code above didn't worked:


<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>

The code does work, I just tried it. Perhaps your ISP have phpinfo() blocked, that would not be so uncommon.

What do you want to know about your ISP PHP settings? Surely they have a technical support team you can email?
 
Old 12-18-2007, 05:56 AM   #6
mohtech
Member
 
Registered: Dec 2004
Location: Denver Colorado
Distribution: Kubuntu/Debian
Posts: 120

Rep: Reputation: 15
If phpinfo() is blocked...

try a "Hello world" script something simple
<?php
echo "hello world";
?>

save as hello.php and see if that works, if not, then php is most likely not configured.

I have only used Apache 2.2 and I know you can easily install a mod_php5 module to make it work.
I assume that it is similar with Apache 1.3 but I don't know the particulars.
 
Old 12-18-2007, 06:07 AM   #7
zoffmann
Member
 
Registered: Jun 2005
Posts: 60

Original Poster
Rep: Reputation: 15
Code:
<?php
echo "hello world";
?>
Nope, it doesn't work. Php is not configured and I don't have possibility to add a module :=(.
 
Old 12-18-2007, 02:05 PM   #8
poonippi
Member
 
Registered: Dec 2007
Distribution: Debain Fluxbox
Posts: 72

Rep: Reputation: 15
Surely you can contact your ISP and query their PHP config. If they can't do that then I would suggest hosting else where. I use positive-internet.com, open-source web-host ;-) OR make your own server :-P
 
Old 12-18-2007, 03:18 PM   #9
zoffmann
Member
 
Registered: Jun 2005
Posts: 60

Original Poster
Rep: Reputation: 15
I have sent mail to them but no answer.

I have to accept that I can only have .html pages on their server, and if I want php then I have to go somewhere else.

But thanks for your help guys.
 
Old 12-18-2007, 06:26 PM   #10
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,239

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
I wasn't trying to be rude, it's just that it's the ISP's job to know what they've got. I used to work for one.
As poonippi said, if they can't answer a simple qn like that, I strongly recommend you move, it'll be nothing but grief in the long run if you don't.
Remember, you can host anywhere in the world, it doesn't have to be with your ISP.
 
Old 12-18-2007, 07:13 PM   #11
mohtech
Member
 
Registered: Dec 2004
Location: Denver Colorado
Distribution: Kubuntu/Debian
Posts: 120

Rep: Reputation: 15
If you are shopping around for ISPs, I use...

Siteground.com For ~$7.00 a month, you get 750 GB of storage, PHP, Mysql and a lot of Open Source software packages (Joomla! and Moodle to name a few)

I like the value, and I have hosted from them for years, However, they're help desk is a bit clunky for my taste.

Thats what I have, and even though people can offer their own opinions about particular ISPs, know that you deserve better than how yours is treating you. If they don't value your money enough to provide the services you want, you are free to take your money to someone who does.

Shop around
 
Old 12-19-2007, 05:41 AM   #12
zoffmann
Member
 
Registered: Jun 2005
Posts: 60

Original Poster
Rep: Reputation: 15
I am not from USA.

But how do I renew my subscription when the subscription time is gone.

Do they send some kind of email to me?
 
Old 12-19-2007, 06:12 PM   #13
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,239

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
You must have a copy of the orig ctc somewhere, it'll tell you all that stuff.
A lot of western country ISP's insist on CC or bank details, so they can automatically keep on billing you and you have to cancel the arrangement if you DON'T want to continue.
Where are you & your ISP?
 
Old 12-19-2007, 08:03 PM   #14
zoffmann
Member
 
Registered: Jun 2005
Posts: 60

Original Poster
Rep: Reputation: 15
I live in sweden.
 
Old 12-20-2007, 04:47 PM   #15
poonippi
Member
 
Registered: Dec 2007
Distribution: Debain Fluxbox
Posts: 72

Rep: Reputation: 15
I have a server that I would not mind you hosting on, for free. Email me at jon at whiteheat dot org dot uk to discuss details if your interested ;-)
 
  


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
How can i check last configuration of openssh? xitrum1110 Linux - General 2 08-08-2007 08:32 PM
DNS sever configuration ebsosoft Linux - Networking 2 07-06-2006 12:38 PM
hardware configuration check uburaks Linux - General 1 02-01-2006 06:11 AM
how to check processor configuration imezsons Linux - Hardware 1 12-28-2004 08:21 AM
postfix configuration check Robin01 Linux - Software 0 01-28-2004 06:33 PM


All times are GMT -5. The time now is 09:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration