Re: Problems getting php to load of apache 1.3.19 under Windows Millenium Edition
| From: | James Tan | Date: | Tue, 17 Jul 2001 11:45:56 +0000 |
| Subject: | Re: Problems getting php to load of apache 1.3.19 under Windows Millenium Edition | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3585@lists.php.net to get a copy of this message | ||
hi,
did u copy your c:\php\php.ini.dist to c:\windows\php.ini ?
did u copy c:\php/php4ts.dll to c:\windows\system32\?
try restart ur apache after u have copied both file..
hope it works.. :)
regards,
James
Emerald Shop wrote:
> Hi there,
>
> PLEASE HELP!,
> I'm running windows Me, I installed Apache 1.3.19 first, I tested it
> with a html file, it works just fine. Then I installed PHP4, using the
> windows installer version, then I followed the instructions and unzipped
> the zip version into the folder c:\php, I then added the following commands
> to the httpd.conf :
>
> #for the cgi binary (you can use that one compiled with force cgi redirect
> too)
> ScriptAlias /php4/ "C:/php/"
> Action application/x-httpd-php4 "/php4/php.exe"
> AddType application/x-httpd-php4 .php
> #I put this in
> ScriptAlias /php/ "c:/php/"
> AddType application/x-httpd-php .php .phtml
> Action application/x-httpd-php "/php/php.exe"
> #I put this in
> LoadModule php4_module c:/php/sapi/php4apache.dll
> AddType application/x-httpd-php .php .phtml
>
> After this I reloaded the apache server, it says this when it loads :
>
> "Apache/1.3.19 <Win32> running..."
>
> so it seems as if I should be able to view php files off of the apache web
> server, but it doesn't work, when I go to a test page with a VERY
> simple php script :
>
> <html>
> <head>
> <title>Hello World</title>
> </head>
> <body>
> <? echo phpinfo() ?>
> </body>
> </html>"
>
> The page loads nothing but blank white there's something wrong with the
> script but I got it from the php.net tutorial.
> All I really NEED from this apache server is the ability to test .php files
> as I learn PHP.
>
> Thank you very much for your cooperation.
>
> Best regards,
>
> Emerald Shop
> Eng. Aldemar Martin B.
> Manager
> Calle 22 #20-26
> Santa Fe de Bogota, D.C. - COLOMBIA
> Phone: (571) 562 29 11
> Fax: (571) 268 45 60
> email: emeraldshop@tutopia.com