Troubleshoot: PHP `No Input File Specified` Error

Are you using pretty URL on your web application or website? Having problem with “No input file specified error” from PHP? Confused why my PHP code is not working? The PHP code is working flawlessly on localhost but why is not  working now? Which php file is causing this error? Is it web server or PHP related problem? If some of questions answer is yes and when you are using Continue reading

Fixing Perl Warning Setting Locale Failed Error Message on Ubuntu/Debian

If you run across Ubuntu/Debian perl or shell script and see the following locale error: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = “UTF-8″, LANG = “en_GB.UTF-8″ are supported and installed on your system. perl: warning: Falling back to the standard locale (“C”). Then it is more likely that your Ubuntu/Debian locale is not configured properly. I Continue reading

Fixing Apache 2 “Could not reliably determine the server’s fully qualified domain name, using for ServerName” Error on Raspberry Pi Wheezy

You might probably find this error while starting/restarting Apache web server on Raspberry Pi Wheezy: root@raspi:# /etc/init.d/apache2 restart [....] Restarting web server: apache2apache2: Could not reliably determine the server’s fully qualified domain name, using for ServerName … waiting apache2: Could not reliably determine the server’s fully qualified domain name, using for ServerName . ok This error caused by Apache’s ServerName confguration is missing in apache2.conf file. So, as Continue reading

Pemrograman Web PTIIK Genap 2012/2013: PHP Fundamentals

Update 19 Mar 2013: PHP companion files untuk sub-materi Session dan Cookie dapat di-download. Berikut ini adalah slide presentasi pada pertemuan III: PHP Fundamentals and State untuk mata kuliah Pemrograman Web semester Genap 2012/2013. Kelas yang diampu adalah kelas: Sistem Informasi A Sistem Informasi B Informatika A Hal-hal yang dibahas dalam pertemuan kedua mata kuliah ini mencakup penjelasan mengenai: Apache web server administration and configuration, PHP, and why PHP? Sistem and software Continue reading

MacOS X: Configure Apache HTTP Server to Support HTTPS

MacOS X 10.8 – Mountain Lion has built in Apache HTTP server as I previously mentioned here. By default, the web server has disabled it’s functionality to handle HTTPS request, it is HTTP over SSL a.k.a Secure HTTP. It is a good idea to test your HTTPS web application on localhost during development. Then enabling HTTPS functionality in Apache web server is a must. The steps to enable HTTPS functionality Continue reading

Start Apache HTTP Server Service on Mac OS X Mountain Lion

Apache HTTP Server (httpd) was included out of the box of Mac OS X Mountain Lion (10.8) if you don’t know already. Prior to Mac OS X 10.8 (Mountain Lion) can simply turn on “Web Sharing” to start Apache Web Server service, but from 10.8 onward you’ll need to use command line to start the Apache web server. mentioned here that we can use apachectl command to start and stop Continue reading

Easy Install PHP Mcrypt Extension on Ubuntu Linux

Most of web-based application development todays were developed using database. The most popular one is using PHP and MySQL. When developing using MySQL most of beginners were using phpMyAdmin as their power tools in database CRUD (Create-Read-Update-Delete) as well as databases/tables creation and manipulation. PhpMyAdmin supports encryption feature which enables database developers to raise their application security bar in database. In order to use encryption feature in PHP, phpMyAdmin need Continue reading