pedromas Posted March 24, 2009 Share Posted March 24, 2009 Hi, Can anyone help me with the following problem. I am using a server with Windows server 2003 for my php files and MYSQL database is in a different server. On the server with Windows 2003 I have installed the php as you can see under the following link: http://www.indie-hotels.com/test.php However when I write a script with MYSQL it works on my script writers preview and pull the right information. However when I upload this file then to the server I get a blank page on the browser. http://www.indie-hotels.com/indie.php Does anyone possibly know what is wrong. At the moment I am guessing that something is missing on my server. All help will be highly appreciated. Regards, Pedro Link to comment https://forums.phpfreaks.com/topic/150853-solved-php-is-not-being-read-when-i-have-mysql-code/ Share on other sites More sharing options...
dgoosens Posted March 24, 2009 Share Posted March 24, 2009 could you post your scripts... Link to comment https://forums.phpfreaks.com/topic/150853-solved-php-is-not-being-read-when-i-have-mysql-code/#findComment-792456 Share on other sites More sharing options...
Mchl Posted March 24, 2009 Share Posted March 24, 2009 AS you can see in phpinfo output you provided, none of mysql, mysqli or PDO extensions is enabled on your server. Link to comment https://forums.phpfreaks.com/topic/150853-solved-php-is-not-being-read-when-i-have-mysql-code/#findComment-792483 Share on other sites More sharing options...
pedromas Posted March 24, 2009 Author Share Posted March 24, 2009 AS you can see in phpinfo output you provided, none of mysql, mysqli or PDO extensions is enabled on your server. Reply: Thank you for your help. It is working now. Cheers Pedro Link to comment https://forums.phpfreaks.com/topic/150853-solved-php-is-not-being-read-when-i-have-mysql-code/#findComment-792517 Share on other sites More sharing options...
Mchl Posted March 24, 2009 Share Posted March 24, 2009 You needn't have enable all of them. Just the one you use You should also pull down the test.php from internet, as it shows some sensitive information about your system. Link to comment https://forums.phpfreaks.com/topic/150853-solved-php-is-not-being-read-when-i-have-mysql-code/#findComment-792871 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.