LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-15-2006, 02:19 PM   #1
edijs
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Rep: Reputation: 0
Arrow how to test my LAMP?


Hello!

I have to set up a LAMP (with SSL) web platform. I got apache+mod_ssl, openSSL, mysql, php4 and respective modules and plugs.
Apache works just fine. I can connect to my localhost:443 . MySQL works to - I can create databases and run queries.

At this point some questions emerged:

1) How can I make the the localhost site to be https://localhost, not http://localhost:443 ?

-and-

2) How can I test if my platform works? Some fast way - just to show that the platform has been built?



thanks!
 
Old 06-16-2006, 02:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
2. A quick way is through phpinfo(). Create a page test.php with the following code:
Code:
<?php
phpinfo();
?>
and point your browser to that URL (i.e. http://localhost/test.php)

1. To use SSL you must create a pair of certificate/key for your server and use port 443 to listen for secure connections. Take a look at this howto for details.
 
Old 06-18-2006, 09:18 AM   #3
edijs
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Smile

Thanks! I'm now done with my LAMP and everything works just fine!
 
  


Reply



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
Lamp drsketch1 Linux - Software 1 05-25-2006 07:51 AM
Why should use LAMP ? LinuxLover Linux - General 8 03-29-2006 10:55 PM
FC4 Test 1 CD Test failes every DISC Jimbo99 Linux - Software 1 03-18-2005 03:16 PM
Lamp mikage14 LinuxQuestions.org Member Success Stories 2 05-08-2004 03:20 AM
Little LAMP help ElementNine Linux - Software 4 01-19-2004 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration