Re: php & mod_jrun
| From: | Daniel Chicayban | Date: | Sat, 09 Nov 2002 20:57:36 +0000 |
| Subject: | Re: php & mod_jrun | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9079@lists.php.net to get a copy of this message | ||
I posted the message below a few days ago... I am still researching on it. I can't figure out a reason yet... I was wondering if anybody here have a clue... nobody replied anything... if you do have a clue, let me know what could possibly be and I'll go forward on the case... I am real lost on this. Thanks.
Daniel
At 07:07 PM 11/7/2002 -0500, you wrote:
Two redhat servers: A (rocknroll.chicayban.com.br) and B (crazycat.uglydog.com) -- A runs coldfusion mx and php. # JRun Settings LoadModule jrun_module /var/cfmx/runtime/lib/wsconfig/1/mod_jrun.soLoadModule php4_module libexec/libphp4.so<IfModule mod_jrun.c>JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Ignoresuffixmap true JRunConfig Serverstore /var/cfmx/runtime/lib/wsconfig/1/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51010 #JRunConfig Errorurl <optionally redirect to this URL on errors> AddHandler jrun-handler .cfm .cfc .jsp .cfml .jws</IfModule> -- A has these two lines in <IfModule mod_mime.c>AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phpsEverything works fine on A. Here's the modules A has [root@rocknroll conf]# ../bin/httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_status.c mod_info.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_speling.c mod_userdir.c mod_alias.c mod_rewrite.c mod_access.c mod_auth.c mod_proxy.c mod_usertrack.c mod_unique_id.c mod_so.c mod_setenvif.c suexec: disabled; invalid wrapper /var/apache/bin/suexec -- B loads coldfusion mx and php. # JRun Settings LoadModule jrun_module /home/cf/runtime/lib/wsconfig/1/mod_jrun.soLoadModule php4_module libexec/libphp4.so<IfModule mod_jrun.c>JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Ignoresuffixmap true JRunConfig Serverstore /home/cf/runtime/lib/wsconfig/1/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51010 #JRunConfig Errorurl <optionally redirect to this URL on errors> AddHandler jrun-handler .cfm .cfc .jsp .cfml .jws</IfModule> B has these two lines in <IfModule mod_mime.c>AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phpsB has these modules running: [root@crazycat conf]# ../bin/httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_so.c mod_setenvif.c suexec: disabled; invalid wrapper /var/apache/bin/suexec PHP doesn't work on B. Here's what I do to make PHP work: -- I comment the jrun_module on B #LoadModule jrun_module /home/cf/runtime/lib/wsconfig/1/mod_jrun.so And I restart apache: [root@crazycat conf]# ../bin/apachectl restart ../bin/apachectl restart: httpd restarted And try: http://crazycat.uglydog.com/~daniel/phpinfo.php And it works! Of course, coldfusion doesn't work anymore. If I uncomment the jrun_module, coldfusion works fine, PHP stop to work and I notice other behaviors (see below) With coldfusion (jrun_module) loaded...: Try: http://crazycat.uglydog.com/~daniel/ You see the whole directory... If I unload (comment, restart) jrun_module, I get: Forbidden: you don't have permission to access /~daniel/ on this server Which is the should happen... B needs coldfusion up and running all the time, so I'll leave it with the jrun_module running. The urls above, then, will show you the behavior of apache when JRUN is running... Does anybody knows how to solve this? Thanks. Daniel -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php