GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 29-Aug-2006, 22:30
nandy nandy is offline
New Member
 
Join Date: Aug 2006
Posts: 1
nandy is on a distinguished road

Work on Apache server


I have just installed Apache Web Server 4.0.May I know how can I solve the problem below:
The server always display the code of my PHP page when I visit that page second time.The first time has no problem.Please tell me what the problem is?
Thank you.
  #2  
Old 30-Aug-2006, 00:47
Napsty Napsty is offline
New Member
 
Join Date: Aug 2006
Location: Switzerland
Posts: 3
Napsty is on a distinguished road

Re: Work on Apache server


Maybe I'm out of date but Apache Server 4.0??? As far as I know the newest version is 2.2.x.

What's your OS? Extensions of the PHP Sites you opened via browser? Are HTML pages shown correctly? Is there a difference between the first and the second PHP page?
  #3  
Old 01-Sep-2006, 03:26
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

Re: Work on Apache server


Also, check your php.ini setting for:

Code:
; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. ; NOTE: Using short tags should be avoided when developing applications or ; libraries that are meant for redistribution, or deployment on PHP ; servers which are not under your control, because short tags may not ; be supported on the target server. For portable, redistributable code, ; be sure not to use short tags. short_open_tag = off

See the notes above and compare that to how you start (write) your php scripts... then set the option accordingly.
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random access files Krazy_yA C Programming Language 6 07-May-2006 01:44
help me on Apache server albert85 Apache Web Server Forum 1 06-Feb-2006 15:05
apache server configuration problem albert85 Apache Web Server Forum 1 03-Jan-2006 06:03
Microsoft SQL Server :: SQL Server message 241, state 1, severity 16 lyuboe MySQL / PHP Forum 0 11-May-2005 04:31
Can't view pages from another machine on the Intranet aevans Apache Web Server Forum 9 14-May-2004 02:26

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:20.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.