Hi,

I am new to PHP.

I have installed apache, PHP 5.2 and MySql.

Plz tell me How I run PHP programs??

Thanks & Regards,
Revathi

Make sure they are in your http doc root folder, and then load them into your browser.
Example:
http://localhost/first.php

Ya, it's in C:\Program Files\Apache Group\Apache2\htdocs.

if i run this URL http://localhost/test1.php,

the output was the program wat i typed.

Thanks Jamshit

In wampserver, i got the error for database

phpMyAdmin - Error

Cannot load mysqli extension. Please check your PHP configuration. - Documentation.

pls help me.

In wampserver, i got the error for database

phpMyAdmin - Error

Cannot load mysqli extension. Please check your PHP configuration. - Documentation.

pls help me.

In wapserver, phpmyadmin is working.

Thanks for spending time for me

Hi,

already, we have uploaded one website using javascript,JSP.

Now i want to change it to PHP.

Is it possible? If possible how to do??

Revathi S

hi

go to php configuration
and check for ;extension = php_mysqli.dll.
Remove ; and save the php configuration file.
then restart the apache server.

regards
nickyspace

Hi,
Thanks .
I want to change my site in JSP to PHP .
Is it possible????

You have to re-write your code. Or, you can search the internet for a software (if there is any) to convert jsp application to php.

Hi revathi,

1.U just create a php program in a text editor like notepad.
2.Save ur program in htdocs folder in apache2.2 with the extension '.php'.
3. For example if ur file name is ex.php, then type as "http://localhost/ex.php" in the address bar of your browser and press enter. u will find the output there!

Thanks
:)

Thanks Jamshit

You are welcome.

I want to run php basic programe . how can i do it ?

I m new in php.. I jst want to know hw to run program.. i hav installed XAMPP bt i dont knw wat to do further..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.