Actually the question is how to enable PHP support in Apache. Having opened localhost, the browser only offers to save index.php (index.html displays correctly). How to make PHP scripts displayed?
2 answers
Watching how needed as a module to the Apache or as a la CGI?
LoadModule php5_module c:/php-5.3.5/php5apache2_2.dll AddType application/x-httpd-php phtml php PHPIniDir "c:/php-5.3.5/" Well, somehow, it is under Windows.
Under unix a little different but the meaning is the same.
But it is not clear from the question which Axis and which errors creep out.
|
If CentOS (there is a tag in the subject), then this is in my config, of course you need to install php
# cat /etc/httpd/conf.d/php.conf<IfModule prefork.c> LoadModule php5_module modules/libphp5.so</IfModule><IfModule worker.c> LoadModule php5_module modules/libphp5-zts.so</IfModule>AddHandler php5-script .phpAddType text/html .phpDirectoryIndex index.php |