Ofline
34193 days on xHamster
78654M profile views
23642K subscribers
52288 comments left

Updating php ini

I just beat my head against the keyboard to find the solution for editing the in godaddy. Apparently dependent on the version of godaddy you have, the file name is different.

I was so fed up, I created identical files called php.ini, php5.ini, and ini and copied them into the root of my www, public_html, and the domain root directory. From my reading, there may be a situation where you would have to go to "system processes" and restart the php process (I couldn't find that and didn't have any active php processes).

Since 'post_max_size' is the limit for all the content of your post, many people choose 'post_max_size' to be a multiple of 'upload_max_filesize' to allow multiple files to be uploaded, but this is not essential.

The upload module limits the size of a single attachment to be less than either post_max_size, or upload_max_filesize, whichever is smaller.

I found a key on "HEKY_LOCAL_MACHINE\SOFTEARE\Wow6432Node\PHP\Ini File Path" that override any installation, which cause "php --ini" to crash stating a version mismatch with the extensions being loaded.

This directive accepts a comma-separated list of PHP functions to disable.I have a site hosted at Go Daddy (Windows, PHP5, My SQL 5).I read this article: Go Daddy FAQ and created a php5file in the root folder but when I try to connect to the database, I get the following error: I dont think Windows hosting allows for custom PHP5:( I check their help site and that article you linked to was for Linux servers. ci=9009 shows that Linux allows custom PHP5but not Windows I wonder if trying to use one screws up the PHP and makes the "mysql_connect" function you are trying to use not be available. Solution: upload your own into the root of your public_html folder.I'm trying to update the max filesize that is uploadable through PHP, to be able to upload a large database through phpmyadmin.I've updated the "max_post_size", the "upload_file_size", and the "memory_limit" variables in the file, restarted the server, but phpinfo() still shows me the default limit. I've updated both, but phpmyadmin still doesn't accept the larger filesize. Could there be an error in the syntax that makes PHP set itself to default parameters?

These are found in Drupal 6 at "Administer » Site configuration » File uploads" ( /admin/settings/uploads ).

Please or register to post comments
If spammers comment on your content, only you can see and manage such comments Delete all

Updating php ini introduction

Updating php ini

Recent posts

11-Aug-2018 02:15
11-Aug-2018 08:25
11-Aug-2018 14:01