I have been referred to you regarding my PHP installation query below.

I do hope you can help.

Thanks and regards.

Andrew.

-----Original Message-----
From:   Gabor Hojtsy [SMTP:[EMAIL PROTECTED]
Sent:   Tuesday, June 03, 2003 1:51 PM
To:     [EMAIL PROTECTED]
Cc:     '[EMAIL PROTECTED]'
Subject:        Re: Getting PHP to work with Apache server

Hi!

Please ask installation questions at [EMAIL PROTECTED] or 
[EMAIL PROTECTED] I hope you can understand that the php.net 
webmasters are not handling user problems.

Have a good luck with setting up PHP,
Goba

> Hello Webmaster,
> 
> I have spent some time looking at all the faqs and cannot find an answer. I 
> do so hope that you can help.
> 
> I had Apache running Perl scripts successfully. I now want to use it to run 
> PHP.
> 
> I have followed all the instructions on adding/changing httpd.conf and 
> php.ini. When I open my browser and open the file with <? phpinfo(); ?> 
> (called hello.php), it just shows the code, and not the screen I was 
> expecting.
> 
> I also did a time/date test file, with the same result.
> 
> For your information, in httpd.conf I have added:
> 
> DocumentRoot "C:/phpweb"
> 
> <Directory "C:/phpweb">
> 
> ScriptAlias /php4/ "c:/php4win/"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> AddType application/x-httpd-php .php4
> Action application/x-httpd-php "/php4/php.exe"
> 
> In php.ini (now in C:\windows) I have:
> 
> doc_root = "c:\phpweb" ;
> 
> user_dir = "c:\php4win" ;
> 
> extension_dir = "c:\php4win" ;
> 
> I made these changes to the ini-dist file rather that the recommended one 
> if that makes a difference.
> 
> All my Perl scripts still run, so Apache is still working for them.
> 
> I would be so grateful for any help you can offer.
> 
> Many thanks.
> 
> Andrew Winton
> 
> 

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

Reply via email to