Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,160,445 members, 7,843,367 topics. Date: Wednesday, 29 May 2024 at 12:15 AM

My PHP Code Run Locally On XAMPP But Showing Syntax Error Online - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / My PHP Code Run Locally On XAMPP But Showing Syntax Error Online (410 Views)

Help Python Syntax Error! / Xampp Server User Please Come In And Assist / How Many Lines Of Code Run Nairaland? (2) (3) (4)

(1) (Reply) (Go Down)

My PHP Code Run Locally On XAMPP But Showing Syntax Error Online by Akprof(m): 2:51pm On Jan 29, 2021
What can be making my php code to be running online but showing syntax error online?
Re: My PHP Code Run Locally On XAMPP But Showing Syntax Error Online by Csami(m): 3:21pm On Jan 29, 2021
Put up a picture of the error

1 Like

Re: My PHP Code Run Locally On XAMPP But Showing Syntax Error Online by talk2hb1(m): 5:20pm On Jan 29, 2021
Akprof:
What can be making my php code to be running online but showing syntax error online?
A screenshot of the error to get started with

1 Like

Re: My PHP Code Run Locally On XAMPP But Showing Syntax Error Online by etoluw: 5:46pm On Jan 29, 2021
Akprof:
What can be making my php code to be running online but showing syntax error online?

The php version you are using locally is probably different from the one on the server

2 Likes

Re: My PHP Code Run Locally On XAMPP But Showing Syntax Error Online by Anonime1105(m): 5:55pm On Jan 29, 2021
1. Make sure the php version for both camp and online are the same.

2. Check ur php .ini file

1 Like

Re: My PHP Code Run Locally On XAMPP But Showing Syntax Error Online by naijasensei: 10:18am On Jan 31, 2021
Akprof:
What can be making my php code to be running online but showing syntax error online?

Please try uploading a screenshot of said syntax errors. These sort of issues can arise for so many different reasons. One such reason, as some have kindly pointed out, could be due to differences between your local XAMPP environment and the environment of your online server.

1 Like

Re: My PHP Code Run Locally On XAMPP But Showing Syntax Error Online by goouser: 12:01pm On Jan 31, 2021
Let's see a screenshot of the errors

(1) (Reply)

How To Change MP4 To OGG Online / What' you see? / Can you please suggest some Php projects for a final year student.

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.