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 |