Re: Re: Installation problems on Vista
| From: | Shawn McKenzie | Date: | Tue, 20 Jan 2009 23:41:29 +0000 |
| Subject: | Re: Re: Installation problems on Vista | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286899@lists.php.net to get a copy of this message | ||
lucson pierre-charles wrote:
> Yes. It can't find a file.> To: php-general@lists.php.net> Date: Tue, 20 Jan 2009
> 17:14:14 -0600> From: nospam@mckenzies.net> Subject: Re: [PHP] Re: Installation problems on
> Vista> > lucson pierre-charles wrote:> > Nathan,> > > > When I remove the
> #'s, I can't have Apache to restart. I keep receiving error messages.> > > >
> Lucson> Date: Tue, 20 Jan 2009 22:41:44 +0000> From: nrixham@gmail.com> To:
> lucsonpierre@hotmail.com> CC: php-general@lists.php.net> Subject: [PHP] Re: Installation
> problems on Vista> > lucson pierre-charles wrote:> > Dear Nathan,> > The
> "short_tags" is sure off but when I changed the > > scripts, they're still
> being output to the browser. > > > > These are the lines I added to the modules
> section:> > #LoadModule php5_module c:/php5/php5apache2.dll> > #AddType
> application/x-httpd-php .php> > #PHPIniDir "c:/php5"> > > >> remove
> the #'s> > > -- > PHP General Mailing List (http://www.php.net/)> To
> unsubscribe, visit: http://www.php.net/unsub.php> > > What
> is
the error message from the windows event viewer? Most likely it> can't find a file.>
> -- > Thanks!> -Shawn> http://www.spidean.com>
> -- > PHP General Mailing List (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php>
Three probabilities:
1. It can't find a file that Apache need to load PHP
2. It can't find a file that PHP needs (an extension)
3. It can't find a library that an extension needs
Solutions:
1. Add c:\php5 to your path environment variable
2. Make sure you have the correct extensions dir set in php.ini
(probably c:\php5\ext)
3. Number 1 probably fixes this or copy all .dll from c:\php5 to
c:\windows (this hasn't been needed in a while) try commenting out (add
a ; to the beginning of) each extension in php.ini
--
Thanks!
-Shawn
http://www.spidean.com