Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
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 May 17th, 2005, 05:03 PM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help installing PHP5 and Apache

I have just installed php5 and apache2 on a windows xp pro machine. I installed both by following directions in a Wrox book. I added two lines to the httpd.conf file and then tried to start up the server.

When I tried to start the server it has a dialogue box that says this....

"The apache service on local computer started and then stopped. Some services stop automatically if they have no work to do, for example, the performance logs and the alerts service."

The two lines I added to the httpd.conf file were....

LoadModule php5_module f:/php5/php5apache2.dll
AddType application/x-httpd-php .php .phtml .html

Yes, "F:/" is correct. I messed up installing my OS. If I comment out the first line it starts fine but with it not commented out I get the error.

Any help would be appreciated. Thanks.

 
Old May 18th, 2005, 09:11 AM
Registered User
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to tanvir_math Send a message via Yahoo to tanvir_math
Default

Hey look this page. I think you could easily configure apache to handle php by reading the page. Here is the URL http://www.webmasterworld.com/forum88/7362.htm. Hope you could run php on Apache.

 
Old June 3rd, 2005, 10:29 AM
Registered User
 
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Take a look at this http://www.apachefriends.org/en/

It installs Apache, PHP and MySQL ready configured. It includes a web-based interface for setting security options - you don't need to bother with .ini files and stuff like that!

SpikeUK





Similar Threads
Thread Thread Starter Forum Replies Last Post
installing PHP5 functions EdwardS Beginning PHP 1 October 16th, 2008 03:56 AM
Chapter 16 Beginning php5, apache, mysql, web dev charlie2450 Beginning PHP 1 September 13th, 2008 02:07 AM
Need help with installing PHP4 on Apache 2 Asix BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 November 28th, 2004 03:59 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
freshbie-help on installing php/apache favor PHP How-To 1 July 28th, 2004 09:21 AM





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