|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
Heh, freebsd is right.. Maybe, you should read my guide installtion/tutorial at http://www.lameindustries.org/tutor...es/apache.shtml ..
![]() |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > php and apache |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|