Unknown Mime Type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to run PHP5 with Apache2 on XP. 
I have php.exe installed at c:\Program Files\PHP\php.exe
I have Apache 2 installed at c:\Program Files\Apache Group\Apache 2
my include path in php.ini is: include_path = ".;c:\Program Files\PHP\ext"
In my http.conf file I have the following lines
JkWorkersFile "C:/Program Files/Apache Software Foundation/Tomcat 6.0/conf/workers.properties"
JkLogFile "C:/Program Files/Apache Software Foundation/Tomcat 6.0/logs/mod_jk.log"
JkLogLevel debug
Alias /examples "C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/examples"
JkMount /examples/servlet/* testWorker
JkMount /examples/*.jsp testWorker
ScriptAlias /php3/ "c:/Program Files/PHP/php.exe"
AddType application/x-httpd-php3 .php3
Action application/x-httpd-php3 "/php3/php.exe"
 
The apache server is running but I cannot view localhost due to Mime Type error:
 
Windows has the following information about this MIME type. This page will help you find software needed to open your file.

MIME Type: application/x-httpd-php3

Description: UnKnown

Windows does not recognize this MIME type.
 
When I ran php.exe c:/Program Files/Apache Group\Apache 2\conf\phpinfo.php in DOS I got this:
 
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_exif.dll' This is repeated for the following dll's:
php_oci8.dll
php_pdo_oci_dll
php_pdo_oci8.dll
php_pdo_sqlite_external.dll
php_pspell.dll
php_sybase_ct.dll
php_ibm_db2.dll
php_ifx_dll
php_maxdb.dll
php_mcve.dll
php_netools.dll
php_oracle.dll
php_pdo_ibm_dll
php_pdo_informix.dll
php_svn.dll
php5_apache2.dll
Cannot find module (IP-MIB): at line 0 in (none)
This is repeated for
(IP-MIB)
(IF-MIB)
(TCP-MIB)
(UDP-MIB)
(SNMPv2-MIB)
(SNMPv2-SMI)
(UCD-SNMPv2-MIB)
(UCD-SNMPv2-MIB)
(SNMP-TARGET-MIB)
(SNMP-VIEW-BASED-ACM-MIB)
(SNMP-COMMUNITY-MIB)
(UCD-DLMOD-MIB)
(SNMP-FRAMEWORK-MIB)
(SNMOP-MPD-MIB)
(SNMP-USER-BASED-SM-MIB)
(SNMP-NOTIFICATION-MIB_
(SNMPv2-TM)
Could not open inout file: c:\~Program
Error in my_thread_global_end(): 3 threads didn't exit
 
Does anyone have a clue what the problem might be?  any help greatly appreciated. 
 
Richard.
 
 


Never miss a thing. Make Yahoo your homepage.
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux