Community
cancel
Showing results for 
Search instead for 
Did you mean: 
akuma85
New Contributor I
977 Views

Web app using Php and apache

Jump to solution

I installed apache and php. I am able to run apache server and it works. how to check whether php works or not? I am not able to view php page in device accessing the page via wifi. How to proceed. Kindly help. Thanks in advance.

0 Kudos
1 Solution
akuma85
New Contributor I
90 Views

So what issue I faced is I installed apache2 and php. And I tried to run php scripts. It doesn't worked. Later I found that to run php files with apache2, you need to install modphp - a php module designed to work with apache2.

What I did:

opkg update

opkg install apache2 modphp

Now php is working in browser. No need to build php from source if this worked.

Hope this will be helpful.

Thanks.

View solution in original post

6 Replies
idata
Community Manager
90 Views

Hi Arunkumark,

 

 

Thank you for contacting us.

 

 

I found this guide that can be helpful for you: http://www.scriptingok.com/tutorial/Test-if-PHP-works, it is a short guide to test PHP.

 

 

Let us know if it works.

 

 

Have a nice weekend.

 

 

Regards,

 

Leonardo R.
akuma85
New Contributor I
90 Views

Hello Sir,

Thanks for the support. I tried this one. But it doesn't worked. I can open html files but i can't open php files. I think there might be some error in php installation. Is there any guide for php installation into edison. Or any other way to come up. Thanks again!!

idata
Community Manager
90 Views

Hi Arunkumark,

 

 

I found this thread: https://communities.intel.com/thread/109273 https://communities.intel.com/thread/109273, there is a guide to build PHP from source. It looks that there are some features that are not included in the standard build of PHP.

 

 

I hope you find this helpful.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
akuma85
New Contributor I
91 Views

So what issue I faced is I installed apache2 and php. And I tried to run php scripts. It doesn't worked. Later I found that to run php files with apache2, you need to install modphp - a php module designed to work with apache2.

What I did:

opkg update

opkg install apache2 modphp

Now php is working in browser. No need to build php from source if this worked.

Hope this will be helpful.

Thanks.

View solution in original post

idata
Community Manager
90 Views

Hi Arunkumark,

 

 

Thank you so much for letting us know.

 

 

This post will be helpful for the community. Thanks again.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
idata
Community Manager
90 Views

Hello ArunKumar,

Could you please share some more information on your resolution like below

1) Why you were running php on edison?

2) Which programming language you used?

3) Were you successful with the data transfer now?

Reply