473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

php website on localhost using wamp but not working on liveserver

I created a website using php and html
It works well with the latest WAMP on localhost
when i upload it to the webserver the html file only work

i then signed up another webserver and uploaded the same files and it works there well.

my current webserver tells me they support PHP and works well for them and there is nothing wrong on their side.

what am i doing wrong

please help
thank you
Apr 11 '11 #1
3 1991
Dormilich
8,658 Expert Mod 8TB
given that much information, all I can advise is to figure out the differences between those servers and check whether your code relies on features not found on the web server (as a simple example, namespacing only works with PHP 5.3)
Apr 12 '11 #2
Thanks
I spoke to the isp and found that the cgi directory was somehow deleted. I guess one has to be careful because the cgi directory can be seen when you ftp and changing the files on the directory can have some adverse affects as i have seen..

Good to know. thank you for your help
One thing though is what do you mean by namespacing is not handled by PHP 5+
Apr 12 '11 #3
Dormilich
8,658 Expert Mod 8TB
One thing though is what do you mean by namespacing is not handled by PHP 5+
see PHP Namespaces.
Apr 12 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ike_strong | last post by:
Can anyone help me to figure out why each time I try to access my database using: c:\mysql\bin\inmysql -root -p and afterwards:(i.e. after inputting my at the password prompt) Enter...
7
by: rajbala.3399 | last post by:
Hi , I want to download sql in my linux system........... # rpm -ivh MySQL-server-5.0.24a-0.glibc23.i386.rpm MySQL-cl ient-5.0.24a-0.glibc23.i386.rpm Preparing... ...
1
usafshah
by: usafshah | last post by:
Hi I'm using linux with mysql , when i type mysql in terminal it says like: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) i'm logged in as root but...
3
by: jonathan184 | last post by:
Using WAMP - I cannot connect to Oracle. I enabled the oci and oracle extension. and running php runs fine but when trying to do a connection to oracle i get this error. Fatal error: Call to...
8
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive...
3
by: SIRIkusuma | last post by:
Hi, I have a problem using php installed using wamp. Code: <?php echo"Hello!"; ?>
4
by: pearl15 | last post by:
Hello All I have successfully installed the following IIS ver 6 php ver 4.4.9 MYSQL ver 5.0.67 when i tested through command line i get no error and i am view the php pages on the browser...
1
by: pearl15 | last post by:
Hello All I have successfully installed the following IIS ver 6 php ver 4.4.9 MYSQL ver 5.0.67 when i tested through command line i get no error and i am view the php pages on the browser...
7
by: kkshansid | last post by:
i hav downloaded php script from a site but while running it gives error Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\forum\db.class.inc.php on line 29 i use this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.