help with php wiki engine
I haven given up on trying to install and run moinmoin as a wiki engine plus i thought about some of the security flaws when it comes to creating page that requires the language to be ran on the computer accessing it. the wiki engine i am looking into using is phpwiki with apache2. i have exhausted all resources and have done numerious google searches but to no avail. i installed php (at least i think i did) on my box running apache but when i try to access the page named index.php it doesn't come up as a page in the clients web browser it just downloads it as a file so something needs to be installed in order for it to be viewable by a client. what do i have to install and what needs to be configured in apache in order for this to work.
|
Hi,
You didn't mention your distro, but if it's debian as in your profile, have a look here to see what you need to do in order to install php for apache2. Regards |
Yes that was very helpful. And yes i am using Debian squeeze but for what i am doing i want to know the differences in the process from distro to distro (possibly get a leg up on doing this in FreeBSD 8.2 as well) i am also looking into how to set up WIKI engines in fedora (14 and 15), Ubuntu, (I know this isn't a Windows oriented forum but just thought I'd mention it plus it might not be too difficult to do it in here) and Centos (optional).
But this helps a lot, from what i have been reading about apache is that most of the processes (and i gues that php thing) only vary slightly but remain similar between them. but i want ot know if this means that if the guide is about lenny will it work in squeeze (iguess the apt-get command are different since i think there has been a newer version of php since that article was written) |
Quote:
The only difference between distros, is the different location of the configuration files, the docroot, logs etc. After a package installation you may need to do some minor modifications to configure the installed application to your liking. For this you can use google to get help. Quote:
Regards |
alright the php test page that the guide told me to create and run in the browser works, but i downloaded the source for phpwiki and tried to run the file index.php, and instead of view the wiki's front page like i wanted to in just downloads the page as a file to the Downloads directory. i have gone over the readme and INSTALL file numerious times and none of it is making sense. for instance what does
Code:
In the config subdirectory copy 'config-dist.ini' to 'config.ini' and thanks for the help |
Quote:
It means to copy the example file config-dist.ini to a new one named config.ini. Code:
cp config-dist.ini config.ini |
the guide i found just says that you can easily access the wiki by just going to
Code:
httP//localhost/wiki here is the page i have found about installing phpwiki http://www.phpbuilder.com/columns/ia...n20060309.php3 |
well just did the basic installation that it mentioned from the page, whenever i try to access the wiki from where the location of where all of it's files are i get the "403 Forbidden" page. I want to know how to allow users (all or certain i am sure this is an apache thing not a php or phpwiki thing)
|
Quote:
If you want to restrict access based on clients IP, you can use: Code:
<Directory /var/www/wiki> I suggest you once again to use google to search for specific instructions about the software you're trying to install Regards |
Just found the solution
I gave up on the engine i was trying to use and moved on to another, i started to experiment with MediaWIKI (the same engine that Wikipedia uses) and got it running since their help guides were a little more helpful all i had to do is install a few packages libapache2-mod-php5 mysql-server mysql-php5 now php5 is running as an apache2 modules and implements itself on the server itself instead of the client. also reduces a security risk since have the language running on the client is dangerous because the source code is view-able when running on the client and make it manipulative but when running on the server it's not view-able and not manipulative |
All times are GMT -5. The time now is 09:02 AM. |