LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-08-2011, 10:23 AM   #1
magicalshashank31
Member
 
Registered: Apr 2011
Posts: 81
Blog Entries: 1

Rep: Reputation: 0
php in Apache server


I am building a apache server in rhel 6,i make two pages
1. index.html
2. index2.php

actually i am making a form in html and want to redirect the output of form in index.html via index2.php , in html form i write <form action ="index2.php" method="post" />

but when i run the apache server and open the site in firefox it is not able to compile index2.php , due to which i am not able to get output of the form that i have made in index.html...

is there any way to compile index2.php
please help
 
Old 09-08-2011, 04:18 PM   #2
zackwasa
Member
 
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
Hi,

Can you please tell us what you mean by not being able to compile index2.php?

DO you get any errors?

Please provide as much details as possible

RMI

Last edited by zackwasa; 01-12-2012 at 12:53 AM.
 
Old 09-09-2011, 01:49 PM   #3
mtlhd
Member
 
Registered: Sep 2007
Location: Florida
Distribution: Raspbian, Debian, CentOS, Ubuntu
Posts: 131

Rep: Reputation: 18
is PHP fully installed?

Might be a trivial, but I would do a quick check to see if PHP is actually installed.
If it is, make sure in your conf files for apache DirectoryIndex index.php is there.
 
1 members found this post helpful.
  


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
Please help with Apache Web Server / Apache Tomcat / PHP / Java / PHP-Java Bridge jpmad4it Linux - Server 2 01-05-2009 06:07 AM
MYSQL Server + Apache Server + PHP gabriellai Linux - Networking 7 05-26-2005 12:03 PM
apache server with php djgerbavore Linux - Networking 2 11-13-2004 01:07 PM
setting up a slack, apache server with php and a sql server. caged Slackware 1 10-25-2004 04:45 AM
Apache+php on one server and MySQL on onother server? goe Linux - Newbie 3 08-19-2004 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:54 PM.

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