+ 6

My php language doesn't run on my web browser. Please can someone help me . I've got the XAMPP installed on my PC

Php problems

21st Apr 2017, 7:18 AM
moses
moses - avatar
3 Antworten
+ 19
After installing the XAMPP, make sure its configured to run a local server on your pc, by clicking on the "start" button near the Apache, After that, follow the instructionsseamiki gave, and u will be good to go!
21st Apr 2017, 8:08 AM
Ghaffaru Mudashiru
Ghaffaru Mudashiru - avatar
+ 8
Create a file and name it "test.php" Open the file with notepad and put the following content in the file: <?php echo phpinfo(); ?> Save the edited file in your htdocs folder within xampp directory. Run the server from the Xampp cPanel and go to http://localhost/test.php you should get all info regarding the current status of php on your server. if so, everything is fine with php the problem lies within your script and you have to debug it. Use try/catch to isolate blocks of code or echo debugging infos.
21st Apr 2017, 7:54 AM
seamiki
seamiki - avatar
+ 4
oooh thank goodness... after a while now, it has clicked... thanks seamiki and abdul
21st Apr 2017, 9:46 AM
moses
moses - avatar