If you want your lampp server to start automatically when the linux boots by accident or knowingly, create a following linux script and call it start_lampp.sh #!/bin/bashservice httpd stop/opt/lampp/lampp restart Copy start_lampp.sh to /etc/init.d/: shell> cp start_lampp.sh /etc/init.d/ Give executable permissions: shell> chmod +x /etc/init.d/start_lampp.sh Create a symbolic link:
You can know the RAM on your linux machine using the command: cat /proc/meminfo This would give the following output:
Problem : Write a function htoi(s) which converts a string of hexadecimal digits(including optional 0X) into its equivalent integer value.The allowable digits are 0 to 9, a through f. I suggest a simple solution of this problem.
The white screen of death is usually caused by a lack of memory - on your dev box, you just need to increase the amount of amount of memory allocated to PHP in php.ini. So if you are using lampp, go to /opt/lampp/etc/php.ini and find the line: memory_limit = XXM. Increase this XXM to say 32 or 64M and the white screen of death should go.
How to run tomcat and lampp/xampp together using jakarta-tomcat-connector or mod_jk module on Linux?
After having spend almost 48 hours on the system and not finding a satisfactory answer, I could solve the problem and I decided to post the solution for people who might have the same problem. 1. Download xampp-linux-1.4.11.tar.gz. Unzip as follows: tar zxvf xampp-linux-1.4.11.tar.gz -C /opt Note, I tried integrating tomcat with the latest xamp, but with utter failure. Later I could figure out that I needed apache-2.0 to make mod_jk.so module work. I tried compiling mod_jk from source, but it did not compile and gave all kinds of errors.
After much bashing of my head, I could finally run Python using WAMP on windows. And finally when it ran, it looked like an easy task provided somebody must have given correct pointers to it. Unable to find a good pointer for myself, here I come up with the one: Important point is that I could run Python on WAMP that has following configuration: 1. Apace: 2.0.59 2. Python 2.4 3. mod_python-3.2.8.win32-py2.4.exe And finally, a httpd.conf file.