I got it working...  During the php install, it modified httpd.conf with
this: LoadModule php5_module        modules/libphp5.so ...... And I moved
that to my php.conf as it was in apache2 with php4, but it doesn't work in
the newest version of apache that I downloaded.. They must have changed it
so that the module must be loaded before something else in httpd.conf
instead of calling it from an external config file......

Ok.. Now off to testing my scripts to see if they'll work under php5......


Jake





> -----Original Message-----
> From: Jake McHenry [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 22, 2007 10:43 PM
> To: php-general@lists.php.net
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Question after php5
> 
> 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
>  
> 
> -- 
> 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
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to