I have managed to fix my problem.
All I had to do was upgrade to PHP4. This allowed me
to use my .php files.
Thanks for all your time and help.
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @
Preben Randhol wrote -
> This works fine for me:
>
> httpd.conf:LoadModule php3_module
> /usr/lib/apache/1.3/libphp3.so
>
> mime.types:application/x-httpd-php phtml
> pht php
> mime.types:application/x-httpd-php3 php3
> mime.types:application/x-httpd-php3-source
I checked and there is an error:
[warn] [client $foo] handler "php3-script" not found
for: /var/www/hello.php3
This only started after I added the bit in the
httpd.conf about AddHandler
> Check your apache logs and make sure that php isn't
> generating an error (if it doesn't load, it can't
> h
I checked and there is an error:
[warn] [client $foo] handler "php3-script" not found
for: /var/www/hello.php3
This only started after I added the bit in the
httpd.conf about AddHandler
> Check your apache logs and make sure that php isn't
> generating an error (if it doesn't load, it can't
> h
> basically what is happening is the php code is being
> sent to your browser
> instead of being executed by the server. you need to
> tell the server that
> a component (in this case mod_php) needs to process
> the file first, hence
> the AddHandler...
Like the documentation said I added this t
I have apache and mysql installed and working.
PHP is installed but when I open a .php file through
the web browser it asks to save to disk. The file is
in the web dir and .php3 files work fine.
this is what i have in the apache conf files
httpd.conf
LoadModule php3_module /usr/lib/apache/1.3/l
6 matches
Mail list logo