Search found 3 matches
Aprelium Forum Index
Author Message
  Topic: Php won't work in htdocs, only in cgi-bin
Xpree

Replies: 8
Views: 16403

PostForum: PHP   Posted: Fri Jul 25, 2003 5:26 am   Subject: Php won't work in htdocs, only in cgi-bin
Whatever. I had it going in minutes, and started learning the PHP thing right away. I wouldn't call "apache" crap. It's just another server and I found that it's easier for me, does what I wanted/need ...
  Topic: Php won't work in htdocs, only in cgi-bin
Xpree

Replies: 8
Views: 16403

PostForum: PHP   Posted: Fri Jul 25, 2003 2:04 am   Subject: Php won't work in htdocs, only in cgi-bin
And what will happen if there's a cgi script in the htdocs folder? It'll execute, more then likely. I don't want that. :( Well, I decided to go with Apache web server. More secure and I have better co ...
  Topic: Php won't work in htdocs, only in cgi-bin
Xpree

Replies: 8
Views: 16403

PostForum: PHP   Posted: Thu Jul 24, 2003 5:09 pm   Subject: Php won't work in htdocs, only in cgi-bin
I saved this to hello.php:

<html>
<body>

<?php
printf('hello world');
?>

</body>
</html>

And went to run it from http://127.0.0.1/hello.php (note that htt ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB phpBB Group