Joseph Izang
Joseph Izang

Reputation: 755

codeigniter php

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

Upvotes: 0

Views: 934

Answers (1)

LukeP
LukeP

Reputation: 10422

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

Upvotes: 1

Related Questions