Thank you, thank you, thank you!
Based on your advice, and the nifty clues about looking at php.ini, I first consulted my PHP Bible (pp. 599-603). There, it points out that the function set_time_limit won't work in safe mode. Don't know if that's of any real concern, because I have save_mode =...
Yup! -- that's exactly what my php.ini shows. So would this work, you think?...
max_execution_time = 120
memory_limit = 32M
btw -- thanks very very much. Robert
Maybe, but don't think so. My /tmp is a symlink to /usr/tmp, and there's actually plenty of space. Do you think checking php.ini would be helpful? Thanks for your kind response. Robert
I'm getting something similar, but can't figure out why. There are no large file sizes, and I don't know whether to suspect server RAM, bandwidth, or what. This is the kind of message I receive periodically:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520...
To my knowledge, no one said you are a liar. I included the exact lines from my own httpd.conf. It works on my server. If yours is different, great.
Please ... just address the question I asked in the first place. Thank You.
Wully: To my knowledge, no one's calling you a liar. I included the lines from my own httpd.conf, and they work, on my server. Period. If yours is different, great.
Please...just address the question I asked in the first place.
Instead of asking 'why would I want this', the better question would be "why limit php?". But since you ask, search engine spiders won't index php files. The site I'm developing is an e-commerce site, and indexing of the pages is important.
As for a possible typo, I don't think so...
The web host I'm working with has php/mysql, but currently the php module only parses php. I asked them to extend this in httpd.conf:
AddType application/x-httpd php .php .html .htm .shtml
AddType application/x-httpd-php-source .phps
They tell me that when they do this, html will not display...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.