Installing PHP 4.4.0 on Win 98 with Apache 1.3.33
| From: | m r rao | Date: | Fri, 22 Jul 2005 19:50:41 +0000 |
| Subject: | Installing PHP 4.4.0 on Win 98 with Apache 1.3.33 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16514@lists.php.net to get a copy of this message | ||
I am trying to install PHP 4.4.0 (php-4.4.0-win32) as a server module
under Win 98, to work in tandem with Apache 1.3.33.
PHP works fine by itself, as tested by the command in a DOS window:
php -i
Apache also works fine as the default Apache server page is displayed
through IE.
But the problem is that they don't work together. A aimple PHP script,
phpinfo.php:
<? phpinfo() ?>
is displayed as it is i.e. the PHP source is displayed.
This problem is described in your INSTALL.html as follows:
"Common Problems
* If you see the PHP source instead of the result the script should
produce, you have probably forgot to edit /etc/conf.d/apache.
Apache needs to be started with the -D PHP4 flag. To see if the
flag is present, you should be able to see it when using ps ax |
grep apache while Apache is running."
The solution given is for Unix/Linux. I want a similar solution for Win 98.
Can you please help? Thanks!
m r rao
P.S.: I am attaching the files: autoexec.bat, httpd.conf and php.ini