php from windows easy php to linux apache server

Status
Not open for further replies.

Saharika

In the zone
i have made some pages in windows and tested in easyphp1-8 ...
intregrated with mysql database .....
1) will these codes work on linux ....?
The main problem is
where do i put these files ..which is inside html folder now inside www

where do i put that students database which is inside data folder in mysqlfolder in easyphp folder..now

and those mysql_connect.php files which is in www now....

my all pages use require_once('../"mysql_connect.php")
it is one step above the code files (php files)....

i ran the code in linux (register.php) but it says undefined...function or something
escape.....
those escape function is not recognised....

it is said that mysql , php,apache are running when i see status...in linux....

what ammenment is to be made

i am all confused ....var/....and all...
i have posted it here as all mysql ...php ...linux are open source
any open source expert here....

the path the files has is in that require......mysql_connect.php....
so i can make the code work...
thanks for help
saha
i am confused about where to put files in linux folder so as it will work as it is doing in windows(easyphp1-8)
by the way i am using redhat 9 and the files are made in easyphp1-8 so will it be compatible...?
 

desertwind

Cyborg Agent
Sure, PHP is Platform independant. and MySQL is too.

If ur using APACHE server, put your php files under /var/www, or you can put it anywhere and change the default location in apache config file.

just copying mysql files wont work, i think. export the database from windows, and then import it in linux. phpmyadmin will help you to do this job pretty nice.
 

Deep

Version 2.0
you have to put the files in public_html or www folder (both are same
www is just a shortcut)

database, you need to create sql files first and then import them
using phpmyadmin...

You dont need to make any changes in the code to get it wokring under linux..

Regards
Deep
 
Status
Not open for further replies.
Top Bottom