It todays Web Hosting Tutorial we are going to cover how to change your PHP file upload limit to avoind the following error:
‘Fatal error: Allowed memory size of 8388608 bytes exhausted’?
PHP has a built-in limit on the amount of memory it will allocate. If that limit is reached, the process will exit with this error [...]
My PHP script gives the error ‘Call to undefined function: mysql_connect()’
This is usually due to a faulty php.ini file causing the PHP MySQL functions to be undefined. A custom php.ini file should not need to contain more than a very few lines to override the specific necessary directives. Using a php.ini found on other webservers [...]
There are some variables in the php.ini file that can be overwritten, a common request is how to change the PHP file upload limit.
You can do this by creating a custom php.ini file in the directory you want to use (where your script resides).
Here is an example;
On your computer open a new document in Notepad, [...]