tags:

views:

292

answers:

1

hi,

I downloaded the latest pyrocms zip file and I noticed something strange happening. On windows using xampp-lite 1.7.3 or 1.7.2 the installation process is successful and I am able to go to the admin login page. But as soon as I type the given username and password and attempt to login, apache in xampp crashes and an error comes up with send to MS etc so I switch to ubuntu which is a virtual machine on my system and in ubuntu it installs successfully as well but when I attempt to see the login page it just goes blank. I even used a full xampp 1.7.2 install for linux and nothing. Maybe this is important, I have other client websites running on both win and ubuntu running off CI and no problem. I have no error codes cos I don't see any errors in the logs of xampp. do have any suggestions cos this bums me out, atleast before I look for other lamp and wamp stacks for windows and linux? thanks

+1  A: 

If downloading php from php.net and replacing the one that comes with xampp, reconfiguring and restarting apache doesn't fix it. Try commenting php_threads.dll extension in php.ini

To reconfigure xampp apache edit xampplite\apache\conf\extra\httpd-xampp.conf php module section:

#
# PHP-Module setup
#
LoadFile "/xampplite/your_new_php_dir_or_same_if_you_deleted_and_replaced/php5.dll"
LoadModule php5_module modules/php5apache2_2.dll

<IfModule php5_module>
    <FilesMatch "\.php$">
        SetHandler application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler application/x-httpd-php-source
    </FilesMatch>

    PHPINIDir "/xampplite/php"
</IfModule>

At least we can try to narrow it down bit more

LukeP
I think this xampp version is just faulty with the "threadsafe" feature. I downloaded bitnami LAMP stack for linux and installed it. it ran but the big let down is that it seems pyrocms has some problems it's self as when I enter the [email protected] and password it gives me a blank screen but I noticed the url is kinda wrong cos it should have index.php in it as in http://localhost/pyrocms/index.php/admin/login but it shows as ...pyrocms/admin/login. dunno what you think though? SORRY and by the way, the answer you gave might be right but I think I just have a bad xampp install
Eagletrophy
http://codeigniter.com/wiki/mod_rewrite/ - see here how to get rid of index.php and maybe get pyrocms to work
LukeP
ok will look at that now and share what I find. Gratso sir!
Eagletrophy
Looked at the .htaccess file of the pyrocms folder and index.php is part of the entire url process.
Eagletrophy