Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-14-2004, 07:59 PM   #1
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,

Old 01-15-2004, 06:36 AM   #2
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?

Old 01-16-2004, 03:59 PM   #3
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 PM.

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