We had used ImageMagick tool for resizing the images without affecting quality in our BookMarklet project.
We implemented this project successfully in Client's server.
After few Months, client informed me that this tool is not working when they moved the code to another server.
After doing more analysis, I couldn't find any reason other than imageMagic installation in the new Server.
But the client confirmed that ImageMaigic was installed properly in their new server.
When I tried to show echo of "system (convert)", it didn't show any output.
So, I confirmed that the issue is with the ImageMagick usage only.
Here, convert is the executable file name for ImagaMagick tool. And, system is the php method for executing the executable files/system commands.
So, I informed the client about my findings. And, they were able to successfully use the ImageMagic without any issue after turning off the php Safe mode.
It is clear that Safe mode is preventing use of "system" method/function.
Refer this list to know the complete set of functions that are prevented by safe mode.
Php.net article/discussion is clearly saying that SafeMode is not having any use.
So, I am just wondering why some hosting companies are keeping php safe mode turn on by default.
More Articles...
Search This Blog
Blog Archive
-
▼
2009
(257)
-
▼
September
(27)
- Google Sidewiki Comments.
- Google Hot Trends in Search Result itself.
- Go directly to the desired section of the web page...
- Goolge's response to AT&T's letter to FCC on Googl...
- Showing latest blogposts in our website
- Vote for selecting Best Idea that will be sponsore...
- PubSubHubbub protocol for getting the RSS/Atom fee...
- Amazon Hot Deals
- Google sidewiki for making universal commenting fo...
- Setting up aStore provided by Amazon.com
- Combine multiple Blogger RSS Feeds using Yahoo pip...
- Business News
- Google's letter to FCC about Google Voice rejectio...
- News about Google and Google products
- Make Book from your Blogger Blog
- Google acquires reCAPTCHA
- Started new Blog "Start Learning and Show your tal...
- Software Testing News and Articles
- Strange Behaviour of Browser Back button.
- Does "Safe Mode" of PHP really give any benefit?
- FileZilla - Free FTP Client for doing ftp thro' se...
- Handling "headers already sent" Error
- Cache issue in Blogger Blog
- Steps for PHP installation.
- Truncating Feed Item Description without affecting...
- We have started our another Development Center at ...
- Global Tech News
-
▼
September
(27)

AI Course | Bundle Offer | Unlocking AI | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | SQL ebook | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
No comments:
Post a Comment