icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » PHPsuexec » What exactly does the phpsuexec module do?

PHPsuexec Information and tips

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old March 14th, 2006, 4:42 AM   #1 (permalink)
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
23,929 posts
Gave thanks: 904
Thanked 769 times
What exactly does the phpsuexec module do?

For php to run under suExec, it must run as a CGI script which is a lot more secure than running as an Apache module (such as mod_php).

Normally under these circumstances, you would need to update all your PHP scripts to include an "interpreter line" such as
Quote:
#!/usr/bin/php
(people coding Perl scripts should be familiar with this format of a "she-bang" line).

Adding this line to all your scripts would be very long winded though. This is where phpSuExec comes in - it "automagically" adds the interpreter line when your php script is run: saving you from the hassle of adding the interpreter line!
__________________
Have you ever want to draw a windmill, and after that animate it? No problem!
Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks Kayla for this great post!
Shirubia (May 2nd, 2008)
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On