Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

[PHP-INSTALL] apache Configuration Problems
Anthony Marlow wrote:

> Hi,
>
> I just bought a book called, "PHP 5/MySQL Programming for the Absolute
> Beginner," by Andy Harris.  I'm brand new to PHP, apache and MySQL,
> and I'm stuck on chapter One, which covers configuring apache to work
> with PHP.
>
> In the book, on page 11, he says to open the apache configuration file
> called, "httpd.conf", and to edit the file as follows:
>
> 1.  add the following code at the bottom of the "LoadModule commands:
>    "LoadModule php5_module C:apache/php5apache.dll" then to modify
> this line so that it points to wherever the php5apache.dll file was
> installed on my system (btw:  Windows XP Home).
>
> 2.)  Add the following code at the bottom of the "AddModule" commands:
>    "AddModule mod_php5.c".
>
> 3.)  Add the following code to the end of the file:
>    "AddType application/x-httpd-php .php"  (space in text.)
>
> I've done the first part, but I cannot find any "AddModule" commands
> in the file in question.  I also did the third part.
>
> Can anyone tell me about the second part above?  There are no
> "AddModule" commands in the file that I've mentioned above.  Also, he
> says to save the file after making these changes, but he doesn't say
> where to save it.  Can you tell me where I need to save this file
> after doing what he says above?
>
 ========================================
=================

The commands should be there. Have you used your editor's find
option ?

The configuration file goes in your apache conf directory.

Forget PHPCoder, it is older technology and PHP Designer at
www.mpsoftware.dk is free, under continuous development,
and far superior.

Place your php files in the apache htdocs directory.

 ========================================
================

> Another thing:  I downloaded PHP Coder and installed it.  It seemed to
> work at first (at least an example program ran correctly), but since
> making the changes above, the PHP Coder stopped working.  When I hit
> run, I don't get anything at all.  No error message, no program
> running, or activating the web browser . . . I mean absolutely nothing
> happens at all.
>
> Also:  In PHP Coder, I was able to set the path for the MySQL
> documentation, but I'm not sure how to set the path for the PHP docs
> or the html docs.  Can anybody tell me what the names of the necessary
> files are?  If I know what files I need to point to, I can figure out
> the path.
>
> And finally, when I save a PHP file, exactly where do I need to save
> it so that it will work in my web browser?
>
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Paul Brasseur
11-14-04 01:55 AM


Re: [PHP-INSTALL] apache Configuration Problems
Hi again,

Thanks so much for the help.  I took your advice and dumped PHP Coder.  I'm
using PHP Designer 2005 now, and that is working fine.

Just one problem.  The traditional "Hello World," program that my book
starts off with includes a PHP function called, phpinfo()--prefaced by a
print command.  It's supposed to print out a rather large amount of
information in the form of a table.

Have you ever head of this function?  It won't work for me.  It just prints
a ton of code, instead of printing the table.  Is there a good place where I
can get an entire list of all PHP functions?  Or doesn't that exsist?

Thanks again,
Anthony

Report this thread to moderator Post Follow-up to this message
Old Post
Anthony Marlow
11-18-04 08:55 AM


Re: [PHP-INSTALL] apache Configuration Problems
Anthony Marlow wrote:

> Hi again,

> Just one problem.  The traditional "Hello World," program that my book
> starts off with includes a PHP function called, phpinfo()--prefaced by a
> print command.  It's supposed to print out a rather large amount of
> information in the form of a table.
>
> Have you ever head of this function?  It won't work for me.  It just print
s
> a ton of code, instead of printing the table.  Is there a good place where
 I
> can get an entire list of all PHP functions?  Or doesn't that exsist?

This is an essential function in PHP. It's the first program you should
run. Just create the following program and run it:

<?php
phpinfo();
?>

Janet

>
> Thanks again,
> Anthony
>


--
Janet Valade -- janet.valade.com

Report this thread to moderator Post Follow-up to this message
Old Post
Janet Valade
11-18-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Installation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:33 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.