phpsysinfo / phpsysinfo

phpSysInfo: a customizable PHP script that displays information about your system nicely
http://phpsysinfo.github.io/phpsysinfo
GNU General Public License v2.0
1.38k stars 233 forks source link

Better ios support #357

Closed Baggette closed 1 year ago

Baggette commented 1 year ago

Is your feature request related to a problem? Please describe. Slightly, some data shown is not correct for ios.

Describe the solution you'd like Better ios support, I am using ios-lightpd-php-mysql (from karens repo https://cydia.akemi.ai/webstack ) as a webserver on my jailbroken iphone 5 on ios 8.4.1

Describe alternatives you've considered I was considering doing it myself but I know no php.

Additional context if you would add better ios support that would be nice, if not thanks for listening. image

namiltd commented 1 year ago

Unfortunately, I can't access any iOS devices, let alone jailbroken. So I can't help,

Baggette commented 1 year ago

No problem its alright, if you ever do/can it would be nice. Imma close this issue.

namiltd commented 1 year ago

Try adding the OS="Darwin" line to the [main] group in phpsysinfo.ini

Baggette commented 1 year ago

that actually worked perfectly, it displays the correct info now

Baggette commented 1 year ago

I guess you can say it “supports” ios now

Baggette commented 1 year ago

fyi theoretically this should work on ios 3+ when I get back from my trip, Ill try it on my ipod touch 1 (ios 3.1.3) and my ipad 7 (ios 14.8)

namiltd commented 1 year ago

Please attach the screen. Besides, I would like it to detect the system type itself, without setting the OS parameter. I'll think about that.

Baggette commented 1 year ago

3A05D70A-6543-4A64-80DE-BE9C7CB9E6EB

namiltd commented 1 year ago

Wrong physical memory info.

namiltd commented 1 year ago

Please paste output of commands: vm_stat sysctl hw.memsize sysctl vm.swapusage

Baggette commented 1 year ago

-sh: vm_stat: command not found hw.memsize: 1065000960 vm.swapusage: total = 0.00M used = 0.00M free = 0.00M

namiltd commented 1 year ago

Also please paste output of command: memory_pressure

Baggette commented 1 year ago

sh: memory_pressure: command not found

namiltd commented 1 year ago

Too many unknowns to program it correctly. I would need SSH access to any iPhone, unfortunately I can't find anything like that on the internet.

namiltd commented 1 year ago

Please check again if the current version ( https://codeload.github.com/phpsysinfo/phpsysinfo/zip/refs/heads/main ) is working correctly without OS="Darwin" setting. Please attach the screen if it works properly.