Simple PHP newbie Q
- Started
- Last post
- 7 Responses
- Dancer
I have not checked and used php in a while (I installed all the gumpf over a year ago). I am a very new newbie to it and fogot everythng I did know.
I have today gone back to have a look at something and cannot access phpMyAdmin – I would usually type in the browser http://localhost/phpMyAdmin/inde… and all I get is code.
The oonly thing that has changed is I have updated my OS would this affect it?
- heavyt0
do you see the php code as plain text?
are you able to run php locally in other ways?
- Dancer0
do you see the php code as plain text?
– Yesare you able to run php locally in other ways?
I don't think so? How do I test for that?
- heavyt0
ok, that kinda makes sense.
you either dont have PHP installed anymore, or some changes were made to it.
step 1 - open terminal
step 2 - type 'php -v'that will tell you what version of php is installed. if it has an error, you need to reinstall php. Use entropy (google it)
if it tells you a version, we need to take the next step, which involves an edit to the php.ini file
- Dancer0
PHP 4.4.4
- heavyt0
excellent.
i would like you to check in the php.ini fileyou wanna hit me up on IM?
AIM: toddresudek
- acescence0
maybe your httpd.conf file got overwritten? should have LoadModule php4 and AddType .php directives in it
- ********0
try xampp