(phpsuexec) How Can I Run Php5
Mar 31, 2008i 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,
i 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,
i 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 Related"how to install/setup phpsuexec" specially in Cpanel/WHM servers.
View 1 Replies View RelatedSearching 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 RelatedI have just installed PHP5 into my IIS server and want to install projectpier
1st problem: When I go to [url]I get the errorThis Virtual Directory does not allow contents to be listed.
There is an index.php in there but doesn't load even though I have specified it as a default content page in the website..
2nd problem: After I manually browse to the install page I get the following errors:
#Error: /config/config.php is not writable
# Error: /public/files is not writable
# Error: /cache is not writable
# Error: /upload is not writable
I have realised that permissions are not setup right so I went and gave cart blanche access to the folder for any user..it worked but is far from secure.What is the best way to do this?
When installing web applications like this are they usually done from the servers browser where the server is the only one with full access.I tried this and it didn't work.
Running ubuntu server 6 if I apt-get php5 the version I get is 5.1.2.
Now the latest version on the php.net site is 5.2.5.
Does it really make much of a difference if I'm slightly below current? What are your thoughts please?
I know if I go compiling from source php and mysql are difficult to get working together which is why I like the apt-get method.
We have a client which site requires PHP4, not PHP5 to run. Can we run both PHP versions alongside each other? Apparently, their site will only work in PHP4. We are running Plesk 8.3.0 for Linux.
View 8 Replies View RelatedI have PHP 5.2.5 compiled with GD library working on my webserver,
yesterday i wanted to add Curl Support, so i had to recompile php.
I downloaded and installed Curl latest version and tried to recompile PHP :
'./configure'
'--prefix=/usr/local/php'
'--enable-discard-path'
'--disable-force-cgi-redirect'
'--enable-shared'
'--disable-static'
'--disable-debug'
'--disable-rpath'
'--enable-pic'
'--enable-inline-optimization'
'--enable-memory-limit'
'--with-gd'
'--with-png-dir'
'--with-jpeg-dir'
'--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php'
'--with-pear=/usr/share/pear'
'--enable-magic-quotes'
'--enable-debugger'
'--enable-track-vars'
'--with-exec-dir=/usr/bin'
'--with-versioning'
'--with-mod_charset'
'--with-regex=php'
'--enable-track-vars'
'--enable-trans-sid'
'--enable-safe-mode'
'--enable-ctype'
'--enable-ftp'
'--with-gettext=/usr'
'--enable-posix'
'--enable-session'
'--enable-sysvsem'
'--enable-sysvshm'
'--with-openssl=/usr'
'--without-kerberos'
'--with-freetype-dir=/usr'
'--with-zlib=/usr'
'--with-zlib=/usr'
'--with-zlib-dir=/usr'
'--with-zlib-dir'
'--enable-xslt'
'--with-xslt-sablot'
'--with-iconv-dir=/usr/local/lib'
'--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-mysql'
'--enable-mbstring=all'
'--enable-fastcgi'
'--enable-discard-path'
'--enable-force-cgi-redirect'
'--with-curl=/usr/local/curl'
I can't get it working, this is the error i get :
..
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
configure: error: GD build test failed. Please check the config.log for
details.
I think i'm not the only one who is experiencing this problem, take a look here:
[url]
Why do PHP.net don't give much importance to this BUG?
I'm using the same OS : Centos 5
I recently installed ubuntu 7.10, and apache2. Both installed with no problems. In my browser i am able to type localhost, and i recieve the "It works" page. I can also start,stop and restart with no problems. However, I cannot install php5. I use synaptic package manager to install, and i added the appropriate lines to the httpd.conf file but i still cannot view .php files. I try to run a simple php page and a dialog box pops up prompting me to open or save the file. If i choose either, the box just pops up again.
View 15 Replies View RelatedI compiled php5 from source, i'm running php5+lighttpd using fastcgi..
i want to uninstall php5 and install php4, i tried this :
[root@srvxx php-5.2.5]# make uninstall
make: *** No rule to make target `uninstall'. Stop.
anyone knows how to uninstall PHP5?
I'm trying to keep up with things by developing for PHP5. My current host still uses PHP 4.4.1, which is a pain. Can someone advise me if I should change host to someone who uses PHP5. I would rather have shared hosting due to budget. If so, who should I use? Otherwise, can someone point me in the direction of a resource that describes how to develop for PHP5 while retaining backward compatibility for PHP4.x so I can write code targeted primarily at PHP5, but also works on PHP4.x?
View 6 Replies View RelatedI have a slight problem I can manage most of the features on a VPS server, but I want to upgrade php4 to php5 on the server.
Problem is I have no idea where to start, Im using plesk control panel using WebFusion hosting.
Does anyone have any idea, articles etc. I have had a look online but come up with nothing that simply walks me through what I have to do.
i am getting Internal Server Error while accessing php5 pages.
cat .htaccess
AddHandler application/x-httpd-php5 .php
Premature end of script headers: /usr/local/cpanel/cgi-sys/php5
I've already managed to pick two web hosts for my business that probably won't do the job, so I'm looking for some advice. Primarily we need PHP 5 (with cURL), MySQL 5, easy to implement SSL and some kind of e-mail. I wouldn't imagine using more than 1gb monthly data transfer or needing more than about 20mb of storage.
The database design and all the code was custom written by me and a friend. We are not interested in overly-fluffy GUI's - we like power tools without the finger guards. We'd also like to have good logs of errors, accesses, etc.
Finally, I'm not interested in saving $10 a month to get an overloaded server that goes down now and then. Web host rates are pretty much trivial in comparison with the cost of downtime for this site.
I have installed PHP 5.2.1 (with this guide) working along side PHP 4.4.6, but I am trying to install mailparse into PHP5 and have not had much luck at it.
I think it maybe installing it for PHP 4 and not PHP5 as it seems to be the same date all the time: 20020429 and I believe it should be 2004 or newer from what I have read on Auracle Support Forum.
I have tried:
Code:
/bin/mount /tmp -o remount,exec
pecl install mailparse
pico /usr/local/Zend2/etc/php.ini
Added: extension=mailparse.so to the php.ini of PHP5
service httpd restart
/bin/mount /tmp -o remount,noexec
I have also tried installing from the tar file I wget with the following commands
Code:
cd /home/src/mailparse-2.1.1
/usr/local/php5/bin/phpize5
./configure
make
make install
Then I believe I did
Code:
pico /usr/local/Zend2/etc/php.ini
Changed: extension_dir to /usr/local/php5/lib/php/extensions/
cp /usr/local/lib/php/extensions/no-debug-non-zts-20020429/mailparse.so /usr/local/php5/lib/php/extensions/
But it still does not work
We have a server runing both php4 + php5 and had someone set it up that way when we got the server. but now i cant find who did it for us. And would like to hear how to do it. Im not the best with this kind of stuff and thats why i hire someone to do it lasttime
I been reading on cpanel.net but nothing is up to date!
I'm running cPanel hosting on Centos VPS, apache was last built with PHP 4.4.2. Now I have a client who wants to install mediawiki which requires php5. I don't want to recompile Apache with php5 because I don't know how this could affect my other customers.
Is it possible to run php5 for on a "per account" basis while keeping php4 as the default for the server ?
how do i install php5 on my linux vps centos OS i want to do that installing because right now using php4 and i want to upgrade to php5 and mySql 5 to my vps. i'm on self managed/unmanage server
View 10 Replies View Related