Installing PhpSuEXEC
Mar 30, 2007"how to install/setup phpsuexec" specially in Cpanel/WHM servers.
View 1 Replies"how to install/setup phpsuexec" specially in Cpanel/WHM servers.
View 1 Repliesi wanna to install phpsuexec but i know that i will have problems with .htaccess files.
if i install phpsuexec how can i avoid the 500 error from the .htaccess?
Should we not be using PHPSuExec with FastCGI?
View 1 Replies View RelatedI'm wondering which one is the best with cPanel and Apache 1.3.41. The server will be used for shared hosting.
View 11 Replies View Relatedi have a server run with phpsuexec and php4 default,
i want to let certain account run with php5,
it looks likely i can add a php.ini in the account,
Searching a while I learn that phpsuexec is not native in Plesk. But it's years or months ago. I'd like to know if now is there any easy way to install phpsuexec (or any alternative: suexec, suphp...) in Plesk?
I have a VPS with Virtuozoo and Plesk, and it could be better if scripts run with owner's permissions. There're 2-3 users on the VPS and I don't want to config Apache to run with special user apart from nobody.
Can anyone tell me the difference between SuExec and PHPSuExec. I hear eaccelerator will not work with PHPSuExec but will it work with SuExec?
View 2 Replies View Relatedwhat is phpsuexec and suexec and how to stop them ?
View 1 Replies View Relatedfor servers to have PHPsusexec enabled or not? Is it advisable?
Btw I know Apache has the phpsu module. Is it similiar to PHPsuexec? if i didn't compile Apache with that module, does it means when i enable PHPsuexec through cPanel, it won't work?
I was wondering if it is the script problem or the settings problem. I have a script that upload and create files, however it always have things created (eg. folders) in nobody's group and owner. However when I do it in FTP, the permission was set to the user's. Can anyone advise what problem it is?
What's the simplest way to switch over to phpsuexec on a cpanel box, a smooth transition for all domains hosted? Basically, after I complile apqache (via whm preferrably) with phpsuexec and the current (php 5 / apache 2.2) do I need to do anything else, run any commands? I did this in the past, but cannot remember the exact steps.
View 1 Replies View Relatedis there anything I should do now?
everthing generally seems fines but I have a strange thing going on with an images folder that a php script puts users images in (so my users can upload files). this folder was previously 777 and now phpexec has been installed the images are not showing up. I get a "You don't have permission to access" message on the image files. I tried chmod'ing the images folder to 766 and 755 and the same thing happens. This has nothing to do with the php script as I can't even access the image files by typing in the URL in a browser.
I am running Joomla on a server and am trying to get phpsuexec to work with it, so far without success. From searching the web and forums I managed to get rid onf my 403 and 500 errors, but now I am dealing with blank white pages on all of my sites where the page being loaded is a php file.
I have all of my php calls removed from .htaccess and put into a php.ini file.
What else am I missing here? Is there a conflict in my apache build maybe?
My server has update to
WHM 11.11.0 cPanel 11.15.0-R17665
CENTOS Enterprise 5 i686 on standard - WHM X v3.1.0
apache 1.3.37
and now the server run without phpsuexec so i try to recompile apache with php security and suphp module but the php.ini files still didn't work in the client's sites and there is alot of scripts want php.ini files for safemode = off , etc even the top process show me nobody not users to know who spam or other tings
i run this command
/usr/local/cpanel/bin/rebuild_phpconf --current
and i got
php has not yet been configured with EA3
with the new update cpanel i can't run php.ini files anymore
As all we know suPHP or phpsuexec are coded to let apache run the script with file's owners name and not the "nobody"
1- Plesk does not support phpsuexec but its possible to setup suPHP on plesk! Any comment, suggestion experience?
2-My alternative
I create a group for each single user named "apacheUSERNAME" and will assign both apache and the user to this group.
Then I will change the group for any file/directory that needs 777 permission.But instead 775.
Again suggestions are appreciated
3-Final comparator should be server load; How will be the server performance(load) with or without suPHP or phpsuexec
We have a strange issue where include('./somebadfilepath.txt');
Will not output the standard WARNING from PHP. Instead it just displays a blank page.
phpsuexec is installed.
This also happens for other functions like fopen or fopen when supplied a URL path. No error,
We have a server that we just changed over to PHPSUEXEC. On this server, we have a large IPB (Invision Power Board) forum that we have not been able to get uploads in the forum back working again. Users are getting the message that they don't have permission, and to contact an administrator.
I have looked on IPB's forum for PHPSUEXEC related issues, but can't find a solution. Of couse, before phpsuexec the "upload" folder had 777 file permissions, but under phpsuexec this must be 755. It isn't working though.
Anyone had experience with this with IPB and know how to fix it?
Does anyone know the step by step procedure for compiling apache with phpsuexec enabled and making apache recognize php on a non-cpanel server?
View 0 Replies View RelatedTo install the GD graphics library for PHP, is recompiling the only method? And would recompiling PHP break things?
View 12 Replies View Relatedjust recently upgraded from a fully managed VPS to a Dedicated Server. Everything seemed to be going fine, until I tried installing RoR. I have RubyGems installed and all that, but whenever I try to install Rails, the following happens.
[root@server1 ~]# gem install rails --include-dependencies
Libsafe version 2.0.16
Detected an attempt to write across stack boundary.
Terminating /usr/bin/ruby-bin.
uid=0 euid=0 pid=9614
Call stack:
0x519df871 /lib/libsafe.so.2.0.16
0x519dfc5d /lib/libsafe.so.2.0.16
0x80549b8 /usr/bin/ruby-bin
0x8054a52 /usr/bin/ruby-bin
0x80556af /usr/bin/ruby-bin
0x806132f /usr/bin/ruby-bin
0x8061de6 /usr/bin/ruby-bin
0x809eb06 /usr/bin/ruby-bin
0x8055681 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x8059c53 /usr/bin/ruby-bin
0x8064680 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin
0x805ae8a /usr/bin/ruby-bin
0x805d2ad /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x8062e68 /usr/bin/ruby-bin
0x805b9b2 /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin
Overflow caused by memcpy()
Killed
Main >> Software >> Apache Update
I've read through a number of threads regarding installing GD. So sorry for yet another, but I just want to make sure that I'm doing this correctly.
As seen in the attachment below I'm presented with a few options:
Previously Saved Config (** DEFAULT **)
Basic (If your previous build has failed, please use this option)
No PHP
PHP Encryption / E-commerce
PHP Encryption and Image Manipulation
PHP Image Manipulation
PHP Security
Should I start by selecting the option "Previously Saved Config (** DEFAULT **)" and then "Start Customizing Based On Profile"?
I've walked through the steps doing the above and have a question about the last section. Viewing the Exhaustive Options List shows GD as already checked yet towards the bottom I see a checkbox with the following (second attachment below):
Quote:
Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp
This option will make the following changes to your profile prior to the build:
Enables:
CurlSSL
FTP
GD
Gettext
Iconv
Imap
Mbregex
Mbstring
Mysql
Mysql of the system
PGsql
Sockets
Zlib
Should I check to save and then click "Save and Build" to get GD installed?
Some additional information: I have downloaded my default profile. (lol Let's hope I don't have to use it because I wouldn't know where to begin!)
My php.ini file shows that GD is not installed or at least not compiled (if that's the right word to use). To clarify, GD is not in the list.
I have tried yum install pgp-gd and get the following:
root@server [~]# yum install php-gd
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: styx.biochem.wfubmc.edu
* updates: mirror.raystedman.net
* addons: dist1.800hosting.com
* extras: mirrors.easynews.com
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
No package php-gd available.
Nothing to do
root@server [~]# No package php-gd available.
root@server [~]# rpm -q php-gd
package php-gd is not installed
root@server [~]# php -m
[PHP Modules]
bcmath
calendar
ctype
date
dom
eAccelerator
filter
ftp
hash
iconv
imap
json
libxml
memcache
mysql
pcre
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
eAccelerator
root@server [~]# yum list | grep -i gd
gd.i386 2.0.33-9.4.el5_1.1 installed
gd-devel.i386 2.0.33-9.4.el5_1.1 installed
gd-progs.i386 2.0.33-9.4.el5_1.1 installed
gdb.i386 6.5-37.el5_2.2 installed
gdbm.i386 1.8.0-26.2.1 installed
gdbm-devel.i386 1.8.0-26.2.1 installed
sysklogd.i386 1.4.1-44.el5 installed
aspell-gd.i386 50:0.50-4.2.2 base
gdk-pixbuf.i386 1:0.22.0-25.el5 base
gdk-pixbuf-devel.i386 1:0.22.0-25.el5 base
gdm.i386 1:2.16.0-46.el5.centos base
libgdiplus.i386 1.2.5-1.el5.centos extras
libgdiplus-devel.i386 1.2.5-1.el5.centos extras
root@server [~]#
to install VPN on my dedicated server with fedora core 6.
I search on the internet and I found some article.
now I have this question,
I found the rpm in WHM>Software>Install a RPM named openvpn.i386 .
Can I install this rpm from this section?
my server running freebsd 6.2
i want to installing PHP 5 so my server can run 2 version of PHP (4 and 5)
im following the step here [url]
installing was successful
[root@s1 /usr/local/apache/logs]# /usr/local/cpanel/cgi-sys/php5 -v
PHP 5.2.1 (cgi) (built: Mar 30 2007 17:07:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
but when i try to running phpinfo for it, its show me an error
i grep the error from error.log and got this
[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] Premature end of script headers: /home/uletbulu/public_html/info.php
[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] Premature end of script headers: /usr/local/cpanel/cgi-sys/php5
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml
but for php 4 there is no problem at all
or the syntax for php 5 not using phpinfo(); anymore?
[url]
[url]
I've installed PHP, MySQL and Apache on my XP.
I've uncommented some extensions in php.ini and among them:
extension=php_pdf.dll and extension=php_mysqli.dll, but when I start Apache I got the message:
PHP Startup: Unable to load dynamic library 'c:phpextphp_mysqli.dll' - The specified module could not be found
But I have that module in c:phpextphp_mysqli.dll.
Anyone have tried yum with suse 10.x ? and what its rpm download link?
View 1 Replies View RelatedIve just installed PHP on my virtual server and am getting this error message:
PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: ?Mq?gpp?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mbstring.so' - /usr/lib/php/modules/mbstring.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: D1q?`?p?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
Does anyone have any ideas what this could be/how it could be fixed? Full phpinfo can be found here: jlwalsh.net/phpinfo.php - if theres any other info I can send let me know.
Trying to install gd library but not able to..
When i do yum install php-gd it says nothing to do..
Kindly help me.. Its a week i am trying to make it work.. Looks like i have searched the whole net..
I have Kevin Yank's book, and have followed the instructions (I thought) absolutely correctly.
most of it seems to be fine, but when I open up the very first page created (the "today.php" project!).. it says "module not found"..
take out the <%php bit... and rename it as an asp file (just to be sure my /localhost settings etc were ok) and it works fine. It's clearly a php install error.. Where do I start looking?
I did search on the forum but failed to find any related thread...
Hi there, I was wondering if anyone have installed ffmpeg-php under windows successfully or you might understand how to do it?
By default it's for linux, but there is a version for win made by some guy/guys to be found here: ffmpeg google groups
Problem is, I don't understand how to install? Could anyone explain, thanks!
Edit: Got it to work!
avcodec.dll (copy to WindowsSystem32)
avformat.dll (copy to WindowsSystem32)
php_ffmpeg.dll (php dir)
Add: extension=php_ffmpeg.dll <- to php.ini
All the other files confused me
We have a managed VPS, and have never needed on our own dedicated servers in teh past to have FFMPEG due to the line of data we host. So, I asked our provider to please install FFMPEG onto our server.
This is the response I have received:
FFMpeg requires PHP to be compiled as CGI (PHPsuexec) that is only officially supported by cPanel. So in order to install FFMpeg modules we have to resetup your VPS with cPanel.
Now our VPS is running Direct Admin on CentOS.
I am not trying to poke holes at our provider, just trying to find out if this is the truth, or if there is a work around that can accomplish this.
I do not want CPANEL on our account. We have two unix techs here at work, however unfortunately they are both off for two weeks as of middle of last week, so i'm caught with who to look for to gain a second opinion.
I have installed a Apache server version 1.3.33 on windows XP and would like to enable mod_rewrite so i can rewrite my ugly url´s. How do I install this great feature in Apache so i can test it locally?
Do i just remove # from
#LoadModule rewrite_module modules/mod_rewrite.so
#AddModule mod_rewrite.c
Are there any circumventors you can install on your website to bypass censorship on public computers?
View 0 Replies View Related