This guide provides step by step instructions for installing a full featured LAMP stack on OpenWrt.
In this guide, you will be instructed on setting up web server (uHTTPd, Lighttpd or Apache), a database server (MySQL or PostgreSQL) and PHP for the scripting language. If you don't feel that you will need a database server or PHP, please don't feel obligated to install them. Make sure you're logged into your OpenWrt router as the "root" user via SSH before proceeding with these instructions.
Topic: Set up a LAMP stack on OpenWrt
The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
I cannot install mysql-server with openwrt. It just doesn't show up.
I use Backfire 10.03.
I can find a mysql-server package within the snapshot but not as a regular backfire package...
Is a release planned soon?
Yes. As soon as it is done. Backfire 10.03 had some avoidable bugs, you don't want Bugs, do you?
@written: I am thinking about modularizing your HowTo, I hope you don't mind. Anybody else? I am open for suggestions.
@Orca:
You're right. Without bugs sounds good
I don't know anything about the openwrt release frequency. Would the snapshot released in days, weeks or months?
Modularizing the HowTo sounds good!
@written: I am thinking about modularizing your HowTo, I hope you don't mind.
Go ahead. I'm fine with that
Oh so sweet ... Thats EXACTLY what i want ...
Just one problem:
I cant get MySQL running on my WRT160NL ...
Can you help me out?
when I try to install mysql with mysql_install_db --force I get the following error
/usr/bin/mysqld: can't resolve symbol 'pthread_setschedprio'
Can somebody please help me out
This is a very usefull howto, but every link is died...i mean the link to apache howto, mysql howto, everything....
All knowledge that somebody was willing to provide, to write the wiki-article and put it under the CC BY-NC-SA 3.0 license, is in the article.
And the article, is more or less, COMPLETE. Of course, more content could be added.
Also, there is a plan, my plan, to split this article into the linked - not yet existing - articles and put most of the content (and maybe much more) into them.
WHAT DO YOU NOT UNDERSTAND?
I understand everything, but i would like to know more about the mysql working on openwrt, because this:
root@Kockalak-RSRV:/# mysql_install_db --force
Aborted
FATAL ERROR: Could not find /usr/lib/mysqld
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
I think the problem is caused by rootfs.
Can you help me to solve this?
Would be simplexml feature added to the php package? It's needed by (for example) fusionpbx...
I did not add anything to any package, i followed the howto, at mysql part, i stucked.
The discussion might have continued from here.