Topic: PHP Help
i install and configure everything, but still when i go to a .php extension site, it just all appears as text, pls help :9 (I have Win XP Home Edition)
\/ '| () |' \/
---|--- <I'm stronger than you
/ \
_| |_
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → PHP Help
i install and configure everything, but still when i go to a .php extension site, it just all appears as text, pls help :9 (I have Win XP Home Edition)
Did you read and follow the installation documentation for PHP?
yes! i did EVERYTHING!
Maybe its my firewall? :S
EDIT: Nope
What server have you installed?
Make sure you have Apache running, and the PHP extensions installed. If this were linux, I would say "Make sure you check your services". But because this is win, I have to say, check MScofig.
Which version of Apache and PHP are you running? What install documentation did you follow? Did you restart Apache after you made changes to httpd.conf?
Apache - 1.3.29
PHP - 4.3.4
The one on PHP.net
Yes
Listen, otherwise, i think its working, cuz when i start apache it sez
" Apache/1.3.29 <Win32> PHP/4.2.4 Running..... "
Maybe its sumthing wrong about th address im typing, cuz i type the address, and it ends with a .php, though it just appears like a bunch of text.
Are you sure the httpd.conf file is right?
Yup, shud i send it to u via email?
EDIT: If u want me to, tell me ure email address cuz u cant send files thru this email thingy at PunBB
Please help! I really need a forum!
EDIT: When I configure Apache, do i do a module or CGI COnfig? (I tried both )
IM About to rip all my hir out!! I Do EVERYTHING but it still appears as a bunch of text when i go to the .php extension site!
Edit: Can anyone post a windows httpd.conf file wich uses c:/php/ as the directory?
Did you add a line like this in the mod_mime section?
AddType application/x-httpd-php .php
yup
<IfModule mod_mime.c>
#
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
AddType application/x-tar .tgz#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
# Despite the name similarity, the following Add* directives have nothing
# to do with the FancyIndexing customization directives above.
#
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
#AddType application/x-compress .Z
#AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
a silly question, but hav eyou restarted apache since you changed it in the conf file?
(just to rule out a simple mistake)
Edit:saw that you had written that you had above... I think ... but it's always to be sure
Of course!
EDIT: I do all this in IEXPLORER rite?
now i totally ruined it, lol, when i load apache it sez,
Unkown(): Unable to load dynamic library 'c:/windows\php_*.dll' - The specified module could not be found
Ok, i see what i did, but WHERE is that mistake? I searched for it in php.ini and httpd.conf, its not in anyof those, help pls
an sumone pls send me their whole php and apache folder? :P:P PLS
is it cuz its freewebs.com and its free? :S dunno, im totally messed up, just sumone pls send it to me sumhow, PLEAE :(:( I really erally really need a forum
No wonder you aren't getting anywhere. Slow down! You just posted 5 messages in a row. You really have to stop doing that.
Explain in steps what you did when installing PHP. Don't link to some install guide, write it down for us.
Ok, *takes deep breaths*
1.I Install PHP on PHP.net using the Zip Package to C:\php
2.I Install Apache 2.0 to C:\Program Files\Apache Group\Apache2
3.Follow the instruction to configure Apache2.0 to work with PHP
4.Restart the Apache Server
5.Takes deep breaths and meditates
6.Goes to the site with the install.php
7.Almost rips hair out 'cause it's still a bunch of text
EDIT: Would Xitami work, oh ya, I tried that too It doesn't work
I thought you were running Apache 1.3. Oh well, exactly what changes did you make to httpd.conf? It would be great if you could post both the unaltered and the alterered version of your httpd.conf.
The whole thing?This is all i added (copied and pasted from php.net)
; For PHP 4 do something like this:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
I puit the loadmodule at the end of the loadmodule list and the addtype at the end of the addtype list, thats all........
Ok, that appears to be OK. Hmm, try adding the AddType at the end of the file instead.
PunBB Forums → PunBB 1.2 troubleshooting → PHP Help
Powered by PunBB, supported by Informer Technologies, Inc.