Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 31st October 2010, 06:50
maineac maineac is offline
Junior Member
Join Date: Oct 2010
Location: Near Chicago
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to maineac
Unhappy Getting PHP to work with Cherokee

Let me first thank falko for the nice Howto on getting this set up. However, it would be nice, when you get to the part where you check your php using info.php if you would give some hints for where to look if it doesn't work.

I am installing this on Ubuntu 10.4 using PHP5 and Cherokee v1.08 which is a little newer than the version on the Howto. There was a little difference in the way you enable PHP on Cherokee. Under the default virtual server behaviors you need to select "Rule Managment" instead of Wizards. Then you can add a rule, look for languages and pick PHP. It's pretty straight forward from there.

But it still doesn't work. When I type in the url "http://localhost/info.php" I get an "Unable to Connect" message. If I try the same url without the "/info.php" I get the classic Cherokee Test Page.

If I try "php info.php" from a terminal on the web root I get the information printed out on the terminal.

Incidentally, "info.php" looks like this:
Just as a note, I did install the FastCGI php5-cgi as you recommended.

I am using FireFox 3.6.12 for a browser.

Does anyone have any idea where I can look to find out why this doesn't work?
Reply With Quote
Sponsored Links


cherokee, php

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newly Installed ISPConfig3 on Ubuntu 8.04 : login redirect fail ? cripperz Installation/Configuration 5 22nd March 2009 13:15
Slightly Confused (DNS & Server Help) JohnnyBGoode Installation/Configuration 26 14th August 2007 10:54
PHP scripts don't work, please help. CombatGod Installation/Configuration 9 11th May 2006 18:37
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 14th March 2006 00:58
all my site go to /var/www/ Absolusteph Installation/Configuration 14 11th March 2006 22:27

All times are GMT +2. The time now is 14:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.