如何在iPhone上安装(L|M)AMP ?

时间:2022-10-13 17:01:47

I have a jailbroken iPhone 4 running iOS 4.3.3 upon which I want to run Apache, MySQL, and PHP. All of the information I've found is hopelessly out of date.

我有一个运行iOS 4.3.3的越狱iPhone 4,我想在上面运行Apache、MySQL和PHP。我发现的所有信息都过时了。

Are there packages I can install through Cydia or apt-get for this?

我可以通过Cydia或apt-get来安装这些包吗?

Any prodding in the right direction is much appreciated!

任何在正确的方向上的督促都是非常感激的!

2 个解决方案

#1


2  

It seems there are people who tried this - http://www.ipadforums.net/ipad-hacking/24007-running-php-server-ipad.html and http://claytond.com/2007/11/07/an-iphone-powered-apache-web-server-with-php/

似乎有人尝试过这种方法——http://www.ipadforums.net/ipad-hacking/24007-running-php-server-ipad.html和http://claytond.com/2007/11/07/an-iphone-powered- apacheweb -server-with-php/

But I don't see mysql, also read comments some reported that preg_match wasn't working. Could be handy, but you gotta run all your tests before unleashing the power :)

但是我没有看到mysql,也有一些评论说preg_match没有工作。这可能很方便,但是在打开电源之前,您必须运行所有的测试:)

#2


0  

Here is Cydia solution: lighttpd/php/mysql web stack.

这是Cydia解决方案:lighttpd/php/mysql web堆栈。

#1


2  

It seems there are people who tried this - http://www.ipadforums.net/ipad-hacking/24007-running-php-server-ipad.html and http://claytond.com/2007/11/07/an-iphone-powered-apache-web-server-with-php/

似乎有人尝试过这种方法——http://www.ipadforums.net/ipad-hacking/24007-running-php-server-ipad.html和http://claytond.com/2007/11/07/an-iphone-powered- apacheweb -server-with-php/

But I don't see mysql, also read comments some reported that preg_match wasn't working. Could be handy, but you gotta run all your tests before unleashing the power :)

但是我没有看到mysql,也有一些评论说preg_match没有工作。这可能很方便,但是在打开电源之前,您必须运行所有的测试:)

#2


0  

Here is Cydia solution: lighttpd/php/mysql web stack.

这是Cydia解决方案:lighttpd/php/mysql web堆栈。