PDA

View Full Version : cannot proceed install :(


irado
26-05-2010, 16:11
I am stuck with this matter:

localhost/zabbix shows traditional check of pre.requisites but with WRONG configuration data. Example:
PHP post max size 8M 16M 32M Fail
PHP upload max filesize 2M 2M 16M Ok
PHP max execution time 30 300 600 Fail
PHP max input time -1 300 600 Fail
PHP timezone no Fail

item 1: php.ini shows 32M, so it is wrong
item 2: php.ini have 32M, not 16M
item 3: 600 in php.ini, not 300 as show
item 4: 600, ditto..
item 5: timezone set to America/Sao_Paulo but..

and, finally: PHP databases support no Fail

which I cannot know how to set databases support.

besides changing php.ini a lot of times, again and again, and restarting apache, seems that ANY alteration remains IGNORED.

any hint?

TIA

richlv
26-05-2010, 20:47
you probably are editing incorrect php.ini file. create a new file test.php with the following content :
<?php phpinfo() ?>
open the file in your browser and check for the correct location.
as for db support, it depends on how you installed php. if from the distribution packages, you must install a package named php-mysql, php5-mysql or similar (and different ones for other db, of course).

irado
27-05-2010, 02:02
you probably are editing incorrect php.ini file. create a new file test.php with the following content :
<?php phpinfo() ?>

there are no other php.ini in entire system and the a.m code runs smoothly. Anyway I found the solution by myself:

I simply intended to unclutter the fatty php.ini (many, many comments and empty lines) and treated it with egrep, removing all non-functional lines.

reloaded apache and.. voilą.. solved.

please, dont ask me (or blame on me): I dont know WHY in the hell the problem is gone. Simply as that.

thank you for your kind attention.