Re: Newbie Question.
| From: | (Miles Thompson) | Date: | Sat, 12 May 2001 16:52:21 +0000 |
| Subject: | Re: Newbie Question. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52575@lists.php.net to get a copy of this message | ||
Did you stop and restart Apache?
Are the page types properly added to httpd.conf? (See the instructions, near the end.)
Did you move and rename the .ini file, as in the instructions?
If all those are OK, create this simple file in your web root, callinf it phpinfo.php:
<?
phpinfo();
?>
and call it from your browser. If everything is running properly, you will get a couple of attractively formatted screenfuls of information about your installation.
To chekc apache's configuration, go to the /bin directory where apache is intstalled and type either:
./apachectl --help
or
./hhtpd --help
And you will bet the switches to use for checking status, starting, stopping, et.c
This should be enough to get you going, and hope it helps.
Miles Thompson
PS Did I read the version of Apache correctly? 1.2? If so, go get the latest 1.3, 1.2 is really old. /mt
At 12:04 PM 5/12/01 -0700, you wrote:
Hello to all. This is probably the most basic question of th PHP general list. I just installed PHP 4.0.5 on Apache 1.2.19. Could someone please explain a very basic test. I would like to write a "Hello World" page as a test. I have tried the following: And named the page: index.php and index.html <?php echo "Hello World"; ?> index.php - Displays the html code index.html - displays blank - exept I see the title: PHP Testing Ground in the title header of the browser. So the pages are loading. Help? How do I test this to see that Apache is configured correctly. PS: I followed the PHP Manual instructions for installing PHP on php.net. Apache reported setting up correctly after running make install. Any help would be appreciated. Thanks in advance, Tom Bedell Newbie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net