Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old October 28th, 2001, 09:35 AM
phplover phplover is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Location: Wigan England
Posts: 2 phplover User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy php and apache

I just managed to instal apache on Windows ME.
To run php script, do I need to install other software or is it a matter of configuring .conf files?

I added this in httpd.conf:
<Directory "C:/Program Files/Apache Group/Apache/htdocs/myphp">
Options +ExecCGI
</Directory>

But when I tried this test.php in that directory:
<HTML>
<HEAD>
<TITLE>Our first PHP3.0 script</TITLE>
</HEAD>
<BODY>
<CENTER>Our first PHP3.0 script</CENTER>

<?
/* the above "<?" signals that the PHP script has begun */
$today = date("Y-m-d");

PRINT "<CENTER>Today is: $today.</CENTER>";

# the following "?>" closes the script
?>

</BODY>
</HTML>

I got only 'Our first PHP3.0 script' without 'Today 2001-10-28'.
What is the problem

Reply With Quote
  #2  
Old October 28th, 2001, 07:51 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
First off, I know nothing when it comes to PHP/Apache on Windows.

PHP Script is NOT CGI script. Therefore, you don't need to ExecCGI it.

Reply With Quote
  #3  
Old October 28th, 2001, 10:12 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Heh, freebsd is right.. Maybe, you should read my guide installtion/tutorial at http://www.lameindustries.org/tutor...es/apache.shtml ..

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > php and apache


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway