Hi all
I read many questions ans answers to this problem but nothing solve my.
First let me say that this code is running fine on our ASP. Only on my Test Box its resulting in a blank page
All Components (Apache2, PHP 5.6.1 and MariaDB 10.0.20) working fine. I can retrieve Data with phpMyAdmin or connect with user / passwd from config files
direct in mysql
We have two different filesets.
1.) which is also working is that the php-file calls a required variables.php which build the connectstring and do the connect to db.
2.) which is not working is that another php-file loads a php in subdirectory which retrieve the variables for connect from config.php from the root dir and prepare the connect which is used in many other scripts.
My question is now what I have to configure in php or apache to get it running on my SuSE Linux Box.
generally it will work - this is shown in case 1 But 95% is in case 2 and all is running at our ASP.
variablen.php
where can I look ? In error_log of apache is nothing reported.
thanks in advance
appi
I read many questions ans answers to this problem but nothing solve my.
First let me say that this code is running fine on our ASP. Only on my Test Box its resulting in a blank page
All Components (Apache2, PHP 5.6.1 and MariaDB 10.0.20) working fine. I can retrieve Data with phpMyAdmin or connect with user / passwd from config files
direct in mysql
We have two different filesets.
1.) which is also working is that the php-file calls a required variables.php which build the connectstring and do the connect to db.
2.) which is not working is that another php-file loads a php in subdirectory which retrieve the variables for connect from config.php from the root dir and prepare the connect which is used in many other scripts.
My question is now what I have to configure in php or apache to get it running on my SuSE Linux Box.
generally it will work - this is shown in case 1 But 95% is in case 2 and all is running at our ASP.
variablen.php
Code:
<?php
$db_server = "localhost";
$db_user = "db_user";
$db_pass = "db_pass";
$db_name = "db_name";
$db_connection = mysql_connect($db_server, $db_user, $db_pass);
$selected_db = mysql_select_db($db_name, $db_connection);
Code:
<?php
$db_server = "localhost";
$db_user = "db_user";
$db_pass = "db_pass";
$db_name = "db_name";
where can I look ? In error_log of apache is nothing reported.
thanks in advance
appi