PHP help
| From: | jack liow | Date: | Thu, 20 Sep 2001 12:27:53 +0000 |
| Subject: | PHP help | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6511@lists.php.net to get a copy of this message | ||
HI!I am Jack ,from Malaysia,who is a new user of Apache+Mysql+PHP4.0.I dont know why i cant open my php file?
I have follow the instruction for the installation.Here is the steps i done:
1. I install mysql in my c:\mysql.I have make sure mysql can run.
2. I installed Apache in my c:\program file\apache group\....
3. After that i unzip the php zip file into c:\php4\....
4. I have copy the php4ts.dll. from c:\php4\. to c:\windows\system\.
5. I try to move msvcrt.dll to c:\windows\system but seems already exist there so i cant copy to ther and i left like that.
6. I rename php.ini-dist into php.ini
7. I have type some text in httpd.conf under \conf as below:
ScriptAlias /php4/ "c:/php4/"
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 "/php4/php.exe"
ServerName 127.0.0.1
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
.....
....
...
4. Then, I also copy php.ini from c:\php4\. into c:\windows\.
5. Now i have made a php file which included phpinfo() function.Something like this:
<html>
<body>
<?
phpinfo();
?>
</body>
</html>
6. I located phpinfo.php into c:\progam files\apache group\apache\htdocs\.
7. I goto start menu and select start service under apache.
8. I executed php.exe.
9. I try to open phpinfo.php but failed!!!!!!!!
10.I have tried input
http:\\127.0.0.1\htdocs\phpinfo.php
http:\\127.0.0.1\phpinfo.php
Please let me know whats the mistake i have made?
Thanks a lot.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp