Install PHPRoad on php 5.5:
PHPRoad is a framework which is used for developing web applications. But it has some limitations like it supports only php 5.4 and older version.
This Framework is not useful in case of php 5.5 . Because, some mysql extenstions does not support php 5.5 like mysql_connect. php 5.5 only supports mysqli_connect.
So, For installation of phpRoad in php 5.5 we have to follow the following steps
Step 1:
Firstly Download the zip and extract it on your local machine.
Step 2:
Run it on browser and follow the steps (Including creating key from phproad)
Here, you will face a problem during installation and that is about
mysqli_connect
For removing it follow the Step 3
Step 3:
Open this file
Your_application/framework/modules/db/classes/mysql_driver.php
(a). Here edit mysql_connect to mysqli_connect
also add $this->config['database'] in its Db::$connection (Because mysqli takes 4 parameters )
(b). Change all the mysql_ to mysqli_ in this file .
After this retry it on browser.
This time it will be installed successfully.
Thanks
Ashish Ginotra
PHPRoad is a framework which is used for developing web applications. But it has some limitations like it supports only php 5.4 and older version.
This Framework is not useful in case of php 5.5 . Because, some mysql extenstions does not support php 5.5 like mysql_connect. php 5.5 only supports mysqli_connect.
So, For installation of phpRoad in php 5.5 we have to follow the following steps
Step 1:
Firstly Download the zip and extract it on your local machine.
Step 2:
Run it on browser and follow the steps (Including creating key from phproad)
Here, you will face a problem during installation and that is about
mysqli_connect
For removing it follow the Step 3
Step 3:
Open this file
Your_application/framework/modules/db/classes/mysql_driver.php
(a). Here edit mysql_connect to mysqli_connect
also add $this->config['database'] in its Db::$connection (Because mysqli takes 4 parameters )
(b). Change all the mysql_ to mysqli_ in this file .
After this retry it on browser.
This time it will be installed successfully.
Thanks
Ashish Ginotra
No comments:
Post a Comment