Really? Thats great. But is easyapache2 for Apache 2 only? Or what is the significance of the 2? I'd be interested in seeing how they integrated it. I don't currently have a test server where I can install Edge, but if I can get a server where I can play around, I'll have to try Edge and see how suPHP works.chirpy said:They have. suPHP is available in the new easyapache2 available in EDGE at the moment![]()
The new easy apache is for both 1 and 2 and 2.2. It is a complete rewrite and I must say it is very nice and clean (surprised since most cPanel scripts don't have very clean output).sparek-3 said:Really? Thats great. But is easyapache2 for Apache 2 only? Or what is the significance of the 2? I'd be interested in seeing how they integrated it. I don't currently have a test server where I can install Edge, but if I can get a server where I can play around, I'll have to try Edge and see how suPHP works.
**** Done building apache 2, starting post run tasks **
Cleaning up build directories...
Done
Resolving possible problems caused by apache 2.0's apxs adding apache 1 style entries to an apache 2 config
httpd.conf SRC: 2 TRG: 1
Done!
Done!
Error: postcheck() returned a failed status
Restoring previously working apache
Done!
Cleaning up build directories...
Done
Resolving possible problems caused by apache 2.0's apxs adding apache 1 style entries to an apache 2 config
httpd.conf SRC: 2 TRG: 2
Done!
Syntax error on line 310 of /usr/local/apache/conf/httpd.conf:
Port was replaced with Listen in Apache 2.0
Error: postcheck() returned a failed status
Restoring previously working apache
Copying postcheck() failed build to .bad...
Done!
That's just regular CGI with some bells and whistles? What's the point then?chirpy said:They have. suPHP is available in the new easyapache2 available in EDGE at the moment![]()
That may be the case, I haven't checked. But the point I think was more that it was a solution created and supported by cPanel in easyapache so no 'external hacking' should be required. Though there is always going to be some hacking to get the new things working.timdorr said:That's just regular CGI with some bells and whistles? What's the point then?
Go with FastCGI and you'll have PHP5 running at proper speed in comparison to running it as a slow, wasteful CGI: http://timdorr.com/archives/2006/02/php4_and_php4_s.php
This is one place where using various suPHP patches to get this to work. The suphp.conf file (in /etc?) defines the docroot, for my custom servers this is defined as /home. But the hostname VirtualHost entry refers to /usr/local/apache/htdocs as the hostname directory, which is not within /home.eger said:EDIT: removed last step. not sure how to get the main hostname working. defaults to the first virtualhost on the IP for me. Not a big deal.
What I have been doing is when I verify a issue and fix I drop Dan a note with the specifics of the issue and the fix so he can look it over for the next release of the easyapacheeger said:Hopefully cPanel devs take notes on threads and they will work around these bugs. Maybe I should give Dan at cPanel a heads up about these issues so he can resolve them before merging easyapache2 into current or release...
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
C | Php-fpm & cgi vs suPHP | Web Servers and Applications | 3 | |
M | DSO and suPHP for php5? | Web Servers and Applications | 1 | |
T | suphp php4+php5 | Web Servers and Applications | 0 | |
B | SuPHP+PHP5+Apache 2.0 | Web Servers and Applications | 2 | |
W | MIMETypes/AddHandler Apache2, suPHP and PHP5 | Web Servers and Applications | 6 |