Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 26-09-2005, 07:28 PM   #1 (permalink)
In The Zone
 
Join Date: Oct 2004
Posts: 437
Default php from windows easy php to linux apache server

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...?
__________________
be who u r :
Saharika is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 26-09-2005, 08:33 PM   #2 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

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.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 27-09-2005, 12:45 AM   #3 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

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
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 01:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2