Regarding your php code, did you configure the httpd conf file to handle PHP on your server? If not, this is the reson, your server still do not know how to handle the php scripts..
look for these entries in your httpd.conf file, if not existed add them according to your paths. Action application/x-httpd-php /php/php.exe AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps ScriptAlias /php/ "C:/php/" No, if you have configure the apache properly(with default settings) you can put the php code in any folder within the root folder of the web server. Server name, domain name and administrator e-mail address are specific to your server. When a user get an error page of you server, it will display these information to contact you. but the mainthing is to identify the server on a network, this domain name and server name are important. If you are using your apache server for local test purposes, you have to use "127.0.0.1" or "localhost" as your server name. When you install apache on your system the instalation programme ask these values, 'cos they are required inorder to configures httpd.conf file. If you want you can change values manually. regards Happy Coding V. K. Abayarathna - ++ www.CeyNet.net - Low Cost web hosting, designing services..++ -----Original Message----- From: murtaza [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 9:10 PM To: [EMAIL PROTECTED] Subject: [PHP-INST] why i can't execute my php codes I have a problem! I cant make work PHP with Apache . php is : php 4.2.1 apache is : Apache Server version 1.3.23 the installation is successful , but when i'm tring to run the php code i'm not able to see any thing in the browser except the title in the php code "Hello World". I made the php code in dreamweaver 4 and saved it in the C:\Program Files\Apache Group\Apache\htdocs and when i tried to execute the code in the browser by giving http://192.168.0.170/php_test.php i'm not able to see any thing in the browser except the title. I also want to know that every thime i have to execute a php code i've to save it in the C:\Program Files\Apache Group\Apache\htdocs, if yes the nis ther any way out that i can execute my php code saved in any folder and any drive on my hard disk with out saving it to C:\Program Files\Apache Group\Apache\htdocs. and wht abot those information which i provided during the installation of apache server info like : Network Domain : Kuwaitnet Server Name : Murtaza Administrator's email add : [EMAIL PROTECTED] wht r these information, pls help , regarding this. best regards murtaza -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php