php-windows Digest 22 Aug 2005 15:45:47 -0000 Issue 2755
Topics (messages 26274 through 26279):
Re: Question about Windows Installation
26274 by: JM
26275 by: Alon Solell
26276 by: JM
Re: Question about Windows Installation - RESOLVED
26277 by: Alon Solell
26278 by: Alon Solell
A WAMP5 release with PHP 5.1 RC1 is available
26279 by: Romain Bourdon
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
oops...sent to the wrong list.
On 8/19/05, JM <[EMAIL PROTECTED]> wrote:
> after you make changes restart iis. btw apache works fine in this
> scenario too. if the extensions still dont work then look for the
> dll's make sure they are even installed for php/webserver to use
>
> On 8/19/05, JM <[EMAIL PROTECTED]> wrote:
> > You are talking about a few issues.
> >
> > 1. turn on / uncomment the extensions in the php.ini (use phpinfo.php
> > to figure out which php.ini you are using)
> >
> > 2. 404 means the requested doc or url is wrong or doesnt exist. this
> > isnt your webserver or php's fault. fix the url.
> >
> > 3. make sure you tell IIS to use the php.exe for all .php scripts
> >
> > John
> >
> >
> > >
> > > ---------- Forwarded message ----------
> > > From: "Alon Solell" <[EMAIL PROTECTED]>
> > > To: <[email protected]>
> > > Date: Fri, 19 Aug 2005 21:43:27 +0300
> > > Subject: Question about Windows Installation
> > > Hi Y'all,
> > >
> > > I think I'll stick to the 4.4.0 for now,. but the install process seemed
> > > pretty much the same for 5.0.4
> > >
> > > If I use the php installer,. it install only the barebone version of PHP.
> > > I need to add the extensions to support mbstring, mysql etc..
> > >
> > > I'm using IIS6 as this is a Windows 2003 Server and I have the
> > > requierment to use
> > > that. Otherwise, I'd use Apache. So.. I know lots of you will try to sway
> > > me to use Apache and Linux,. but that would be barking at the wrong tree.
> > > I have serveral Linux boxes working fine,. and I love them. This is a
> > > requirement from my end user so the need is to install the PHP with IIS6.
> > >
> > > What I've done so far:
> > >
> > > I created the following tree:
> > >
> > > C:\hostingapps\php\
> > >
> > > In that directory, I've unzipped the PHP package.
> > > From the instructions, I understood I need to move all the files in the
> > > direcotries:
> > >
> > > C:\hostingapps\php\dll
> > > C:\hostingapps\php\isap
> > >
> > > to the:
> > >
> > > C:\hostingapps\php\
> > >
> > >
> > > When I used the installer,.. it created a php.ini file in the
> > >
> > > C:\Windows\php.ini
> > >
> > > (using the installer worked fine, but no extensions were available).
> > >
> > > and I guess I can just use it?
> > >
> > > I also manually added the path:
> > >
> > > C:\hostingapps\php
> > >
> > > And then restarted the IIS server.
> > > However,. I'm still getting an error:
> > >
> > > HTTP Error 404 - File or directory not found.
> > > Internet Information Services (IIS)
> > >
> > > What am I missing?
> > >
> > > Thanks,
> > >
> > > -Alon.
> > >
> > >
> >
>
--- End Message ---
--- Begin Message ---
Hi all,
In regards to the 404 URL not found, that same URL works fine if I use the
php-installer.
So fixing the URL is not the the correct answer.
I believe that IIS doesn't know what to do with PHP ext, meaning.. I prob
mis-configured the PHP.
The question is, what would I need to do to make it happen correctly?
The first thing that I want to see is just plain old
info.php with
<?
phpinfo();
?>
-Alon.
On 8/19/05, JM <[EMAIL PROTECTED]> wrote:
after you make changes restart iis. btw apache works fine in this
scenario too. if the extensions still dont work then look for the
dll's make sure they are even installed for php/webserver to use
On 8/19/05, JM <[EMAIL PROTECTED]> wrote:
> You are talking about a few issues.
>
> 1. turn on / uncomment the extensions in the php.ini (use phpinfo.php
> to figure out which php.ini you are using)
>
> 2. 404 means the requested doc or url is wrong or doesnt exist. this
> isnt your webserver or php's fault. fix the url.
>
> 3. make sure you tell IIS to use the php.exe for all .php scripts
>
> John
>
--- End Message ---
--- Begin Message ---
404 means the server couldnt find that file. if the url was correct it
would be a different error. if youre url was correct AND the server
wasnt configured to execute .php you would see the php code as text.
your url is wrong.
but forget about that for now. just get on the webserver and browse
using http://localhost/ as the begining of your urls.
in IIS you have to go into the configuration to tell it what to do
when someone requests a .php file. you have to tell it to use the
php.exe file, try reading the install docs on php.net this is one of
the first steps.
On 8/19/05, Alon Solell <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> In regards to the 404 URL not found, that same URL works fine if I use the
> php-installer.
> So fixing the URL is not the the correct answer.
>
> I believe that IIS doesn't know what to do with PHP ext, meaning.. I prob
> mis-configured the PHP.
>
> The question is, what would I need to do to make it happen correctly?
>
> The first thing that I want to see is just plain old
>
>
> info.php with
>
> <?
> phpinfo();
> ?>
>
> -Alon.
>
> On 8/19/05, JM <[EMAIL PROTECTED]> wrote:
> > after you make changes restart iis. btw apache works fine in this
> > scenario too. if the extensions still dont work then look for the
> > dll's make sure they are even installed for php/webserver to use
> >
> > On 8/19/05, JM <[EMAIL PROTECTED]> wrote:
> > > You are talking about a few issues.
> > >
> > > 1. turn on / uncomment the extensions in the php.ini (use phpinfo.php
> > > to figure out which php.ini you are using)
> > >
> > > 2. 404 means the requested doc or url is wrong or doesnt exist. this
> > > isnt your webserver or php's fault. fix the url.
> > >
> > > 3. make sure you tell IIS to use the php.exe for all .php scripts
> > >
> > > John
> > >
>
>
--
John Martinez
http://www.funkyfreshdesigns.com
--- End Message ---
--- Begin Message ---
Issue finally resolved!
the problem I was experiencing with PHP was resolved by looking at the
IIS --> Web Service Extensions.
Apparently the path to the php.exe file was not showing correctly.
While the real path was: C:\hostingapps\php\php.exe
The Installer used: C:\HOSTIN~1\php\php.exe
The installer worked fine, but when I did manual install with the full
path,. it failed.
I finally figured it out, and now the php is working with the Manual install
with no problem.
I guess this is a 'bug' within the IIS not recognizing the full real path.
It is likely that nobody notices this if they install it into C:\php where
the path is so short it never was an issue.
A learning experience :)
-Alon.
----- Original Message -----
From: "JM" <[EMAIL PROTECTED]>
To: "Alon Solell" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Saturday, August 20, 2005 1:19 AM
Subject: Re: [PHP-WIN] Re: Question about Windows Installation
404 means the server couldnt find that file. if the url was correct it
would be a different error. if youre url was correct AND the server
wasnt configured to execute .php you would see the php code as text.
your url is wrong.
but forget about that for now. just get on the webserver and browse
using http://localhost/ as the begining of your urls.
in IIS you have to go into the configuration to tell it what to do
when someone requests a .php file. you have to tell it to use the
php.exe file, try reading the install docs on php.net this is one of
the first steps.
--- End Message ---
--- Begin Message ---
Issue finally resolved!
the problem I was experiencing with PHP was resolved by looking at the
IIS --> Web Service Extensions.
Apparently the path to the php.exe file was not showing correctly.
While the real path was: C:\hostingapps\php\php.exe
The Installer used: C:\HOSTIN~1\php\php.exe
The installer worked fine, but when I did manual install with the full
path,. it failed.
I finally figured it out, and now the php is working with the Manual install
with no problem.
I guess this is a 'bug' within the IIS not recognizing the full real path.
It is likely that nobody notices this if they install it into C:\php where
the path is so short it never was an issue.
A learning experience :)
-Alon.
----- Original Message -----
From: "JM" <[EMAIL PROTECTED]>
To: "Alon Solell" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Saturday, August 20, 2005 1:19 AM
Subject: Re: [PHP-WIN] Re: Question about Windows Installation
404 means the server couldnt find that file. if the url was correct it
would be a different error. if youre url was correct AND the server
wasnt configured to execute .php you would see the php code as text.
your url is wrong.
but forget about that for now. just get on the webserver and browse
using http://localhost/ as the begining of your urls.
in IIS you have to go into the configuration to tell it what to do
when someone requests a .php file. you have to tell it to use the
php.exe file, try reading the install docs on php.net this is one of
the first steps.
--- End Message ---
--- Begin Message ---
Hi,
Ive packed a special "unofficial" release of WAMP5 for those who would
like to try PHP5.1-RC1.
All the other applications have also been updated:
- Apache 1.3.33
- MySQL 4.1.13a
- phpmyadmin 2.6.3-pl1
- sqlitemanager 1.1.1
This release also includes new special features initially programed for
the final version of WAMP5 1.4.5 :
- logs in one directory and access throught the WAMP5 menu
- added eaccelerator (not with the RC1 release)
Have fun
http://www.wampserver.com/en/
Romain
--- End Message ---