Welcome Guest, Not a member yet? Register   Sign In
codeigniter not works with CGI/FastCGI
#1

[eluser]Unknown[/eluser]
hi,
happy with codeiginter and it works out of the box on most webhoster.

but lately many webhoster switching to CGI/FastCGI and now its the second time i cant bring
it up.

this is the error log i get from the hoster:

146)Connection refused: FastCGI: "/home/strato/http/fastcgi/rid/53/75/54045375/htdocs/index.php" aborted: read failed (0 bytes) after 2 sec


there is no .htaccess include only the datamapper






#2

[eluser]InsiteFX[/eluser]
Look at your link in the error message.
#3

[eluser]Unknown[/eluser]
thanks,
the apache error link was misleading, the cause is somewhere with the database access, after access remotely to another server db all works ok,

codeigniter gave this error


ERROR - 2014-05-27 14:26:18 --> Severity: 8192 --> mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead /mnt/webc/d3/75/54045375/htdocs/system/databa\
se/drivers/mysql/mysql_driver.php 73
ERROR - 2014-05-27 14:26:18 --> Severity: Warning --> mysql_connect(): Can't connect to MySQL server on 'rdbms.web.com' (4) /mnt/webc/d3/75/54045375/htdocs/system/database/drivers/mysql/mysql_driver.php \
73


#4

[eluser]CroNiX[/eluser]
Codeigniter isn't giving that error, PHP is.

Yes, so as the error says, use the mysqli driver, not mysql driver. In the version of PHP you are using, mysql driver has been deprecated and it's not a CI issue.

http://php.net/manual/en/migration55.deprecated.php




Theme © iAndrew 2016 - Forum software by © MyBB