473,573 Members | 2,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP5 - Installation Error - 400 Bad Request

Hi,

I've been eager to try out PHP5, so I've dumped it on my little dev
machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the
"mappings" page as I'm used to doing with PHP4. I've got my php.ini all
set in C:\Windows.

I created an index.php containing: <?php phpinfo(); ?>
When I try to view the page, I get "HTTP 400 - Bad Request".

Can anyone out there help me? Where am I going wrong?!

- neur0maniak
Jul 17 '05 #1
11 10569
neur0maniak wrote:
Hi,

I've been eager to try out PHP5, so I've dumped it on my little dev
machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the
"mappings" page as I'm used to doing with PHP4. I've got my php.ini
all set in C:\Windows.

I created an index.php containing: <?php phpinfo(); ?>
When I try to view the page, I get "HTTP 400 - Bad Request".

Can anyone out there help me? Where am I going wrong?!

- neur0maniak


Have you defined the .php extension in IIS?

--
If the Internet is a Marx Brothers movie, and Web, e-mail, and IRC are
Groucho, Chico, and Harpo, then Usenet is Zeppo.
Jul 17 '05 #2
Berislav Lopac wrote:
Have you defined the .php extension in IIS?


Yeah, I've done it the same way that I've used to get php4 working.

This is how I've done it: http://www.neur0maniak.co.uk/phpsetup.png
Jul 17 '05 #3
"neur0mania k" <us****@neur0ma niak.co.uk> wrote in message
news:40******** *************** @ptn-nntp-reader02.plus.n et...
Berislav Lopac wrote:
Have you defined the .php extension in IIS?


Yeah, I've done it the same way that I've used to get php4 working.

This is how I've done it: http://www.neur0maniak.co.uk/phpsetup.png


yep - same problem here - 4.3.8 works perfect, cannot get 5 to display
anything - XP SP1 Pro
Jul 17 '05 #4

News wrote:
"neur0mania k" <us****@neur0ma niak.co.uk> wrote in message
news:40******** *************** @ptn-nntp-reader02.plus.n et...
Berislav Lopac wrote:
Have you defined the .php extension in IIS?


Yeah, I've done it the same way that I've used to get php4 working.

This is how I've done it: http://www.neur0maniak.co.uk/phpsetup.png

yep - same problem here - 4.3.8 works perfect, cannot get 5 to display
anything - XP SP1 Pro


Same here ... tried IIS, KFWS, and Abyss WS. 4.3.8 works ... even with the PHP5
php.ini file settings.
Jul 17 '05 #5
RonS wrote:

News wrote:
"neur0mania k" <us****@neur0ma niak.co.uk> wrote in message
news:40******** *************** @ptn-nntp-reader02.plus.n et...
Berislav Lopac wrote:

Have you defined the .php extension in IIS?
Yeah, I've done it the same way that I've used to get php4 working.

This is how I've done it: http://www.neur0maniak.co.uk/phpsetup.png


yep - same problem here - 4.3.8 works perfect, cannot get 5 to display
anything - XP SP1 Pro

Same here ... tried IIS, KFWS, and Abyss WS. 4.3.8 works ... even with
the PHP5 php.ini file settings.

Forgot another oddity ... I also ran PHP5.RC2 for a while successfully.
Jul 17 '05 #6
> >> yep - same problem here - 4.3.8 works perfect, cannot get 5 to display
anything - XP SP1 Pro
Same here ... tried IIS, KFWS, and Abyss WS. 4.3.8 works ... even with
the PHP5 php.ini file settings.

Forgot another oddity ... I also ran PHP5.RC2 for a while successfully.


I have roughly the same problem, but the error returned is 'CGI
timeout'. Tried it on XP Pro/IIS5 and Win2K server/IIS5. 4.3.8 runs
fine. When I substitute the v5 files it stops working. I wondered if
it was a file permissions issue. But the file system is FAT on the XP
Pro machine and I've checked the NTFS machine so I don't think it is.

Chris
Jul 17 '05 #7
ChrisN wrote:
yep - same problem here - 4.3.8 works perfect, cannot get 5 to display
anything - XP SP1 Pro
Same here ... tried IIS, KFWS, and Abyss WS. 4.3.8 works ... even with
the PHP5 php.ini file settings.


Forgot another oddity ... I also ran PHP5.RC2 for a while successfully.

I have roughly the same problem, but the error returned is 'CGI
timeout'. Tried it on XP Pro/IIS5 and Win2K server/IIS5. 4.3.8 runs
fine. When I substitute the v5 files it stops working. I wondered if
it was a file permissions issue. But the file system is FAT on the XP
Pro machine and I've checked the NTFS machine so I don't think it is.

Chris


My file system is FAT also

y'know, it could be that which is causing the problem... (?)
Jul 17 '05 #8
neur0maniak wrote:
Hi,

