LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-14-2004, 07:59 PM   #1
stevem00
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
PHP Setup in Apache


Hi everyone,
Just wanted to figure out how to enable global variables on my apache server under Mandrake. And also want to enable XML.
Can some one point me in the right direction, where is the httpconf? file. i gather that is the file to change ?

Sorry just I cant get a form to work when im declaing a variable such as $test. If gives me parse errors.

Well thanks for your time,

Steve
 
Old 01-15-2004, 06:36 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If you're looking to change PHP settings, it's the php.ini file you should be editing. It may be in /etc/php.ini, /etc/php/php.ini, /etc/php/apache2/php.ini, etc. Make sure you're changing the right one.

If you want to register global variabled you should set "register_globals= On", but it's not recommended for security reasons.

If you get parsing errors when trying a PHP script, are you sure the script actually works? Does the very same file work on other servers?

Håkan
 
Old 01-16-2004, 03:59 PM   #3
stevem00
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Great thanks for the help mate. Now i know where to fine the php.ini
Its only for testin on my machine to ill turn globals off once finished.
Not sure if the script is 100%, trying to search a MySQL DB and return results in a dynamic table.. need some more investigation on doing this.

Cheers
Steve
 
  


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
PHP/MySQL and Apache server setup nenyo Linux - Software 7 02-12-2005 01:48 PM
apache or php setup problem caged Linux - Software 2 10-28-2004 06:29 PM
Apache/PHP/MySQL Setup Help jobless_joe Linux - Software 2 05-30-2004 01:55 PM
Apache PHP MySQL Setup after Slackware 9.0 Installation initself Slackware 37 12-20-2003 06:48 AM
Setup Apache and PHP kaustav Linux - Newbie 5 03-31-2003 06:23 PM

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

All times are GMT -5. The time now is 01:32 PM.

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