LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2010, 03:33 PM   #1
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321
Blog Entries: 1

Rep: Reputation: 31
phpwiki configuration


Hello all,

I'm tryin' to set a wiki system using phpWiki (Debian Squeezy + PHP5).

I'm having two issues:


1) When using Firefox (3.6) or Internte Explorer, if I load the "home page", http://myHost/phpwiki/

(I put php under /var/www/phpwiki directory) the browser ask if I want to download the file.
If I use another browser (ex Midori or Arora) the php works and display de home page.

Am I missing something with the Apache or phowiki config.? If I use a test php page works ok both with Firefox or IE.

2) In phpwiki config I selected $LANG="es" in order to use spanish language. But it didn't work up to now.

Regards,
Matías
 
Old 05-12-2010, 09:16 AM   #2
tizzef
Member
 
Registered: Jan 2005
Location: Nice, France
Distribution: Ubuntu,RHES, Mandriva, RHAS, AIX 4.3.3, 5.2 & 5.3, Debian,Solaris8/10
Posts: 119

Rep: Reputation: 20
Hi there,

You have to edit the configfile of apache, paste the following :

Quote:
# Use for PHP 5.x:
LoadModule php5_module modules/libphp5.so
AddHandler php5-script php

# Add index.php to your DirectoryIndex line:
DirectoryIndex index.html index.php

AddType text/html php

# PHP Syntax Coloring
# (optional but useful for reading PHP source for debugging):
AddType application/x-httpd-php-source phps
and restart your http server.

Cheers.
 
Old 05-13-2010, 07:01 AM   #3
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Tizzef,

Thank you for the tips (Y)
For a while I've been playing with WikkaWiki, but I'll check these options for phpWiki as soon as I can and I'll let you know.

Merci beaucoup,
Matías
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DynDns problem... with configuration or with system configuration? dwhitney67 Linux - Software 1 03-04-2009 10:10 AM
ifconfig configuration changes are not reflected in the network configuration GUI nkd Linux - Networking 4 12-25-2008 01:17 PM
DNS configuration and configuration file in RHEL5 remo1225 Linux - Newbie 1 02-20-2008 04:25 AM
Blank page when opening PHPWiki. Install file won't help much Thakowbbery Linux - Software 0 04-17-2007 08:57 AM
phpwiki-1.2.10 on Fedora Core 6 problem sfo_sc Linux - Software 2 04-15-2007 07:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration