RE: [PHP] Question after php5
| From: | Jake McHenry | Date: | Fri, 23 Mar 2007 02:43:11 +0000 |
| Subject: | RE: [PHP] Question after php5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251149@lists.php.net to get a copy of this message | ||
In my index.php file, I have this:
<?php
echo "PHP hello world";
?>
HTML Hello World
I get the HTML Hello World output, but not the php? So the
conf/extra/php.conf file is somewhat being included, but I'm not getting any
output.... And now there is a 200 entry in the log file. So with just php,
I get a 304, with html I get a 200, with both I get a 200 but no php
output..... What did I miss???
Thanks,
Jake
>
> Hi everyone,
>
> I decided I would spend the extra time and install separate
> copies of apache
> and php5. All went successfully, I thought. Apache starts and
> runs on 8080,
> I get pages. But not php pages. I added a php.conf file which
> is included in
> httpd.conf, I just copied the layout of the rest of the
> include statements
> and below is my php.conf file in the conf/extra directory....
> What did I
> miss? I'm just trying to echo out hello world, and I get a
> blank page. In
> the logs, I'm getting a 304..?
>
>
>
> #
> # PHP is an HTML-embedded scripting language which attempts to make it
> # easy for developers to write dynamically generated webpages.
> #
>
> LoadModule php5_module modules/libphp5.so
>
> #
> # Cause the PHP interpreter to handle files with a .php extension.
> #
> AddType application/x-httpd-php .php
> # AddType application/x-httpd-php-source .phps
>
> #
> # Add index.php to the list of files that will be served as directory
> # indexes.
> #
> DirectoryIndex index.php
>
>
>
> Thanks,
> Jake
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.17/730 - Release
> Date: 3/22/2007
> 7:44 AM
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.17/730 - Release
> Date: 3/22/2007 7:44 AM
>
>
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 3/22/2007
7:44 AM