I want to install PHP. And I want to use it with Apache server. I download PHP4.0.6, 
php-4.0.6-Win32.zip and the installer, php406-installer.exe. However, there are some 
problems. 

I think I was followed the instruction written in the intall.txt in the zip file. Here 
is the steps that I installed PHP. 

1. Unzip the zip file to c:\php 
2. Copy php.ini-dist to c:\win98 and rename it to php.ini. 
3. Edit php.ini, by changing the 'extension_dir' setting to c:\php 
4. I also set the 'doc_root' to 
c:\Program Files\Apache Group\Apache\htdocs 
5. I have not uncomment any extensions since I do not need them. 
6. I add the directives to httpd.conf 
ScriptAlias /php/ "c:/php/" 
AddType application/x-httpd-php .php 
Action application/x-httpd-php "/php/php.exe" 
(In fact, I am not sure if these statements are put in the correct positions) 
7. Copy MSVCRT.DLL and PHP4TS.DLL to c:\win98\System 

In fact, then, I have tried to install in 2 ways. 
Method 1 
8. Run php.exe in c:\php 

Method 2 
9. Execute the installer 

In 8. there are no reponse and only a dark DOS prompt with a title PHP is shown and it 
seems to be stop running. The installation is not succeed. 

In 9. I can follow the steps by clicking some NEXT. After some process, the, some 
folders are generated in c:\php. However, if I choose the option of web server Apache, 
then a message is prompted as followed. 
Apache Configure 
Sorry, the software to automatically configure the Apache 
httpd.conf file has not yet been written. You will have to configure Apache manually. 
See the php readme file for more 
details. 
(Actually, where httpd.conf should be placed? And where is the php readme?) 
However, the Installation complete is prompted. 

I cannot find anything about PHP in Start Menu and Add/Remove in Control Panel. I 
really want to know how can I know PHP is installed properly and how can I test it. 
Any user guide (NOT programmer guide) are provided? 

In my situation, I want to process offline for the testing purpose, do I need to make 
other specials setting? Also, I have tried the following script in Apache server 
<?php 
phpinfo(); 
?> 
However, the browser only print out 
phpinfo(); 
Do you know why? 

Thank you very much!!
==================================================================
新浪免費電子信箱  http://sinamail.sina.com.hk




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to