A
A
admedia2015-08-28 10:07:08
PHP
admedia, 2015-08-28 10:07:08

Large images are not loading. What could be the problem?

Good afternoon.
Recently asked a question. Helped a lot. Pleased with such a reaction. Need more help and advice.
I have a site www.somon.tj, which I transferred to VPS. Debt struggled with the settings, but it seemed to work a little faster than on shared hosting. VPS 6 cores, 6 gigs of RAM. But there was one problem. Now, when you add an ad here www.somon.tj/q/show_edit_adv/fa/-1/, when you start uploading an image, photos larger than 1 mb simply won't load. Not loading. Hangs.
There was no such problem with shared hosting. Most likely problems with the VPS are either in the settings or in the channel, but I can’t understand the reason. Help me please. Give advice.
Tried 1 Mbps channel, tried 3g with 3-4 Mbps.
PS The most interesting thing was that there was another VPS on which there was another site. The problem was the same. Moved back to shared, everything was fine.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
kompi, 2015-08-28
@kompi

Most likely a limitation in the php settings. By default, there are small values ​​​​for upload and post.

M
Mr Crabbz, 2015-08-28
@Punkie

I had an absolutely identical problem. A site on WordPress, a freshly bought VPS - and on uploading more than 300 kilobytes of photos there was either an HTTP Error or 500 - ISE.
I wrote to the hoster - they fixed it like this:
"Alexander (Tech.Pod): We raised one of the fastcgi limits - MaxRequestLen".
Everything worked.

G
Gluck Virtualen, 2015-08-28
@gluck59

Dig into the php.ini settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question