From: Henry C. <hen...@ya...> - 2001-04-25 06:24:24
|
Funny ...I am getting the php parsed using the "php4apache.dll" loaded as a module with the prepends disabled when I browse to the BC /htdocs/hello.php= . I have made a minor adjustment with the httpd.conf you sent me. I disabled the listen 3000 and am listening on port 80. I don=B9t uderstand why when I run http://mydomain.com/htdocs/index.php my webserver attempts to download the file to disk on 4/25/01 1:42 AM, alex black at en...@tu... wrote: > wow, your php install is out to get you :) >=20 > hrm... >=20 > important: > -are you getting a blank page on a script with <?php echo "hello"; ?> ? > if you are php _is_ pasing the files, but there is a problem. if php wasn= 't > parsing the files, you would see the php code as plaintext in the browser= . >=20 > -if, based on the above, php _is_ parsing the files, _make_sure_ the th= e > binarycloud prepends are _disabled_ (for testing purposes) so you can > eliminate the possibility of any other code being run that you don't know > about. >=20 > I want to get yo to the point where you can see "hello" from <?php echo > "hello"; ?> >=20 > also, have you tried using my php.ini and httpd.conf? > note that my httpd.conf makes apache listen on post 3000, I don't like us= ing > 80 on windows. >=20 > _alex >=20 >=20 >=20 > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >=20 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: alex b. <en...@tu...> - 2001-04-25 06:49:39
|
> Funny ...I am getting the php parsed using the "php4apache.dll" loaded as a > module with the prepends disabled when I browse to the BC /htdocs/hello.php. > I have made a minor adjustment with the httpd.conf you sent me. I disabled > the listen 3000 and am listening on port 80. I don¹t uderstand why when I > run http://mydomain.com/htdocs/index.php my webserver attempts to download > the file to disk ah, that's because you don't have the AddType directives enabled, so apache doesn't know how to treat the php. Make sure you have: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps in httpd.conf, where you find the other addtype directives. that should solve your latest problem. _a |
From: Henry C. <hen...@ya...> - 2001-04-25 10:26:22
|
I did and it does. I have these directives in place but no go.....still cannot parse the index.php file in ht docs...but weird enough... I can pars= e the simple hello.php in the same directory on 4/25/01 2:47 AM, alex black at en...@tu... wrote: >> Funny ...I am getting the php parsed using the "php4apache.dll" loaded a= s > a >> module with the prepends disabled when I browse to the BC > /htdocs/hello.php. >> I have made a minor adjustment with the httpd.conf you sent me. I disabl= ed >> the listen 3000 and am listening on port 80. I don=B9t uderstand why when = I >> run http://mydomain.com/htdocs/index.php my webserver attempts to downlo= ad >> the file to disk >=20 > ah, that's because you don't have the AddType directives enabled, so apac= he > doesn't know how to treat the php. >=20 > Make sure you have: >=20 > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps >=20 > in httpd.conf, where you find the other addtype directives. >=20 > that should solve your latest problem. >=20 > _a >=20 >=20 >=20 >=20 > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >=20 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Henry C. <hen...@ya...> - 2001-04-25 10:33:17
|
Check that...I got it to parse the index.php file once I dropped the number "4" off of the string "AddType application/x-httpd-php(4) .php"...but I'm noe getting the old "Warning: Failed opening 'BASEtmpl/template.class' for inclusion (include_path=3D'') in c:/program files/apache group/apache/htdocs/htdocs/index.php on line 27 Fatal error: Cannot instantiate non-existent class: core_template in c:/program files/apache group/apache/htdocs/htdocs/index.php on line 28"...though this is probably because of the exclusion of the BC prepend statements....I feel like this may be the turning point in this conf problem...Please advise..So far, I am appreciating all your help. Im just a few steps away from getting this thing to work. on 4/25/01 2:47 AM, alex black at en...@tu... wrote: >> Funny ...I am getting the php parsed using the "php4apache.dll" loaded a= s > a >> module with the prepends disabled when I browse to the BC > /htdocs/hello.php. >> I have made a minor adjustment with the httpd.conf you sent me. I disabl= ed >> the listen 3000 and am listening on port 80. I don=B9t uderstand why when = I >> run http://mydomain.com/htdocs/index.php my webserver attempts to downlo= ad >> the file to disk >=20 > ah, that's because you don't have the AddType directives enabled, so apac= he > doesn't know how to treat the php. >=20 > Make sure you have: >=20 > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps >=20 > in httpd.conf, where you find the other addtype directives. >=20 > that should solve your latest problem. >=20 > _a >=20 >=20 >=20 >=20 > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >=20 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Henry C. <hen...@ya...> - 2001-04-25 10:37:01
|
Nope..I've uncommented the prepend statements in httpd.conf and my webserve= r gives me no error but serves me a blank page with no soucre HTML either!..Dang, What is up with this? Check that...I got it to parse the index.php file once I dropped the number "4" off of the string "AddType application/x-httpd-php(4) .php"...but I'm noe getting the old "Warning: Failed opening 'BASEtmpl/template.class' for inclusion (include_path=3D'') in c:/program files/apache group/apache/htdocs/htdocs/index.php on line 27 Fatal error: Cannot instantiate non-existent class: core_template in c:/program files/apache group/apache/htdocs/htdocs/index.php on line 28"...though this is probably because of the exclusion of the BC prepend statements....I feel like this may be the turning point in this conf problem...Please advise..So far, I am appreciating all your help. Im just a few steps away from getting this thing to work. on 4/25/01 2:47 AM, alex black at en...@tu... wrote: >> Funny ...I am getting the php parsed using the "php4apache.dll" loaded a= s > a >> module with the prepends disabled when I browse to the BC > /htdocs/hello.php. >> I have made a minor adjustment with the httpd.conf you sent me. I disabl= ed >> the listen 3000 and am listening on port 80. I don=B9t uderstand why when = I >> run http://mydomain.com/htdocs/index.php my webserver attempts to downlo= ad >> the file to disk >=20 > ah, that's because you don't have the AddType directives enabled, so apac= he > doesn't know how to treat the php. >=20 > Make sure you have: >=20 > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps >=20 > in httpd.conf, where you find the other addtype directives. >=20 > that should solve your latest problem. >=20 > _a >=20 >=20 >=20 >=20 > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >=20 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Henry C. <hen...@ya...> - 2001-04-25 10:47:21
|
I have added the to the AddType directive a line for .phtml...thought this might be the problem...but no....now the simple script file hello.php doesn=B9t spit ouput to my browser..just a blank page on 4/25/01 6:36 AM, Henry Cavillones at hen...@ya... wrote: > Nope..I've uncommented the prepend statements in httpd.conf and my webser= ver > gives me no error but serves me a blank page with no soucre HTML > either!..Dang, What is up with this? >=20 >=20 >=20 > Check that...I got it to parse the index.php file once I dropped the numb= er > "4" off of the string "AddType application/x-httpd-php(4) .php"...but I'm > noe getting the old "Warning: Failed opening 'BASEtmpl/template.class' fo= r > inclusion (include_path=3D'') in c:/program files/apache > group/apache/htdocs/htdocs/index.php on line 27 >=20 > Fatal error: Cannot instantiate non-existent class: core_template in > c:/program files/apache group/apache/htdocs/htdocs/index.php on line > 28"...though this is probably because of the exclusion of the BC prepend > statements....I feel like this may be the turning point in this conf > problem...Please advise..So far, I am appreciating all your help. Im just= a > few steps away from getting this thing to work. >=20 > on 4/25/01 2:47 AM, alex black at en...@tu... wrote: >=20 >>> Funny ...I am getting the php parsed using the "php4apache.dll" loaded = as >> a >>> module with the prepends disabled when I browse to the BC >> /htdocs/hello.php. >>> I have made a minor adjustment with the httpd.conf you sent me. I disab= led >>> the listen 3000 and am listening on port 80. I don=B9t uderstand why when= I >>> run http://mydomain.com/htdocs/index.php my webserver attempts to downl= oad >>> the file to disk >>=20 >> ah, that's because you don't have the AddType directives enabled, so apa= che >> doesn't know how to treat the php. >>=20 >> Make sure you have: >>=20 >> AddType application/x-httpd-php .php >> AddType application/x-httpd-php-source .phps >>=20 >> in httpd.conf, where you find the other addtype directives. >>=20 >> that should solve your latest problem. >>=20 >> _a >>=20 >>=20 >>=20 >>=20 >> _______________________________________________ >> binarycloud-dev mailing list >> bin...@li... >> http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >>=20 >=20 >=20 > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >=20 >=20 > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >=20 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Alex B. <en...@tu...> - 2001-04-25 17:29:46
|
> I have added the to the AddType directive a line for .phtml...thought thi= s > might be the problem...but no....now the simple script file hello.php > doesn=B9t spit ouput to my browser..just a blank page Now it's php.ini, because you're using the binarycloud prepends, and going to an index page which starts a session. make sure that your session.save_path is a real path in your filesystem, an= d that session.save_handler is "files" _not_ "mm" _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Peter B. <re...@f2...> - 2001-04-25 07:14:50
|
At 02:24 AM 4/25/01 -0400, you wrote: >Funny ...I am getting the php parsed using the "php4apache.dll" loaded as a >module with the prepends disabled when I browse to the BC= /htdocs/hello.php. >I have made a minor adjustment with the httpd.conf you sent me. I disabled >the listen 3000 and am listening on port 80. I don=B9t uderstand why when I >run http://mydomain.com/htdocs/index.php my webserver attempts to download >the file to disk Usually that's because it isn't recognizing the extension. Make sure your= =20 httpd.conf has the addType bla bla bla .php3 .php .phtml line in it. Peter. --oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrowgauge.f2s.com --oOo-- Peter's web page - Scottish narrow gauge in 009 http://members.aol.com/reywob/ --oOo-- |