[UNKNOWN: 8192] Function ereg() is deprecated when Install Joomla

Hello, in previous post I try to describe installation process of Joomla with Wampserver but I face this problem :

[UNKNOWN: 8192] Function ereg() is deprecated
error in line 1177 of file C:\wamp\www\joomla\libraries\joomla\client\ftp.php

I got that error when I install Joomla with Wampserver, until I found out that problem happen when I use php 5.3.0

Quick solution for that case is change the function to mb_ereg()

For example line 1177 of ftp.php is part of these lines. After change to mb_ereg()

foreach ($regexps as $k=>$v) {
if (mb_ereg($v, $contents[0])) {
$osType = $k;
$regexp = $v;
break;
}
}

Save this file and click button “Verify FTP Settings”

Another error came from line 1194.

[UNKNOWN: 8192] Function ereg() is deprecated
error in line 1194 of file C:\wamp\www\joomla\libraries\joomla\client\ftp.php

Do same action and save the file.

Check again and this time I got good sign 🙂

install_joomla_ftp_valid

Final setting for FTP configuration is as shown in this image :

install_joomla_ftp_valid2

Joomla Main Configuration

joomla_main_configuration

Click button “Install Sample Data” .

“Sample data installed successfully” message will display, continue with Next button.

Congratulations! Joomla! is now installed.

PLEASE REMEMBER TO COMPLETELY
REMOVE THE INSTALLATION DIRECTORY.
You will not be able to proceed beyond this point until the installation directory has been removed. This is a security feature of Joomla!.

Administration Login Details

Username: admin

Great.

Last step need to to is delete “installation” folder.

install_joomla_delete_folder

After delete installation folder you can check the web as shown.

install_joomla_success

Enjoy the day and see you in next post.

Stay Health!