[Asterisk-Users] RE: Getting phpconfig to work?

Eric Wieling aka ManxPower eric at fnords.org
Thu Mar 3 07:54:59 MST 2005


Julius Kidubuka wrote:
>>>When I do click on the phpconfig.php link from
>>>http://ip-of-machine/phpconfig/, it returns a page with the actual
>>>contents of that file (phpconfig.php) and doesn't load the page. See
>>>some
>>>of the output below;
>>
>>Try a simple php-script in this directory.
>>Something like this, name it test.php
>>
>><?PHP
>>print (test)
>>?>
>>If it does not print "test", and you see the code instead, check your
>>httpd.conf for a general php-parsing problem.
> 
> 
> True, I have tried that and all I see is code instead. How do I go about
> solving the php-parsing problem in my httpd.conf then?

Try installing mod_php.  Your web server does not consider .php files to 
be scripts.  I don't know why.



More information about the asterisk-users mailing list