Wrox Programmer Forums
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 3rd, 2007, 10:52 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default Installing php 4

Hi all!

I'm having problems with installing PHP 4.4.6 on my win box. I've installed
Apache2 and it works fine. But when I try to run php files I get the
following error message:
Not Found
The requested URL /php/php-cgi.exe/index.php was not found on this server.
Apache/2.0.59 (Win32) Server at localhost Port 80

I think it's me that have configured php.ini or httpd.conf wrong but I don't know what to look for. I've tried to locate php-cgi.exe but in vain. Shouldn't it come with either Apache or PHP? I tried to modify the cgi ScritpAlias to ScriptAlias /cgi-bin/
"C:/PHP/" from the default: ScriptAlias /cgi-bin/ "C:/Programmer/Apache
Group/Apache2/cgi-bin/"
I hope there is someone out there that can cast a light on this. Thanks!
Cheers, Jon (from riot city #1, Denmark)

 - mega
Moving to C# .NET
__________________
- mega
Aspiring JavaScript Ninja
 
Old March 3rd, 2007, 11:11 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default

Doesn't matter.. I've loaded php as a module instead and it works fine.
Code:
LoadModule php4_module "c:/PHP/php4apache2.dll"
AddType application/x-httpd-php .php .php4
PHPIniDir "C:/PHP"
Cheers!

 - mega
Moving to C# .NET





Similar Threads
Thread Thread Starter Forum Replies Last Post
installing php derekms3636 Beginning PHP 1 June 9th, 2007 07:02 PM
Installing on Linux PHP Kevin Tough BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 December 5th, 2006 07:01 PM
Help on installing php JOptionPane Beginning PHP 3 December 17th, 2004 08:04 PM
I need help installing php apache mysql cardme42 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 5 September 13th, 2004 01:10 PM
installing php problem P.Y.sum Beginning PHP 5 January 19th, 2004 02:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.