You are not logged in.

#1 2011-12-14 03:05:23

Mazdaspeed6
Member
Registered: 2011-10-12
Posts: 12

Multiple problems with Cherokee/PHP

Im using a pogoplug with arch installed. I got Mysql, php, cherokee installed and can access the portal for cherokee. Im trying to install a app from the market such as wordpress or joomla but PHP doesnt seem to be working. Here are my problems:
1. When i run the wizard to isntall joomla it asks for a domain name, im not sure what to put here
2.If i choose to put it in a sub folder for the default server instead of creating a new v-server i tell it to put the files in /srv/http/joomla but they end up in /var/lib/cherokee/ows/root/*
Nothing is created in the http folder
3. How do i tell i goto the newely created v-server? Im trying to access locally from my win 7 machine but it seems to default to the default server. Basically what address format do i need to use to point to the v-server i created. In IIS you could do 192.168.1.35/vservername and it would goto the vserver called "vservername" this doesnt appear to be the case with Linux.
4. I moved the joomla files to the /srv/http folder and tried running 192.168.1.35/index.php in IE and it just tries to save the PHP file instead of loading it. same thing with firefox.

Sorry if these are noob questions,i come from using IIS and windows so im still learning alot.

Offline

#2 2011-12-14 20:34:30

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: Multiple problems with Cherokee/PHP

Yes looks like PHP is not getting picked up. What steps did you follow for installing PHP? And did you try this page over at cherokee?

Another suggestion I would make is to use nginx or apache webserver. Then you can easily follow the arch wiki to install and configure your server. The step-by-step guidelines will have you up and running in no time with mysql and php working. Installing wordpress is as simple as extracting the zip into /srv/http/ and running the wp-admin script from browser. smile

Offline

#3 2011-12-15 01:33:58

Mazdaspeed6
Member
Registered: 2011-10-12
Posts: 12

Re: Multiple problems with Cherokee/PHP

KingX wrote:

Yes looks like PHP is not getting picked up. What steps did you follow for installing PHP? And did you try this page over at cherokee?

Another suggestion I would make is to use nginx or apache webserver. Then you can easily follow the arch wiki to install and configure your server. The step-by-step guidelines will have you up and running in no time with mysql and php working. Installing wordpress is as simple as extracting the zip into /srv/http/ and running the wp-admin script from browser. smile


That link helped alot. i believe it got it working. One problem im running into is through out the setup i get random 504 errors saying it timed out. Im also seeing that between pages is annoyingly slow. I created a swap file (512) but im not sure if its working or not.

Offline

Board footer

Powered by FluxBB