kaushikkavi13 Posted March 18, 2009 Share Posted March 18, 2009 I am using oscommerce in my site ..... my site on oscommerce Hello, Suddenly Mysql, curl, gd, openssl Disapperar from php extension..... i have windows hosting server . php5 running under IIS7 fast cgi . and i want to increase my upload file size so that' why i create php5.ini and i write this four line: memory_limit = 85M post_max_size = 192M file_uploads = On upload_max_filesize = 192M and save it and run my url .... and it give me mysql connect error .... mysql, curl, gd, openssl suddenly disappear , then i remove code from php5.ini that i write and then i run my url then it works fine . no error .... so can u tell me what is the problem ....... ? Waiting For your Kindly Reply, Thanks, Kaushik. Link to comment Share on other sites More sharing options...
Guest Posted March 18, 2009 Share Posted March 18, 2009 I am using oscommerce in my site .....my site on oscommerce Hello, Suddenly Mysql, curl, gd, openssl Disapperar from php extension..... i have windows hosting server . php5 running under IIS7 fast cgi . and i want to increase my upload file size so that' why i create php5.ini and i write this four line: memory_limit = 85M post_max_size = 192M file_uploads = On upload_max_filesize = 192M and save it and run my url .... and it give me mysql connect error .... mysql, curl, gd, openssl suddenly disappear , then i remove code from php5.ini that i write and then i run my url then it works fine . no error .... so can u tell me what is the problem ....... ? Waiting For your Kindly Reply, Thanks, Kaushik. First, I'm no expert, so take this for what it's worth. Is it possible that you have both php 4 and php 5 on your server? If so, and if 4 is the default handler for "*.php" files, you have to specifically tell the server to use PHP5 with htaccess. Code: AddHandler x-httpd-php5 .php .php5 AddHandler x-httpd-php .php4 Again, I'm no expert.......so be careful. Link to comment Share on other sites More sharing options...
kaushikkavi13 Posted March 18, 2009 Author Share Posted March 18, 2009 First, I'm no expert, so take this for what it's worth. Is it possible that you have both php 4 and php 5 on your server? If so, and if 4 is the default handler for "*.php" files, you have to specifically tell the server to use PHP5 with htaccess. Code: AddHandler x-httpd-php5 .php .php5 AddHandler x-httpd-php .php4 Again, I'm no expert.......so be careful. So i have to tell server administrator . for that and this AddHandler code write in httpd.conf file or .htaccess ???? i once again tell you i am using windows shared hosting server .... provided by godaddy.com .... my php5 running on IIS 7 & FAST CGI you can see my phpconfiguration here . http://www.popcorntimes.com/demo/test.php Waiting for you Kindly Reply, Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.