RE: [PHP-INSTALL] PHP 4.3.4 on Apache 1.3.29 for Win2K
| From: | jeffrey_n_Dyke at Keane dot com | Date: | Mon, 08 Mar 2004 15:14:18 +0000 |
| Subject: | RE: [PHP-INSTALL] PHP 4.3.4 on Apache 1.3.29 for Win2K | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12931@lists.php.net to get a copy of this message | ||
zareef ahmed saifi,
Thank you for the information.
I followed "Installing PHP on Windows with Apache 1.3.x" instructions.
http://in.php.net/manual/en/install.apache.php#install.apache.windows
PHP was installed as module. Httpd.conf was changed but, Apache could
not start due to error:
"Syntax error on line 240 of z:/apache/conf/httpd.conf:
Cannot add module via name 'mod_php4.c': not in list of loaded modules"
----------
Do you have a PHP entry in the LoadModule section as well as the addmodule
section. for example, mine is
LoadModule php4_module c:/php/sapi/php4apache.dll
on the exact same set up.
hth
Jeff
---------
Any Clues? Please adivse. Thank you.
===
Anthony Alvarez, AAlvarez@casio.com
Phone: (973) 361-5400 x1309
Casio Internet Marketing Dept.
570 Mount Pleasant Avenue
Dover, NJ 07801-1620 USA
> -----Original Message-----
> From: zareef ahmed [mailto:zareefsaifi@yahoo.com]
> Sent: Saturday, March 06, 2004 3:28 AM
> To: Alvarez, Anthony; 'php-install@lists.php.net'
> Subject: Re: [PHP-INSTALL] PHP 4.3.4 on Apache 1.3.29 for Win2K
>
>
> Hi Anthony !
> following page may be usefull to you.
>
> http://in.php.net/manual/en/install.apache.php#install.apache.windows
>
> ANYWAY if you are just going to use this machine as a
> test server Xitami server from xitami.com is a good
> server to try. Its tiny and moreover no hard tweaking
> is necessary to run it.
>
> zareef ahmed saifi.
>
>
> --- "Alvarez, Anthony" <aalvarez@casio.com> wrote:
> > I need help to configure PHP 4.3.4 with Apache
> > 1.3.29 on Windows 2000 SP4.
> >
> > I tried to modify Apache's Httpd.conf both ways to
> > no avail.
> > Restarting the server did not change anything
> > either.
> >
> > Option 1:
> > ScriptAlias /php/ "z:/php/"
> > AddType application/x-httpd-php .php
> > Action application/x-httpd-php "/php/php.exe"
> >
> > Option 1 will cause Apache to issue forbidden error
> > message when opening
> > http://localhost/php/anyfile.name
> >
> > Apache Error message text: "Forbidden, You don't
> > have
> > permission to access /php/ on this server."
> >
> > Option 2:
> > LoadModule php4_module z:/php/sapi/php4apache.dll
> > AddModule mod_php4.c
> > AddType application/x-httpd-php .php
> >
> > Option 2 will cause Apache not to restart.
> > Any clues? Please advise. Thank you.
> >
> > ===
> >
> > Anthony Alvarez, AAlvarez@casio.com
> > Phone: (973) 361-5400 x1309
> > Casio Internet Marketing Dept.
> > 570 Mount Pleasant Avenue
> > Dover, NJ 07801-1620 USA
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what you're looking for faster
> http://search.yahoo.com
>