how to run php3 on apache2?
dear all,
I have installed the following packages on Linux SUSE: -Apache 2.2.13 -PHP5.3.3 -freeradius + dialupadmin (web interface for freeradius) since the htdocs and whole dialupadmin are in .php3 i cannot open the web interface, firefox keep asking me if i want to save the file, or chose a specific program tu run.... does anyone knows how i can make my server understand *.php3 ?? |
Hi,
I guess you have already installed and the apache2-mod_php5 package Quote:
Code:
AddType application/x-httpd-php .php The fact is that php5 might not be 100% compatible with the php3 code, so you'll get lots of errors Regards |
thanks for your concern,
i already tried this and it's still not working. ok, in the directory of the web interface i have many files, one is index.html, and others are, like, buttons.php3, user.php3, errors.php3... which must be services i can access to using this web interface, but unfortunatly, when i enter http://localhost/dialup/ it open the index.html, and ask me about buttons.php3, if i want to save it or open it with specific prog. i hape i made myself clear, thanks for any help!! |
So I'm asking you again:
Have you installed the apache2-mod_php5 package? |
well, im deleting all php5, apache2, freeradius now
will re-install again to have clean conf files i will check about the apache2-mod_php5 package |
You don't need to delete/uninstall anything. Just need this package, as it provides the php5 module for apache (libphp5.so). Without it you'll always be prompted to save a .php(3) page
|
i hope it will work, im installing allover, and i chose the apache2_php5 module too!
cross fingers:) |
mmm, still not working..
how can i be sure that apache is using libphp5.so?? |
There are various ways:
1 Run Code:
httpd -M|grep php Code:
LoadModule php5_module /usr/lib/apache2/mod_php5.so Code:
<?php ### EDIT ### From this, the module name on Suse is mod_php5.so |
All times are GMT -5. The time now is 04:55 PM. |