Install LAMP Server – Ubuntu: The command we’re all after….
Install LAMP Server on Ubuntu?
A few complex packages but all (bar linux!) can be installed with one command and then following the on-screen instructions:
(NOTE: All the commands here need to be typed into a terminal, open one by pressing Ctrl+Alt+T.)
Where is php.ini file?
This is a question I have been asked a few times recently. Depending on what system you are running, php.ini could have different locations. But where is php.ini hidden?
Firstly, it’s not hidden, it’s a configuration script which determines the settings of your PHP installation. There are few ways to find where the php.ini file.
Some scripts require some time to execute, and they might reach your PHP time limit.
If PHP time limit is too short for your script, you will see this error:
Fatal error: Maximum execution time of N seconds exceeded in /path/to/script.php on line N
Sometimes, when executing a script with a strong memory usage, we might reach the PHP memory limit.
This is what we can see when that moment happens:
Fatal error: Allowed memory size of a certain amount bytes exhausted (tried to allocate another amount bytes) in /path/to/script.php