Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP doesnt run on Apache |
|
Author |
|
sarcon
Joined: 07 Nov 2006 Posts: 1
|
Posted: Tue 07 Nov '06 10:28 Post subject: PHP doesnt run on Apache |
|
|
Hello,
i have Apache 2.0.59 and PHP 5.2 and Apache run on 192.168.1.3
but PHP doesnt run under htdocs. When i make a file with the end .php.
Apache doesnt recognize php and it make only a text.
Could you see, where ist the mistake?? Attached the httpd.conf and the php.ini
Thanks a lot
php.ini
=======================================
[PHP]
doc_root=f:\server\Apache2\htdocs
extension_dir=f:\server\php5\ext
extension=php_gd2.dll
extension=php_mysql.dll
httpd.conf
ServerRoot "F:/server/Apache2"
LoadModule php5_module F:/server/php5/php5apache2.dll
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 autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule userdir_module modules/mod_userdir.so
ServerAdmin pcboard@fastmail.fm
DirectoryIndex index.php index.html index.html.var
LogLevel warn
Mod: Notice that you only post changes you made! never post your hole config files! We know the content! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|