PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old June 12th, 2007, 03:08 PM
Glen_S Glen_S is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Lac La Biche, Alberta, Canada
Posts: 10 Glen_S User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 7 sec
Reputation Power: 0
Installed php5, now getting apache error

I just installed the latest versions of PHP and MySQL , my goal is to learn how to use them for web page content. The machine is running windows 2000 pro and I already have Oracle 9i installed on it so I thought I'd just use the existing Apache 1.1? server. During the PHP install it asked for the apache location, so I pointed it at c:\oracle\ora92\apache\apache. Now when I go to start the web server it says it is having trouble with these lines in the httpd.conf:

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\\Program Files\\PHP\\"
LoadModule php5_module "C:\\Program files\\PHP\\php5apache.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

I notice that in another install where I just have PHP 5 and Oracle loaded, but with the 10G apache (1.3) these same lines are nowhere to be found in the httpd.conf file.

Are the double //'s the problem? Or did I make a mistake somewhere during the PHP install?

thanks!

Reply With Quote
  #2  
Old June 12th, 2007, 03:15 PM
cwf's Avatar
cwf cwf is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 354 cwf User rank is Private First Class (20 - 50 Reputation Level)cwf User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 3 Days 7 h 8 m 8 sec
Reputation Power: 2
The server module version of PHP, php5apache.dll, requires at least Apache 1.3.x.

You either need to use a more up to date version of Apache or you can try to install PHP as a CGI wrapper instead of an Apache server module.

Reply With Quote
  #3  
Old June 12th, 2007, 03:41 PM
Glen_S Glen_S is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Lac La Biche, Alberta, Canada
Posts: 10 Glen_S User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 7 sec
Reputation Power: 0
Thanks for the reply..

I am a neophyte here so I have no idea what using php as a server wrapper is or how to do it, so I guess my options are to install a newer version of Apache or an older version of PHP. Or alternatively, install MySQL on my other already crowded Oracle 9i/10G machine that already has PHP running with apache..

If I install a newer version of Apache then I am faced with getting all of my Oracle components working with it.

If I want to install an older version of PHP is 4.x sufficient? How do I uninstall version 5, does the add/remove programs do a clean enough job?

Reply With Quote
  #4  
Old June 13th, 2007, 04:10 AM
cwf's Avatar
cwf cwf is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 354 cwf User rank is Private First Class (20 - 50 Reputation Level)cwf User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 3 Days 7 h 8 m 8 sec
Reputation Power: 2
The module version of PHP4 has the same Apache version restrictions as for PHP5. To install either PHP4 or PHP5 on your Apache 1.1 system would require you to read and follow the PHP installation instructions for the CGI installation.

Apache is just a web server. Aside from version restrictions, it does not really care which version of PHP is installed and it has no knowledge of or interaction with any database server.

As long as the version of PHP and the specific database client library that it is using is new enough to access the version of database you are using, you can access any number of database servers.

You don't need a different web server/php installation for each database server, unless you want to do it this way. The database server does not need to be running on the same localhost as the web server/php.

If your existing Apache 1.3/PHP system and the system where you installed mysql are accessible to each other, you can simply reference the mysql server by specifying the hostname or IP address of it in any PHP mysql_connect() function calls.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Installed php5, now getting apache error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT