Hey Poncho, I'm sure the server can handle PHP somehow. I've replaced /app/webroot/ index.php with another 'index.php' with only phpinfo() in it and I got the output without problems...so there is something in Cake that's not behaving :( Unfortunately, I have no chance to see apache2.conf/ httpd.conf, since the server is not their own, it's a regular paid hosting. I've already emailed their webmaster so I hope we'll find a way.
Thanx for your thoughts anyway, Dan On Apr 19, 11:17 pm, Poncho <[EMAIL PROTECTED]> wrote: > Hey Daniel, > > Are you sure the Apache Server is configured to catch .php files and > use them in DirectoryIndex? > It sounds like you need to add something like the following to > a .htaccess file: > > LoadModule php4_module libexec/httpd/libphp4.so > AddModule mod_php4.c > <IfModule mod_php4.c> > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > <IfModule mod_dir.c> > DirectoryIndex index.html index.php > </IfModule> > </IfModule> > > Add those lines to a .htaccess file in the www directory of the > webserver and see if that helps. Reply here if you don't get the > desired result. > > Cheers; > Poncho > > On Apr 19, 7:46 pm, "Daniel Kvasnicka jr." > > <[EMAIL PROTECTED]> wrote: > > I've installed a Cake app to a client's server and I'm getting a blank > > screen with mod_rewrite and index.php offered for download without > > mod_rewrite. > > > The server is using PHP 4.4.2/Apache (http://www.rosamusic.cz/ > > info.php). On my local Apache and on a test server the app was working > > like a charm. Could it be that I and the test server have PHP5 > > installed? I'm not aware of using any PHP5-specific features in this > > app... > > > Anybody experienced something similar? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
