...

View Full Version : Custom php5.ini on Windws shared web hosting



kaushikkavi
03-20-2009, 12:22 PM
I have bought shared hosting (Windows) space on GoDaddy.com
and they allow custom php5.ini for customize php configuration.
now i am creating php5.ini in my root folder for increase upload file size limit
then when i run my site . it gives me fatal error of mysql_connect .....

and then when i remove php5.ini from my root folder and after run my site it's work properly ......
so can u tell me what is the problem with php5.ini or am i wrong in this things....
php5 running in iis7 cgi/fastcgi
let me know your openion....
Waiting for your Kindly Reply,

jayminkey
04-14-2009, 05:59 AM
hi kaushikkav,

Is your problem solved about php5.ini?

I have a same problem with php5.ini file setting.

I have shared hosting (Windows) space on GoDaddy.com with IIS 7.

I have created and uploaded php5.ini file with following variables ,

register_globals = On
allow_url_fopen = On
memory_limit = 50M
max_execution_time = 120
max_input_time = 60
post_max_size = 8M
file_uploads = On
upload_max_filesize = 192M
extension_dir = "c:\php5\ext"
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll

And it did change in phpinfo file on my server but at the time of uploading the 1-2 MB file its give below error,

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

could anyone help me in this?

Thanks,
jam

renelc30
10-03-2009, 12:58 AM
do you guys have a solution for this?

I am having the same problem right now

best regards

HostingASPNet
10-25-2009, 05:58 PM
Hello,

Are you sure that GoDaddy allow custom php5.ini on Windows shared hosting? It will be much better to ask them for assistance.

Regards



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum