简体   繁体   English

iPhone / ipad php端口的php扩展

[英]php extensions for iphone/ipad php port

i'm installing my web service in my iPad through lighttpd/php from cydia but it seems that php comes without extensions. 我正在通过cydia的lighttpd / php在iPad中安装Web服务,但是php似乎没有扩展名。

To get my webserice working locally I need "php_mbstring" extensions. 为了使我的webserice在本地工作,我需要“ php_mbstring”扩展名。

Is there any site to download php extensions compatible with this version of php (5.2.8) in ios darwin? 在ios darwin中,有没有网站可以下载与此版本的php(5.2.8)兼容的php扩展?

If you would like use a already built PHP 5.4.x Cydia package with following extensions: 如果您想使用具有以下扩展名的已构建PHP 5.4.x Cydia软件包:
fast-cgi, pdo_mysql, mysql, mysqli, mysqlnd, pdo_sqlite, sqlite3, gd (gif, png, bmp, xbm, tiff, jpeg and FreeType2), mbstring, exif, dom, xml2, xmlreader, xmlwriter, xslt, json, pcre, phar, calendar, reflection, session, zlib, zip, bz2, mcrypt, openssl and soap, 快速CGI,pdo_mysql,mysql,mysqli,mysqlnd,pdo_sqlite,sqlite3,gd(gif,png,bmp,xbm,tiff,jpeg和FreeType2),mbstring,exif,dom,xml2,xmlreader,xmlwriter,xslt,json,pcre ,phar,日历,反射,会话,zlib,zip,bz2,mcrypt,openssl和soap,
please have a look at: 请看一下:
http://code.google.com/p/cydia-ios-lighttpd-php-mysql-web-stack/wiki/PHP and/or http://iOS-WebStack.tk http://code.google.com/p/cydia-ios-lighttpd-php-mysql-web-stack/wiki/PHP和/或http://iOS-WebStack.tk

If you would like compile your own iOS PHP 5.4.x, please have a look at: 如果您想编译自己的iOS PHP 5.4.x,请查看:
http://code.google.com/p/cydia-ios-lighttpd-php-mysql-web-stack/wiki/Main http://code.google.com/p/cydia-ios-lighttpd-php-mysql-web-stack/wiki/Main

There you will find a description to install/create an iOS SDK 3.0 Linux Cross Compiling System. 在那里,您会找到有关安装/创建iOS SDK 3.0 Linux交叉编译系统的说明。

You'll need to compile PHP with the extensions for the ARM processor. 您将需要使用ARM处理器的扩展来编译PHP。 Rather than installing the dev tools on the iPad, I'd cross compile from your normal box as it will be quicker. 与其在iPad上安装开发工具,不如从您的普通包装箱中交叉编译,因为这样会更快。 I'd be surprised if you could find PHP with them as a binary, as most servers don't run on ARM. 如果您能将PHP与它们作为二进制文件一起找到,我会感到很惊讶,因为大多数服务器都不在ARM上运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM