Questions tagged [suphp]

suPHP is a tool for executing PHP scripts with the permissions of their owners.

suPHP is a tool for executing PHP scripts with the permissions of their owners.

80 questions
0
votes
1 answer

executing suphp from memory

I manage a server on linux that has apache with php and suphp. Like most setups, all program files are currently stored on disk. I want to run suphp from ram. I then copied everything in the suphp folder (config files, folders, and program totaling…
user2585496
0
votes
1 answer

repeated application executed from disk. How to execute repeats from memory?

I'm running a linux web server that uses apache, php, and suphp. Each time a guest accesses the server, suphp is started, the php interpreter is started and the php file is processed, but all of these files are on the disk. I want to make it so that…
user2585496
0
votes
1 answer

Suphp upload file permission

After installing SuPHP & SuExec on debian squeeze server, I've got error with file upload permissions... The file is moved correctly in the good folder after upload, but the permission of the file is 640 and I want to set automatically a 755 file…
C'téFun
  • 1
  • 3
0
votes
1 answer

Is is possible to load php functions from a text file?

I recently updated my server to use SuPHP to increase security. One downside is that I used to be able to include files from my other domains hosted on my server using absolute paths to the file. This doesn't work anymore. The file in particular…
0
votes
1 answer

suPHP and Lazarus console application running into weird shell malfunctions

i do appologize for the title, but couldn't find any other explaination. My company is running a development server with the latest LTS Ubuntu+Apache2+suPHP. To handle it, i am writing a Zend2 and Lazarus application. The web part with Zend runs…
blender
  • 361
  • 3
  • 16
0
votes
1 answer

suPHP wont allow access to parent magento multisite via symlinks. is there another way to do this? (example rewrite prg)

ive seen other posts on stackoverflow about this but there hasnt been a solid answer to any of the questions. so im combining the knowledge i've gathered from the other posts and rewording things to hopefully get a solid answer. suPHP is a mod that…
Katushai
  • 1,510
  • 2
  • 14
  • 27
0
votes
1 answer

Read If-Modified-Since header in PHP CGI

My PHP script depends on being able to read the value of the If-Modified-Since header (yes, I know how to do this). It worked correctly when I used PHP as mod_php, but now that I've switched to suPHP (CGI), it appears Apache itself handles requests…
Bart van Heukelom
  • 43,244
  • 59
  • 186
  • 301
0
votes
1 answer

Cryptic PHP error invloving Zend Framework and Doctrine

I'm currently receiving the following error message with Zend Framework and Doctrine. I'm trying to figure out how to solve this issue.. Fatal error: Uncaught exception 'LogicException' with message 'Passed array does not specify an existing static…
Austin Biggs
  • 61
  • 1
  • 8
0
votes
1 answer

suPHP, Ubuntu, files getting downloaded in browser

Im running the following setup: Ubuntu 12.04 LTS 64-bit Zpanelcp (zpanelcp.com, which seems to be down for the moment...) Apache2 PHP5 Trying to add suPHP to my setup. After following this: http://www.debiantutorials.com/installing-suphp/ (I know…
Robert
  • 101
  • 2
  • 9
0
votes
1 answer

How can I prevent php execution in parts of a website?

I have a LAMP server running php as suphp, with several websites. If I'm not mistaken, php code can normally be prevented from running in a certain part of a website by putting "php_flag engine off" in a .htaccess file located in the corresponding…
rigor
  • 23
  • 2
0
votes
2 answers

500 Internal Server Error after installing suPHP. And the online solutions only cause more problems

Since I installed suPHP (to be able to run Wordpress properly) I am getting "500 Internal Server Error". Not when I load the WP index.php, but when I load phpinfo.php (just the phpinfo function). Also phpMyAdmin can no longer log in (Chrome brings…
o_o_o--
  • 975
  • 9
  • 20
0
votes
2 answers

Run command from PHP script: sh: 1: screen: not found

I have problem with script that running screen session. and see this on logs: Wed Oct 17 16:17:39 2012] [error] [client 83.5.x.x] sh: 1: screen: not found, referer:…
r4ven
  • 303
  • 2
  • 11
0
votes
1 answer

suPHP Security With Sessions

I am trying to better understand suPHP. I have obviously found the suPHP documentation on google, and have found the generic answers for what it is and does, but I am confused on how it can help with session security and preventing session…
ZAX
  • 968
  • 3
  • 21
  • 49
0
votes
2 answers

upload script not working after enabling suphp

My php script that uploads files in my centos - apache server was working fine. Today I enabled suphp in server and after that script is not uploading any files. I was used "php_flag register_globals on" in .htaccess before. But I removed that line…
user1010966
  • 473
  • 1
  • 6
  • 13
0
votes
2 answers

Moving Magento from server to SuPHP server

I have a nice Magento server and need to move to other server host Moving Magento from Php 5.2.17 server to SuPHP server All my file permissions are bogus on new server and nothing works. What do I need to change, or what is the proper way to move…
snh_nl
  • 2,877
  • 6
  • 32
  • 62