LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-07-2004, 10:06 AM   #1
secprovider
Member
 
Registered: Jul 2003
Distribution: Debian sarge
Posts: 40

Rep: Reputation: 15
Problems with keyboard + php


Hi,

I have some problems with my new Debian sarge.

First problem with some keyboard characters. Normally my keyboard does not prin out Alt Gr combination characters like | , @ , etc. But i just run the "xf86cfg" program and do nothing and close the program, then I can print these characters. Any idea?

Second problem with my php. I installed apache+mysql+php4 and just wanted to try a simple php file with mozilla and firefox. But mozilla and firefox can not run php files and ask me to save them. Any solution? By the way, where is the executable php file. locate just returns some library and config files.

Thanks
 
Old 07-07-2004, 10:39 AM   #2
datprogrammer
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Rep: Reputation: 0
Can't help you with the keyboard thing..

Php scripts are executed server side, not by the browser.

If your browser is offering to save the php file the the problem is with the httpd server, not with the browser. You need to tell your
webserver how to handle php files - for example, in my setup (Apache2) I have the following lines in httpd2.conf:

# PHP Configuration for Apache

#
# Load the apache module
#
LoadModule php4_module modules/libphp4.so

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

There are many examples and tutorials on the net - googling for "php apache2 confguration" or similar will turn up some useful info
 
Old 07-07-2004, 02:16 PM   #3
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
"First problem with some keyboard characters. Normally my keyboard does not prin out Alt Gr combination characters like | , @ , etc. But i just run the "xf86cfg" program and do nothing and close the program, then I can print these characters. Any idea?"


What keyboard/language do you use?

I use a Logitech iTouch spanish one, and it works without any problems.

When i do a 'dpkg-reconfigure xserver-xfree86, in the part where it asks you for keyboard mapping, where everybody writes: 'pc 104' or whatever, i write:

Logitech iTouch

and in the next screen for language:

es

at work:

us

for an american keyboard
 
  


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
Major problems with the keyboard! Microsoft keyboard is not compatable?. aweir14150 Mandriva 2 05-26-2006 06:57 AM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM
keyboard problems with xfce4 - general keyboard question Villain Linux - General 2 06-20-2004 04:35 PM
Keyboard problems! coolsid Red Hat 0 05-31-2004 08:38 AM
Keyboard Problems hevykevy7 Linux - Newbie 4 05-21-2003 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:03 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