Re: Unable to install PHP 4.0.6 with Apache on Win98
| From: | Balraj Dhaliwal | Date: | Tue, 04 Dec 2001 14:55:56 +0000 |
| Subject: | Re: Unable to install PHP 4.0.6 with Apache on Win98 | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5188@lists.php.net to get a copy of this message | ||
Good news, I've solved the problem. For those interested, it was related to steps
and information missing in the install guidelines. I found this source to be
excellent:
http://www.webreview.com/2000/09_29/developers/09_29_00_2.shtml
Cheers,
Balraj
Balraj Dhaliwal wrote:
> Dear Chris,
> Thanks for the suggestion. There is progress, but I am still having problems.
> I renamed the file to testphp.php as you suggested and when opening the file
> in Internet Explorer, I still get a blank screen but there is a window that
> pops up just for a nanosecond - this is the standard IE window that is asking
> whether I want to open the file or save it to disk.
>
> A view source now shows the following:
> <HTML></HTML>
>
> I'm still confused about whether Apache should report that PHP is installed
> or not. Currently, it is not.
>
> Hope you [or somebody else] can help with this.
>
> Many thanks,
> Balraj
>
> Chris wrote:
>
> > Hello,
> > Read below...
> >
> > > New Apache/PHP4 user needs help...
> > >
> > > I have got Apache 1.3.22 running on Win98SE. When the console is
> > > started it reports "Apache/1.3.22 (Win32) running..." and the
> > > "http://localhost" shows that Apache has
> > > been configured and is
> > > running.
> > >
> > > However, after installing PHP 4.0.6 CGI manually into c:\php4 using the
> > > following:
> > >
> > > 1. edit c:\windows\php.ini with :
> > > extension_dir = c:\php4
> > > doc_root = c:\apache\htdocs
> > > 2. edit apache configuration file and add the following lines:
> > > ScriptAlias /php/ "c:/php4/"
> > > AddType application/x-httpd-php .php
> > > AddType application/x-httpd-php .phtml
> > > Action application/x-httpd-php "/php/php.exe"
> > >
> > > These lines were added after the:
> > > ScriptAlias /cgi-bin/ "C:/Program Files/Apache
> > > Group/Apache/cgi-bin/"
> > > which I assume must still be present.
> > >
> > > When restarting the Apache console, the same message appears as before:
> > > "Apache/1.3.22 (Win32) running..."
> > >
> > > Here I would have expected to see additional PHP information.
> > >
> > > When running "<?php phpinfo(); ?>" as a file called testphp.html,
> >
> > That file should read testphp.php *not* .html :-)
> >
> > That should get it (assuming there are no other issues.
> >
> > Best wishes,
> > Chris
> >
> > > I
> > > get a blank screen. View source [according to the PHP FAQ] shows the
> > > source line which implies that the command was not sent to the server
> > > [I assume the Apache/PHP4 server] correctly.
> > >
> > > Any information to help me resolve this problem will be most helpful.
> > > Thanks.
> > >
> > > Balraj.
> > >
> > >
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-install-help@lists.php.net
> > > To contact the list administrators, e-mail:
> > > php-list-admin@lists.php.net
> >
> > --
> > H.R. Communications Corp.
> > http://www.dnswatch.com
> >
> > ............................................
> > This email was sent using DNSWATCH WebMail.
> > "Get an account today!"
> > http://www.dnswatch.com/dnswm112/