hello,
I am very new to php (I've read a book on it that's about it)
but I was attempting to setup php.. After some working I decided to use apache v2.
After getting apache working I was trying to get php to work. Every time on my browser (when I load a practice script) I get a blank page. Have I made the appropriate modifications to my apache conf file? or do I need to modify my php.ini file as well.
I've enclosed portions that I've added to my httpd.conf file in apache2
LoadModule foo_module modules/mod_foo.so
#
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
LoadModule php5_module "c:\php\php5apache2.dll"
Action application/x-httpd-php "c:\php/php.exe"
file mime.types for specific file types.
#
#AddType application/x-tar .tgz
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
ScriptAlias: This controls which directories contain server scripts.
ScriptAliases are essentially the same as Aliases, except that
documents in the realname directory are treated as applications and
run by the server when requested rather than as documents sent to the client.
The same rules about trailing "/" apply to ScriptAlias directives as to
Alias.
#
ScriptAlias /cgi-bin/ "C:/Program Files/apache/Apache2/cgi-bin/"
These are samples, however, php simply will not render yet, are there any lines that I should be adding?
Should I edit my php.ini file.
I'm sortof at a loss here, and any help would be appreciated.
--Joshua