hi, i am new for php I want to know where to create & how
to run phpscript programme in LAMP?

Answer Posted / kalpesh thakkar

hey its simple if u are using LAMP there is one directory
htdocs in which directory u place yr code or php script &
can run with
URL : "http://localhost/yrscript.php" OR
"http://localhost/yrdirectory".
but be sure that yr directory has permission of read & write.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which function is used to read a single character from a file in PHP.

559


Why do you need php?

521


How to create a public static method in PHP?

553


How is it possible to remove escape characters from a string?

570


Explain about PHP filter and why it should be used?

555






What is json php?

529


What is the difference between indexed and associative array?

500


What is composer install?

595


What is the correct syntax of mail() function in php?

566


How to get complete current page url in php?

555


What is the use of session and cookies in php?

525


What is serialization in php?

461


Is empty function c++?

518


What does type casting mean in php? Explain with an example?

539


Can we extend multiple classes in php?

538