You are not logged in.

#1 2010-06-27 11:41:33

~Fir3fly
Member
Registered: 2010-06-16
Posts: 15

[SOLVED] PHP issues on partitions.

hey everybody.
im having trouble with PHP.
i've got a partition formatted as Fat32 and set that as my documentRoot for apache.
html in the dir works fine, however php files just show a blank white screen.
(same as NTFS)
apparently, it has something to do with mmap() or something, not working on ntfs, but is that the same for fat32? (and is that even the problem?)

anyone else have this issue?
(note: i have a webserver on a windows partition, so i want the same files across both systems)

Last edited by ~Fir3fly (2010-06-28 01:39:29)


AMD athlon 3500+, dual Nvidia 7300GTs, 1Gb Ram

Offline

#2 2010-06-27 11:56:56

dcc24
Member
Registered: 2009-10-31
Posts: 737

Re: [SOLVED] PHP issues on partitions.

I don't have a solution for your problem but I can suggest a cleaner approach. Have a document root in your home and in the ntfs partition. Then set up a cron job that will rsync the files, say in every 5 minutes. This way, you won't have any filesystem related issues and you'll be able to access them from Windows. Sounds good?


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#3 2010-06-27 23:50:30

~Fir3fly
Member
Registered: 2010-06-16
Posts: 15

Re: [SOLVED] PHP issues on partitions.

ah thank you, i only just thought of that myself just after i posted.
thinking i might do that. any links to tutorials or something?
however, what if i edit the files on the ntfs, then later edit the files in arch. is there a way to check the differences/dates/etc?


AMD athlon 3500+, dual Nvidia 7300GTs, 1Gb Ram

Offline

#4 2010-06-28 01:39:00

~Fir3fly
Member
Registered: 2010-06-16
Posts: 15

Re: [SOLVED] PHP issues on partitions.

WOLOLOLO
never mind, i fixed it, it was to do with PHP allowed_dirsr or something. silly me...


AMD athlon 3500+, dual Nvidia 7300GTs, 1Gb Ram

Offline

Board footer

Powered by FluxBB