In a localhost Apache + PHP it is easy to change the uploaded file size to something larger than the default 16M.
An example below show you how to change the upload file size to say 50M.
- Locate the PHP.ini file, for example in c:/xampp/Apache/bin/php.ini and open it with any text editor like WordPad by right-clicking -> Open With -> then choose WordPad.
Read more…
Oracle XE is a database server provided by Oracle.
Download the installation and setup program from this address. Run the setup program that will show up a dialog like this:

Read more…
In order to be successfully installing Adempiere, you must do the following steps on the right order.
- Fulfill the prerequisites
- Installing Java Development Kit (JDK)
- Installing Database (Oracle 10g, 11g, or XE, or PostgreSQL)
- Setup Adempiere
- Create Adempiere Database
- Complete Server Setup
Prerequisites
Adempiere ERP requires the following item to be configured properly:
Sun Java 1.5.0 JDK (not just JRE)
One of the database
- Oracle 10g
- Oracle 11g
- Oracle XE
- Postgresql 8.1 and above
The latest version of ADempiere
Read more…
Modul Perl yang diperlukan
Agar program Perl bisa connect ke Posgres diperlukan modul tambahan Perl sebagai berikut:
- DBI
- DBD::Pg
Instalasi Modul di Linux
Untuk sistem operasi Linux, installasi modul sangat mudah dilakukan, yaitu dengan menggunakan program RPM, Yum, dan sebagainya.
Read more…
Categories: Linux, Perl, PostgreSQL, Windows Tags: dbh, Linux, Perl, perl package manager, PostgreSQL, script perl, sistem operasi windows, Windows
Edit file file sbb: Languages – en-GB.mod_footer.ini ganti baris berikut ini.
FOOTER=Footer
FOOTER_LINE1=Copyright © %date% %sitename%. All Rights Reserved.
FOOTER_LINE2=<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU/GPL License.</a>
MOD_FOOTER=<em>mod_footer</em>
THIS MODULE SHOWS THE JOOMLA! COPYRIGHT INFORMATION=This Module shows the Joomla! Copyright information
Atau cara lainnya adalah pada file <yourtemplate>/index.php di bagian paling bawah ganti baris berikut ini.
<p id="power_by">
<?php echo JText::_(‘Powered by’) ?> <a href="http://www.joomla.org">Joomla!</a>.
<?php echo JText::_(‘Valid’) ?> <a href="http://validator.w3.org/check/referer">XHTML</a> <?php echo JText::_(‘and’) ?> <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
</p>
Akhmad Daniel Sembiring
Ligarwangi.com – Linux, E-book, Coffee, Gift, etc
vITraining.com – Qualified IT Products, Outsourcing, and Services
Backing up and Restoring mysql database could be done through several ways. You can backup and restore by exporting SQL script using MySQL command line or copying MySQL data directory from the original server to the destination server.
Using the second method will cause the stored procedure and function missing. In this article we will discuss how to overcome the situation.
Read more…
Pada kondisi dimana user minta bisa mencoba aplikasi yang kita bangun menggunakan WAMP (Windows Apache MySQL PHP) dan belum terdapat server komputer yang dapat kita installkan infrastruktur yang dibutuhkan, kita dapat menggunakan portable WAMP yang dapat dijalankan dari USB.
Kondisi lainnya adalah ketika kita ingin membuat versi trial aplikasi web kita ke calon customer.
Salah satu yang dapat digunakan adalah USB Webserver (http://www.usberbserver.nl). Aplikasi ini berisi Apache, PHP, dan MySQL yang telah dikonfigurasi dan siap dijalankan sehingga kita tinggal mengisi aplikasi web yang akan kita demokan ke client.
Read more…
Categories: Apache, MySQL, PHP, Windows Tags: Apache, apache mysql, apache php, drive usb, MySQL, PHP, port 8080, portable, server smtp, settingan, usb, usb webserver, wamp
Secara default, database driver MySQL CodeIgniter konek ke port default MySQL yaitu 3306. Pada kondisi dimana port MySQL bukan 3306 misalnya 3307, CodeIgniter tidak punya option untuk menentukan pada port berapa MySQL berjalan.
Solusi untuk hal ini dapat dilakukan dengan beberapa cara:
- mengedit file driver database CodeIgniter: system/database/drivers/mysqli/mysqli_driver.php. Pada file ini dapat ditentukan port MySQL pada function ‘db_connect’ yaitu dengan menambahkan parameter $port pada function tsb:
mysqli_connect ( [string $host [, string $username [, string $passwd [, string $dbname [, int $port [, string $socket]]]]]] )
- mengedit file PHP.INI, pada bagian mysql.default_port, ganti dari 3306 menjadi 3307
- jika tidak punya akses ke file PHP.INI, bisa juga dicoba dengan mengedit file config/database.php nya CodeIgniter yaitu pada baris:
$db['default']['hostname'] = "mysqlhost.yourdomain.com:3307";
Categories: CodeIgniter, MySQL, PHP Tags: CodeIgniter, connect, database, database driver, database drivers, driver database, file, file ini, koneksi, MySQL, PHP, port, string
Berikut ini langkah langkah yang perlu diperhatikan ketika membuat aplikasi PHP yang connect ke database PostgreSQL.
Function pg_connect
Langkah pertama adalah memanggil function pg_connect() untuk melakukan koneksi ke database server.
$dbconn = pg_connect ($conn_string);
Read more…
Recent Comments