Hi,
I found out that I needed to add the following 2 lines
to httpd.conf:
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php
Now it's working fine. Thank you all for your help.
Joe
--- Joseph Lee <[EMAIL PROTECTED]> wrote:
> I added
> AddType application/x-httpd-php
I added
AddType application/x-httpd-php .php
to httpd.conf, and did
# /usr/local/apache2/bin/httpd -k stop
# /usr/local/apache2/bin/httpd -k graceful
to restart httpd, but it asked me what application do
I want use, or save the file to disk.
I also changed
to
but it did hot help.
I also tried
Joseph Lee wrote:
Hello,
I installed PHP5 and MySQL on my Linux machine running
Apache web server. I could access this server from
another computer by http://(hostname)/index.html
Then I created a simple hello.php file:
But when I tried http://(hostname)/hello.php from
another com