Linux, Apache, PHP, MySQL Administrators Forums

Go Back   Linux, Apache, PHP, MySQL Administrators Forums > LAMP Forums > Apache

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-06-2009, 12:20 AM
Junior Member
 
Join Date: Jul 2009
Posts: 3
Default apache set up problems

U have spent 4 days trying to configure my router thinking that it is my router that is not working but when I go to my dynamic dns or my static ip address it takes me to my admin router on the local computers.

when I type httpd it says it cannot bind to port 0.0.0.0:80 i checked it is set up to listen to port 80 this is really confusing me i am beginning to think the people who built my server did not set it up properly if i go to localhost or 0.0.0.127 it goes to the apache default page fine.

I have not changed anything since it wad installed except the centos 5 updates any ideas?

When i login my password is root and the password is the default I have changed nothing else on the system as I still have no clue about it.

Just to clarify on my router I have port 80 and port 443 set to my static ip address is this correct?

Can anyone give me an idea of what i need to check? On my router I have set up port 80 and port 443

Sorry but i have no idea what i am doing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-06-2009, 12:28 AM
Administrator
 
Join Date: Jan 2009
Posts: 40
Default

Hi shadiadiph,

Welcome to LAMP Admins!

I am quite confused on what you are trying to achieve. Are you trying to set up an HTTP server on your local LAN and trying to forward the request from your router?

If so start with verifying that HTTP on your server is running properly, if not let us know of the errors you are getting.

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-06-2009, 03:28 AM
Junior Member
 
Join Date: Jul 2009
Posts: 3
Default

hi thanks for the reply but i have got it working now just couldn't get any access from outside ips i just changed the LAN settings and can now access my server from outside now. I know the guys who built my server installed centos 5 on it but am not sure what also came with this not sure if it has php installed sql or a mail server do you know how i can check these things out?. Sorry but i have never owed a server before never used linux before I am adept at php programming thats about it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-06-2009, 03:48 AM
Junior Member
 
Join Date: Jul 2009
Posts: 3
Default

I figured out i have php i just posted a phpinfo(); page but not sure if i have sql or a mail server?? Is there anyway of checking?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-06-2009, 06:58 AM
Administrator
 
Join Date: Jan 2009
Posts: 40
Cool

If you are running CentOS, you are most probably already have sendmail MTA, so you can send mails via PHP if that is what you are really after. Sending and receiving will be a different story.

For SQL server, that depends on which particular SQL server you want MySQL/PostgreSQL/Oracle? To check if they are installed just use the command:

Code:
yum list installed|grep sql
You should come up with a list like:

Code:
[root@zeus ~]# yum list installed|grep sql
mysql.i386                               5.0.79-1.el5.art       installed       
mysql-devel.i386                         5.0.79-1.el5.art       installed       
mysql-libs.i386                          5.0.79-1.el5.art       installed       
mysql-server.i386                        5.0.79-1.el5.art       installed       
perl-DBD-mysql.i386                      4.010-1.el5.rf         installed       
php-mysql.i386                           5.2.9-2.el5.art        installed       
postgresql-libs.i386                     8.1.11-1.el5_1.1       installed       
python-sqlite.i386                       1.1.7-1.2.1            installed       
sqlite.i386                              3.3.6-2                installed       
sqlite-devel.i386                        3.3.6-2                installed
As you can see from my result, MySQL server is installed as well as the corresponding PHP extension, php-mysql.

HTH
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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. The time now is 04:21 PM.


Community hosted with DotManila Consulting
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2