|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Php not recognised
I've installed Apache, mySQL and PHP on my computer. Apache and mySQL are both running properly, but when I try to test a page written with PHP, it either shows me the code or asks if I want to download the file.
Before installing Apache, I also went to try to disable IIS, but that wasn't there. So after installing Apache, I went to edit the httpd.conf file. LoadModule php4_module C:/php/sapi/php4apache2.dll AddType application/x-http-php .php .php3 . php4 After installing php, I went to edit the php.ini file with this. And saved it in my WINDOWS folder. Doc_root => doc_root = c:program filesapache group apache2htdocs Extension_dir => extension_dir = c:php Does anyone know what's wrong with my configuration? Or did I miss something out? |
|
#2
|
|||
|
|||
|
RE: Php not recognised
Shouldn't the AddType decleration be:
AddType application/x-httpd-php .php .php3 . php4 Notice the httpd instead of http. |
|
#3
|
|||
|
|||
|
RE: Php not recognised
Thanks a million! That worked perfectly!!
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Php not recognised |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|