Hello!

I think PHP is the best language for Webbing and that is why I deceided to
begin learning it.
I have an Amd 350 Mhz computer with a 4.3Gb Harddisk and 64 Mb of Ram.
I use Windows98 and even if I knew Apache is working very good with Linux
I didn't have enough space to install il (Red Hat Linux).So I tried Apache
on Windows.
I have followed the next steps as advised by the install.txt from PHP
package.

1.unzip php-4.0.6-Win32.zip at c:\php
2.install Apache 1.3.20 in c:\Apache\Apache
3.copy php.ini-dist (from c:\php) in c:\windows and I rename it to php.ini
4.edit php.ini this way:
             extension_dir=c:\php
             doc_root=c:\Apache\Apache
 5.I want to use PHP as a module in Apache so I move php4ts.dll in
c:\windows\system
 6.edit the httpd.conf-the configuration file of the Apache server:
    I add the next two lines:
      I.after Dynamic Shared Object (DSO) Support
         Load Module php4_module c:/php/sapi/php4apache.dll
      II.after AddType aplication/x-tar .tgz
         AddType aplication/x-httpd-php .php .html
 After this I start Apache in its console where I can see written:
      Apache/1.3.20  <Win32> PHP/4.0.6 running
 But a simple script like this isn't working:
<html>
     <head>
         <title>Example</title>
     </head>
     <body>

         <?php
         echo "Hi, I'm a PHP script!";
         ?>

     </body>
 </html>
saved as test.php I get a blank screen in my IE 5.0 browser.
I tried to use also the CGI version of PHP but it isn't working as well.
I have used 2 packeges downloaded recently from php.net .

"PHP 4.1.0 zip package [4,783Kb] - 12 December 2001
(CGI binary plus server API versions for Apache, AOLserver,
ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged
as zip)"

"PHP 4.1.0 installer [918Kb] - 12 December 2001
(CGI only, MySQL support built-in, packaged as Windows installer to
install and configure PHP, and automatically configure IIS, PWS and Xitami,
with manual configuration for other servers. N.B. no external extensions
included)"


What do you think I should do?
Is there any other solution than installing Linux on my computer?

                                                         I expect an answer
with a right solution

Knibalu' (Mihnea Cioca)
                                                    17 years old boy from
eastern Europe.


Hanlon's Razor:
Never attribute to malice that which is adequately explained by stupidity.


-- 
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