I've been eager to try out PHP5, so I've dumped it on my little dev
machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the
"mappings" page as I'm used to doing with PHP4. I've got my php.ini all
set in C:\Windows.

I created an index.php containing: <?php phpinfo(); ?>
When I try to view the page, I get "HTTP 400 - Bad Request".

Can anyone out there help me? Where am I going wrong?!

- neur0maniak


I just ran the php4.3.8 installer for windows (the 1Mb version), and set
up 4.3.8 replacing my PHP.ini

Then set up the mappings to point to PHP-CGI for php5, and all seems to
be working now. Though, I don't know why in php4, extension folder was
named "extensions " and in php5 it's called "ext".

Well, that's how I got PHP5 working...
Jul 17 '05 #9
neur0maniak wrote:
neur0maniak wrote:
Hi,

I've been eager to try out PHP5, so I've dumped it on my little dev
machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the
"mappings" page as I'm used to doing with PHP4. I've got my php.ini
all set in C:\Windows.

I created an index.php containing: <?php phpinfo(); ?>
When I try to view the page, I get "HTTP 400 - Bad Request".

Can anyone out there help me? Where am I going wrong?!

- neur0maniak

I just ran the php4.3.8 installer for windows (the 1Mb version), and set
up 4.3.8 replacing my PHP.ini

Then set up the mappings to point to PHP-CGI for php5, and all seems to
be working now. Though, I don't know why in php4, extension folder was
named "extensions " and in php5 it's called "ext".

Well, that's how I got PHP5 working...


Can you explain this a bit more? I understand you're using the PHP.ini from PHP4
with PHP5. What directories do you have PHP4 and PHP5 in?
Jul 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3106
by: Andrew Crowe | last post by:
Hi guys, As PHP5 is on its final beta, we decided to start writing a web application in it to take advantage of the much better object support it offered. We're running the php-5.0.0b3-Win32.zip installation on a Win2K server platform alongside PHP4. I have used a hex editor to change instances of php.ini to ph5.ini in php4ts.dll so that...
0
1548
by: Joe | last post by:
I have just upgrade to php5 and installed pear with gopear.bat on my windows installation. Problem: I get this error when i try to run my cli scripts: Fatal error: main(): Failed opening required 'DB.php' (include_path='.;C:\php5\p ear') in d:\web\cmd_drawings.php on line 5
1
2179
by: webguynow | last post by:
I'm hoping someone will give me the latest info here about PHP policy to enable extensions. I've installed PHP5 in C:\PHP Meaningful excerpts: from php.ini ; Directory in which the loadable extensions (modules) reside. extension_dir = "./" ..... ;extension=php_msql.dll
2
1370
by: Auddog | last post by:
Hello everyone, I have been trying for the past couple of days to get php5 installation on either my laptop or my test server. I'm not having much luck with either. I would like to get my test server running first (windows 2003 sp1), so I will discuss what I've done there. Downloaded the the latest version of php5 Extracted the files...
4
2748
by: Chuck Anderson | last post by:
I am trying to install Php5 on my WindowsXP machine (at home, not on the 'net). I downloaded the Php Windows binary at php.net, unzipped it to c:/Php5, changed my Apache config file to use Php5 with: LoadModule php5_module "c:/Php5/php5apache2.dll" .... and restarted apache (Apache/2.0.55 (Win32) mod_ssl/2.0.55 OpenSSL/0.9.8a) Php5...
9
5249
by: java | last post by:
Hey there, I just removed an elderly PHP4-Installation from my Windows-Box and installed PHP 5.2.1. I used the PHP4-Module as local batchfile- interpreter by E:\ersDHCP>php ./extractLog.php which was perfectly alright and worked well. But now PHP5 fails to run the same script without any modification!
5
1951
by: Ziggi | last post by:
Hi, I have been using PHP4 for a long time on my test personal web server on Windows XP Pro. Yesterday I decided to migrate to PHP5. I downloaded binary installation of PHP 5.2.3 as a zip archive. I have unpacked it to D:\PHP directory. I have created a "path" entry targeting this directory in system variables and rebooted the system. I...
3
3287
by: xhe | last post by:
I have just upgraded my php version form php4 to php5. and I met this problem, and don't know if you know the solution. My site was written in PHP4, and most parts can be running smoothly in PHP5, only that in old version, I can use $row to access the data in database directly, no need to put double quote around fieldname. BUT in PHP5, this...
12
2573
by: Alan M Dunsmuir | last post by:
After having worked with Apache/MySQL/PHP for a year or so under Linux I need, purely for convenience, to set up a parallel platform under Windows. Unfortunately, since I last did this (using Windows XP Pro) I've moved on to Windows Vista (Home Premium). MySQL and Apache2 have both installed satisfactorily, but I'm having problems with PHP5....
0
7986
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8179
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7736
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8036
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6358
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5556
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5258
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3699
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2167
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.