To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-13-2002, 11:07 AM   #1
Invader Zim
Junior Member
 
Join Date: Aug 2002
Posts: 2
php engine on/off per virtual host

On http://www.phpbuilder.com/manual/configuration.php it says you can disable php per directory or virtual host by using (php3 obviously)

php3_engine on/off

according to http://www.php.net/manual/en/printwn/configuration.php it's

engine on/off for php4. It also notes

Quote:
By putting engine off in the appropriate places in the httpd.conf file
Now, my questions:

1) What are the appropriate places?
2) What is the actual syntax?

Cuz all I can get is

Syntax error on line 139 of /var/lib/apache/conf/take13.net.conf:
Invalid command 'engine', perhaps mis-spelled or defined by a module not included in the server configuration
Invader Zim is offline   Reply With Quote
Old 09-13-2002, 08:09 PM   #2
bealers
Member
 
bealers's Avatar
 
Join Date: Aug 2002
Location: Worcestershire/UK
Posts: 37
try
php_value engine off
in a VirtualHost container
bealers is offline   Reply With Quote
Old 09-13-2002, 08:14 PM   #3
Invader Zim
Junior Member
 
Join Date: Aug 2002
Posts: 2
brilliant! that did it. thnx!
Invader Zim is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump


All times are GMT -4. The time now is 02:46 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.